Files
income_payments_applet/pages/standardRouter/standardRouter.js
T
2021-12-15 17:49:32 +08:00

108 lines
1.8 KiB
JavaScript

// pages/standardRouter/standardRouter.js
Page({
/**
* 页面的初始数据
*/
data: {
pageRputers: [
{
path: "../standardBasicInfo/standardBasicInfo",
imgPath:'../../assets/images/basic-info.png',
val: "1",
name: "基本信息"
},
{
path: "../meeting/meeting?type=", // type 是会议类型
imgPath:'../../assets/images/notice.png',
val: "2",
name: "标准宣贯"
},
{
path: "../meeting/meeting?type=",
imgPath:'../../assets/images/train.png',
val: "3",
name: "培训会"
},
{
path: "../meeting/meeting?type=",
imgPath:'../../assets/images/info.png',
val: "4",
name: "信息交流会"
},
{
path: "../council/council",
imgPath:'../../assets/images/lishi.png',
val: "5",
name: "理事会"
},
]
},
/**
* @description 跳转
* @param {*} e
*/
clickSelect(e){
let item = e.currentTarget.dataset.item
wx.navigateTo({
url: item.path,
})
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})