mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 09:39:38 +08:00
细节
This commit is contained in:
parent
b267089461
commit
41b9c96eae
@ -38,9 +38,11 @@ Page({
|
||||
*/
|
||||
onLoad(options) {
|
||||
// 页面初始化 options为页面跳转所带来的参数
|
||||
wx.setNavigationBarTitle({
|
||||
title: options.name
|
||||
})
|
||||
if (options.name) {
|
||||
wx.setNavigationBarTitle({
|
||||
title: options.name
|
||||
})
|
||||
}
|
||||
|
||||
// 初始化数据
|
||||
this.initData();
|
||||
@ -199,14 +201,14 @@ Page({
|
||||
meetingRoomListRq(param).then(res => {
|
||||
console.log('meetingRoomListRq', res);
|
||||
_this.setData({
|
||||
roomDataList : res.rows
|
||||
roomDataList: res.rows
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
// 会议室
|
||||
jumpMeetingRoom(e) {
|
||||
console.log('jumpMeetingRoom' , e);
|
||||
console.log('jumpMeetingRoom', e);
|
||||
wx.navigateTo({
|
||||
url: "/pages/meeting/meetingRoom/meetingRoom?id=" + e.currentTarget.dataset.id,
|
||||
})
|
||||
|
@ -1,4 +1,5 @@
|
||||
{
|
||||
"navigationBarTitleText": "会议预约",
|
||||
"usingComponents": {
|
||||
"van-dropdown-menu": "@vant/weapp/dropdown-menu/index",
|
||||
"van-dropdown-item": "@vant/weapp/dropdown-item/index",
|
||||
|
Loading…
x
Reference in New Issue
Block a user