//index.js
//获取应用实例
var app = getApp()
Page({
data: {
motto: 'Hello World',
userInfo: {},
imgUrls: [
'../../images/banner.png',
'../../images/base_banner_1.png',
'../../images/banner.png'
],
indicatorDots: true,
autoplay: true,
interval: 2000,
duration: 2000,
routers: [
{
id:'1',
name: '项目2',
url: '../navigation/navigation',
icon: '../../images/btn_classic_0.png'
},
{
id: 'two',
name: '项目3',
url: '../navigation/navigation',
icon: '../../images/btn_classic_0.png'
},
{
id: 'one',
name: '项目三',
url: '../navigation/navigation',
icon: '../../images/btn_classic_0.png'
},
{
id: 'one',
name: '项目四',
url: '../navigation/navigation',
icon: '../../images/btn_classic_0.png'
},
{
id: 'one',
name: '项目五',
url: '../navigation/navigation',
icon: '../../images/btn_classic_0.png'
},
{
id: 'one',
name: '项目六',
url: '../navigation/navigation',
icon: '../../images/btn_classic_0.png'
},
{
id: 'one',
name: '项目七',
url: '../navigation/navigation',
icon: '../../images/btn_classic_0.png'
},
{
id: 'one',
name: '项目八',
url: '../navigation/navigation',
icon: '../../images/btn_classic_0.png'
},
{
id: 'one',
name: '项目九',
url: '../navigation/navigation',
icon: '../../images/btn_classic_0.png '
}
]
},
coop: function (e) {
wx.navigateTo({
url: '../pages/goods/goods'
})
},
go_navigation:function(e){
},
onLoad: function () {
var that = this
wx.request({
url: 'https://huang.zgsj1.com/zhanshi/introduce/getPageList.do',
data: {},
success: function (list) {
var wenzi=(list.data.data.rows[0].depict)
console.log(wenzi)
}
})
},
})
添加回答
举报
0/150
提交
取消