mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 21:19:37 +08:00
1
This commit is contained in:
parent
eee3ea82de
commit
322b808fae
@ -108,16 +108,16 @@ Page({
|
||||
path: "/pages/parkRepair/parkRepair"
|
||||
},
|
||||
*/
|
||||
// {
|
||||
// name: "会议预约",
|
||||
// img: "/profile/static/index/menu-hyyy.png",
|
||||
// path: "/pages/meeting/meetingReservation/meetingReservation"
|
||||
// },
|
||||
{
|
||||
name: "随手拍",
|
||||
img: "/profile/static/index/menu-bxfw.png",
|
||||
path: "/pages/reportRepair/index/index"
|
||||
},
|
||||
{
|
||||
name: "会议预约",
|
||||
img: "/profile/static/index/menu-hyyy.png",
|
||||
// path: "/pages/meeting/meetingReservation/meetingReservation"
|
||||
},
|
||||
// {
|
||||
// name: "展厅预约",
|
||||
// img: "/profile/static/index/menu-ztyy.png",
|
||||
@ -171,7 +171,6 @@ Page({
|
||||
parkName: app.parkName,
|
||||
qrcodeParam: null,
|
||||
infoList: [],
|
||||
|
||||
},
|
||||
|
||||
onLoad(options) {
|
||||
@ -246,7 +245,7 @@ Page({
|
||||
})
|
||||
} else {
|
||||
wx.showModal({
|
||||
content: '模块暂未开放,敬请期待',
|
||||
content: `"${e.currentTarget.dataset.name}"暂未开放`,
|
||||
showCancel: false,
|
||||
})
|
||||
}
|
||||
|
@ -3,6 +3,7 @@
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"van-notify": "@vant/weapp/notify/index",
|
||||
"van-icon": "@vant/weapp/icon/index"
|
||||
"van-icon": "@vant/weapp/icon/index",
|
||||
"van-divider": "@vant/weapp/divider/index"
|
||||
}
|
||||
}
|
@ -30,6 +30,10 @@
|
||||
<view class="title">消息通知</view>
|
||||
<view class="more" bind:tap="jumpInfo">更多</view>
|
||||
</view>
|
||||
|
||||
<view class="loadAllLine" wx:if="{{!infoList || infoList.length == 0}}">
|
||||
<van-divider class="van-divider" customStyle="font-size: 26rpx; background:none;" contentPosition="center">暂无消息</van-divider>
|
||||
</view>
|
||||
<view class="infoView">
|
||||
<view class="itemView" wx:for="{{infoList}}" wx:for-item="item" wx:key="*this" data-obj="{{item}}" bind:tap="jumpInfoDetail">
|
||||
<view class="contentView ellipsisFont">
|
||||
@ -37,7 +41,6 @@
|
||||
<view class="msg ellipsisFont">{{item.content}}</view>
|
||||
<view class="time">{{item.createTime}}</view>
|
||||
</view>
|
||||
<!-- <van-icon class="arrow" name="arrow" color="#c3c3c3" size="40rpx"/> -->
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
@ -281,4 +281,9 @@
|
||||
.menuTitle {
|
||||
font-size: 24rpx;
|
||||
color: #646466;
|
||||
}
|
||||
|
||||
|
||||
.loadAllLine {
|
||||
margin-top: 80rpx;
|
||||
}
|
@ -108,6 +108,22 @@ Page({
|
||||
}
|
||||
},
|
||||
|
||||
// 切换tabbar
|
||||
switchTab(e) {
|
||||
const data = e.currentTarget.dataset
|
||||
console.log('switchTab', data)
|
||||
const url = data.path
|
||||
if (url == '/pages/reportRepair/report/report') {
|
||||
wx.navigateTo({
|
||||
url
|
||||
})
|
||||
} else {
|
||||
wx.switchTab({
|
||||
url
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
// 获取数据
|
||||
getDataList(transferTabTitle) {
|
||||
// 获取参数
|
||||
|
@ -92,6 +92,22 @@ Page({
|
||||
let userId = _this.data.userData.id
|
||||
},
|
||||
|
||||
// 切换tabbar
|
||||
switchTab(e) {
|
||||
const data = e.currentTarget.dataset
|
||||
console.log('switchTab', data)
|
||||
const url = data.path
|
||||
if (url == '/pages/reportRepair/report/report') {
|
||||
wx.navigateTo({
|
||||
url
|
||||
})
|
||||
} else {
|
||||
wx.switchTab({
|
||||
url
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
// tab 点击切换
|
||||
tabClickSwitch(event) {
|
||||
console.log('tabClickSwitch', event);
|
||||
|
@ -82,6 +82,22 @@ Page({
|
||||
let _this = this;
|
||||
},
|
||||
|
||||
// 切换tabbar
|
||||
switchTab(e) {
|
||||
const data = e.currentTarget.dataset
|
||||
console.log('switchTab', data)
|
||||
const url = data.path
|
||||
if (url == '/pages/reportRepair/report/report') {
|
||||
wx.navigateTo({
|
||||
url
|
||||
})
|
||||
} else {
|
||||
wx.switchTab({
|
||||
url
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
back() {
|
||||
wx.navigateBack()
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user