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