From ecbdab9da9488cc58a1ac7064f9cffde4792fba4 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期五, 28 六月 2024 09:51:01 +0800
Subject: [PATCH] 代码初始化
---
h5/pages/staff/meetingCalendar.vue | 36 +++++++++++++++++++++++++++---------
1 files changed, 27 insertions(+), 9 deletions(-)
diff --git a/h5/pages/staff/meetingCalendar.vue b/h5/pages/staff/meetingCalendar.vue
index 346a6b3..1a6b653 100644
--- a/h5/pages/staff/meetingCalendar.vue
+++ b/h5/pages/staff/meetingCalendar.vue
@@ -93,6 +93,14 @@
<view class="value">{{ item.remark || item.meetingRemark }}</view>
</view>
</view>
+ <view v-if="myMeetingList.length === 0" style="text-align: center">
+ <image
+ src="@/static/empty.png"
+ style="width: 320rpx; margin: 60rpx auto 0"
+ mode="widthFix"
+ />
+ <view class="placeholder9 fs24">鏆傛棤鏁版嵁</view>
+ </view>
</view>
</view>
</template>
@@ -140,6 +148,14 @@
<view class="label">澶囨敞锛�</view>
<view class="value">{{ item.remark || item.meetingRemark }}</view>
</view>
+ </view>
+ <view v-if="recordList.length === 0" style="text-align: center">
+ <image
+ src="@/static/empty.png"
+ style="width: 320rpx; margin: 120rpx auto 0"
+ mode="widthFix"
+ />
+ <view class="placeholder9 fs24">鏆傛棤鏁版嵁</view>
</view>
</view>
</view>
@@ -211,9 +227,9 @@
this.initData()
this.getRoomList()
},
- onShow() {
- this.tabClick('0')
- },
+ onShow() {
+ this.tabClick('0')
+ },
onReachBottom() {
const { activeTab } = this
if (activeTab == '0') {
@@ -234,21 +250,22 @@
return {
time: j.monthDate,
pointText: j.meetingNum,
- pointTextColor: 'red'
+ pointTextColor: '#fff'
}
})
})
},
- getRoomList() {
+ getRoomList() {
roomsListPost({}).then(res => {
this.meetingList = [[{ id: '', name: '鍏ㄩ儴浼氳瀹�' }, ...res.data]]
- console.log('meetingList', this.meetingList);
+ console.log('meetingList', this.meetingList)
})
},
tabClick(val) {
this.activeTab = val
if (val === '1') {
this.recordPage = 1
+ this.recordList = []
this.getRecordList()
} else {
this.myMeetingList = []
@@ -261,9 +278,10 @@
}
},
seletedStatus(e) {
- this.myMeetingList = []
+ this.myMeetingList = []
this.activeRoom = { ...e.value[0] }
this.isShowStatus = false
+ this.myPage = 1
this.getDayMeeting()
},
handleDetail(id) {
@@ -332,7 +350,7 @@
page: myPage,
capacity: 10
}).then(res => {
- this.myMeetingList = [ ...this.myMeetingList, ...res.data.records ]
+ this.myMeetingList = [...this.myMeetingList, ...res.data.records]
})
},
}
@@ -382,7 +400,7 @@
}
}
.active {
- font-weight: 500;
+ font-weight: 600;
font-size: 30rpx;
color: #222222;
.line {
--
Gitblit v1.9.3