diff --git a/pages/coach/class/info.vue b/pages/coach/class/info.vue index 5b4bdb8..b98df59 100644 --- a/pages/coach/class/info.vue +++ b/pages/coach/class/info.vue @@ -276,7 +276,7 @@ export default { } //判断是否还有数据 - if (this.filteredData.page * this.filteredData.limit > this.filteredData.total || this.filteredData.limit > this.filteredData.total) { + if ((this.filteredData.page - 1) * this.filteredData.limit >= this.filteredData.total) { this.loading = false uni.showToast({ title: '暂无更多', diff --git a/pages/coach/class/list.vue b/pages/coach/class/list.vue index 2a5a6fb..bad9243 100644 --- a/pages/coach/class/list.vue +++ b/pages/coach/class/list.vue @@ -116,7 +116,7 @@ export default { console.log(111,(this.filteredData.page * this.filteredData.limit) ,(this.filteredData.total)) //判断是否还有数据 - if(this.filteredData.page * this.filteredData.limit > this.filteredData.total){ + if ((this.filteredData.page - 1) * this.filteredData.limit >= this.filteredData.total) { this.loading = false uni.showToast({ title: '暂无更多', diff --git a/pages/coach/course/list.vue b/pages/coach/course/list.vue index 4c61483..9e76d06 100644 --- a/pages/coach/course/list.vue +++ b/pages/coach/course/list.vue @@ -328,7 +328,7 @@ export default { let data = {...this.filteredData} //判断是否还有数据 - if (this.filteredData.page * this.filteredData.limit > this.filteredData.total || this.filteredData.limit > this.filteredData.total) { + if ((this.filteredData.page - 1) * this.filteredData.limit >= this.filteredData.total) { this.loading = false uni.showToast({ title: '暂无更多', diff --git a/pages/coach/job/list.vue b/pages/coach/job/list.vue index dfd5d73..8f31169 100644 --- a/pages/coach/job/list.vue +++ b/pages/coach/job/list.vue @@ -96,7 +96,7 @@ export default { let data = {...this.filteredData} //判断是否还有数据 - if(this.filteredData.page * this.filteredData.limit > this.filteredData.total){ + if ((this.filteredData.page - 1) * this.filteredData.limit >= this.filteredData.total) { this.loading = false uni.showToast({ title: '暂无更多', diff --git a/pages/coach/my/arrival_statistics.vue b/pages/coach/my/arrival_statistics.vue index a582a8c..9c903f1 100644 --- a/pages/coach/my/arrival_statistics.vue +++ b/pages/coach/my/arrival_statistics.vue @@ -114,7 +114,7 @@ export default { } //判断是否还有数据 - if (this.filteredData.page * this.filteredData.limit > this.filteredData.total || this.filteredData.limit > this.filteredData.total) { + if ((this.filteredData.page - 1) * this.filteredData.limit >= this.filteredData.total) { this.loading = false uni.showToast({ title: '暂无更多', diff --git a/pages/coach/my/my_attendance.vue b/pages/coach/my/my_attendance.vue index 84511c4..b892593 100644 --- a/pages/coach/my/my_attendance.vue +++ b/pages/coach/my/my_attendance.vue @@ -355,7 +355,7 @@ export default { let data = {...this.filteredData} //判断是否还有数据 - if(this.filteredData.page * this.filteredData.limit > this.filteredData.total){ + if ((this.filteredData.page - 1) * this.filteredData.limit >= this.filteredData.total) { this.loading = false uni.showToast({ title: '暂无更多', diff --git a/pages/coach/student/info.vue b/pages/coach/student/info.vue index c2171bd..904152f 100644 --- a/pages/coach/student/info.vue +++ b/pages/coach/student/info.vue @@ -239,7 +239,7 @@ export default { let data = {...this.filteredData} //判断是否还有数据 - if(this.filteredData.page * this.filteredData.limit > this.filteredData.total){ + if ((this.filteredData.page - 1) * this.filteredData.limit >= this.filteredData.total) { this.loading = false uni.showToast({ title: '暂无更多', diff --git a/pages/common/im_chat_info.vue b/pages/common/im_chat_info.vue index 33c8918..c302319 100644 --- a/pages/common/im_chat_info.vue +++ b/pages/common/im_chat_info.vue @@ -8,14 +8,14 @@ scroll-y="true" :scroll-top="scrollTop" :lower-threshold="lowerThreshold" - style="height: 80vh;" + style="height: 78vh;" > {{v.created_at}} - + {{v.content}} @@ -28,7 +28,7 @@ - + {{v.content}} @@ -40,6 +40,7 @@ + @@ -416,8 +417,8 @@ export default { min-height: 100vh; background: #292929 100%; padding: 0 0rpx; - padding-top: 32rpx; - padding-bottom: 150rpx; + padding-top: 120rpx; + padding-bottom: 120rpx; font-size: 28rpx; display: flex; flex-direction: column; @@ -480,7 +481,8 @@ export default { position: fixed; bottom: 0; - padding: 50rpx 30rpx; + padding: 30rpx; + padding-bottom: 50rpx; display: flex; justify-content:space-between; align-items: center; diff --git a/pages/common/my_attendance.vue b/pages/common/my_attendance.vue index 8e79839..7b36c0e 100644 --- a/pages/common/my_attendance.vue +++ b/pages/common/my_attendance.vue @@ -469,7 +469,7 @@ export default { let data = {...this.filteredData} //判断是否还有数据 - if(this.filteredData.page * this.filteredData.limit > this.filteredData.total){ + if ((this.filteredData.page - 1) * this.filteredData.limit >= this.filteredData.total) { this.loading = false uni.showToast({ title: '暂无更多', diff --git a/pages/common/sys_msg_list.vue b/pages/common/sys_msg_list.vue index 10e61ad..8e24630 100644 --- a/pages/common/sys_msg_list.vue +++ b/pages/common/sys_msg_list.vue @@ -98,7 +98,7 @@ export default { let data = {...this.filteredData} //判断是否还有数据 - if(this.filteredData.page * this.filteredData.limit > this.filteredData.total){ + if ((this.filteredData.page - 1) * this.filteredData.limit >= this.filteredData.total) { this.loading = false uni.showToast({ title: '暂无更多', diff --git a/pages/market/clue/add_clues.vue b/pages/market/clue/add_clues.vue index 7eeb4e4..fd32e7e 100644 --- a/pages/market/clue/add_clues.vue +++ b/pages/market/clue/add_clues.vue @@ -416,7 +416,7 @@ - + - - - - - {{ (formData.initial_intent) ? picker_config.initial_intent.text : '点击选择' }} - - - - - - - - {{ (formData.status) ? picker_config.status.text : '点击选择' }} - - - + @@ -287,6 +250,44 @@ 六要素信息 + + + + + {{ (formData.initial_intent) ? picker_config.initial_intent.text : '点击选择' }} + + + + + + + + {{ (formData.status) ? picker_config.status.text : '点击选择' }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -416,7 +462,7 @@ - + this.filteredData.total){ + if ((this.filteredData.page - 1) * this.filteredData.limit >= this.filteredData.total) { this.loading = false uni.showToast({ title: '暂无更多', diff --git a/pages/market/clue/index.vue b/pages/market/clue/index.vue index 162e1b8..2f25661 100644 --- a/pages/market/clue/index.vue +++ b/pages/market/clue/index.vue @@ -59,8 +59,9 @@ + - + diff --git a/pages/market/my/signed_client_list.vue b/pages/market/my/signed_client_list.vue index e98dca9..5972794 100644 --- a/pages/market/my/signed_client_list.vue +++ b/pages/market/my/signed_client_list.vue @@ -113,7 +113,7 @@ export default { let data = {...this.filteredData} //判断是否还有数据 - if(this.filteredData.page * this.filteredData.limit > this.filteredData.total){ + if ((this.filteredData.page - 1) * this.filteredData.limit >= this.filteredData.total) { this.loading = false uni.showToast({ title: '暂无更多', diff --git a/pages/student/index/job_list.vue b/pages/student/index/job_list.vue index 86b52f9..08b9009 100644 --- a/pages/student/index/job_list.vue +++ b/pages/student/index/job_list.vue @@ -104,7 +104,7 @@ import memberApi from '@/api/member.js'; let data = {...this.filteredData} //判断是否还有数据 - if(this.filteredData.page * this.filteredData.limit > this.filteredData.total){ + if ((this.filteredData.page - 1) * this.filteredData.limit >= this.filteredData.total) { this.loading = false uni.showToast({ title: '暂无更多', diff --git a/pages/student/index/physical_examination.vue b/pages/student/index/physical_examination.vue index ed96bc3..2dfd81c 100644 --- a/pages/student/index/physical_examination.vue +++ b/pages/student/index/physical_examination.vue @@ -102,7 +102,7 @@ import memberApi from '@/api/member.js'; let data = {...this.filteredData} //判断是否还有数据 - if(this.filteredData.page * this.filteredData.limit > this.filteredData.total){ + if ((this.filteredData.page - 1) * this.filteredData.limit >= this.filteredData.total) { this.loading = false uni.showToast({ title: '暂无更多', diff --git a/pages/student/my/lesson_consumption.vue b/pages/student/my/lesson_consumption.vue index 6fc2ea2..6dca018 100644 --- a/pages/student/my/lesson_consumption.vue +++ b/pages/student/my/lesson_consumption.vue @@ -92,7 +92,7 @@ import memberApi from '@/api/member.js'; let data = {...this.filteredData} //判断是否还有数据 - if(this.filteredData.page * this.filteredData.limit > this.filteredData.total){ + if ((this.filteredData.page - 1) * this.filteredData.limit >= this.filteredData.total) { this.loading = false uni.showToast({ title: '暂无更多', diff --git a/pages/student/timetable/index.vue b/pages/student/timetable/index.vue index 12cd2ca..a01020a 100644 --- a/pages/student/timetable/index.vue +++ b/pages/student/timetable/index.vue @@ -232,7 +232,7 @@ export default { let data = {...this.filteredData} //判断是否还有数据 - if (this.filteredData.page * this.filteredData.limit > this.filteredData.total || this.filteredData.limit > this.filteredData.total) { + if ((this.filteredData.page - 1) * this.filteredData.limit >= this.filteredData.total) { this.loading = false uni.showToast({ title: '暂无更多',