48 lines
778 B
JavaScript
48 lines
778 B
JavaScript
// pages/infoquery/index.js
|
|
Page({
|
|
|
|
/**
|
|
* 页面的初始数据
|
|
*/
|
|
data: {
|
|
current: 'tab1',
|
|
operationalservices:[
|
|
{
|
|
src: '../../images/syxsqy.png',
|
|
title: '基本信息',
|
|
path: '/pages/baseinfo/index'
|
|
},
|
|
{
|
|
src: '../../images/wodehetong.png',
|
|
title: '地块图斑',
|
|
path: '/pages/outmap/index'
|
|
}
|
|
],
|
|
},
|
|
|
|
/**
|
|
* 生命周期函数--监听页面加载
|
|
*/
|
|
onLoad(options) {
|
|
|
|
},
|
|
|
|
/**
|
|
* 生命周期函数--监听页面初次渲染完成
|
|
*/
|
|
onReady() {
|
|
|
|
},
|
|
handleChange ({ detail }) {
|
|
this.setData({
|
|
current: detail.key
|
|
});
|
|
},
|
|
|
|
gopage: function (e) {
|
|
let url = e.currentTarget.dataset.url
|
|
wx.navigateTo({
|
|
url: url,
|
|
})
|
|
}
|
|
}) |