diff --git a/api/apiRoute.js b/api/apiRoute.js index d081b2e..94806c7 100644 --- a/api/apiRoute.js +++ b/api/apiRoute.js @@ -88,6 +88,13 @@ export default { return res; }) }, + //公共端-忘记密码-通过短信验证码进行密码重置(学生/员工通用) + common_forgetPassword(data = {}) { + let url = '/common/forgetPassword' + return http.post(url, data).then(res => { + return res; + }) + }, @@ -241,6 +248,13 @@ export default { return res; }) }, + //销售端-查询客户资源全部列表 + xs_getAllCustomerResources(data = {}) { + let url = '/customerResources/getAll' + return http.get(url, data).then(res => { + return res; + }) + }, //销售端-客户资源-获取修改日志列表 xs_customerResourcesGetEditLogList(data = {}) { let url = '/customerResources/getEditLogList' @@ -299,6 +313,14 @@ export default { return res; }) }, + //销售端-好友关系列表 + xs_chatGetChatFriendsList(data = {}) { + let url = '/chat/getChatFriendsList' + return http.get(url, data).then(res => { + return res; + }) + }, + diff --git a/components/AQ/AQUplodeImage.vue b/components/AQ/AQUplodeImage.vue new file mode 100644 index 0000000..7d67ef8 --- /dev/null +++ b/components/AQ/AQUplodeImage.vue @@ -0,0 +1,56 @@ + + + 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 27da062..7b12d2b 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/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/contract_list.vue b/pages/common/contract_list.vue index 481375c..b20a320 100644 --- a/pages/common/contract_list.vue +++ b/pages/common/contract_list.vue @@ -101,7 +101,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 bc709d3..c302319 100644 --- a/pages/common/im_chat_info.vue +++ b/pages/common/im_chat_info.vue @@ -6,56 +6,106 @@ {{v.created_at}} - - {{v.content}} + + + {{v.content}} + + + + - - {{v.content}} + + {{v.content}} + + + + + - + + + + + + + + + + + + + + + + + + + + + + 相册 + + + + + + + + @@ -330,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; @@ -366,13 +453,20 @@ export default { word-wrap: break-word; /* 允许长单词或 URL 换行 */ word-break: break-all; /* 强制所有字符换行 */ .text_box{} + .img_box { + .chat_img { + width: 200rpx; + height: 200rpx; + border-radius: 16rpx; + } + } } .left_item{ - background-color: #f4f6f9; + //background-color: #f4f6f9; color: #343434; } .right_item{ - background-color: #1684fc; + //background-color: #1684fc; color: #fff; } } @@ -387,12 +481,13 @@ export default { position: fixed; bottom: 0; - padding: 50rpx 50rpx; + padding: 30rpx; + padding-bottom: 50rpx; display: flex; justify-content:space-between; align-items: center; + gap: 20rpx; .left_box{ - width: 70%; .input{ background-color: #f4f6f9; height: 88rpx; @@ -400,22 +495,28 @@ export default { font-size: 28rpx; border-radius: 32rpx; - width: 532rpx; + width: 480rpx; color: #292929; font-size: 28rpx; } } .right_box{ - border-radius: 50%; - background-color: #a2cefe; - width: 88rpx; - height: 88rpx; + width: 100%; display: flex; - justify-content: center; + justify-content: space-between; align-items: center; - .send_img{ - width: 36rpx; - height: 36rpx; + .img_box{ + width: 88rpx; + height: 88rpx; + border-radius: 50%; + background-color: #a2cefe; + display: flex; + justify-content: center; + align-items: center; + .send_img{ + width: 36rpx; + height: 36rpx; + } } } @@ -425,4 +526,44 @@ export default { color: #999999; padding-left: 30rpx; } + + + /* 更多选项相关 自定义内容区样式需自行控制 */ + .more_section{ + .fui-scroll__wrap { + padding-top: 30rpx; + position: relative; + } + .fui-title { + font-size: 30rpx; + font-weight: bold; + text-align: center; + padding-bottom: 24rpx; + } + .fui-icon__close { + position: absolute; + top: 24rpx; + left: 24rpx; + } + .fui-scroll__view { + width: 100%; + height: 350rpx; + } + + .ul{ + padding: 10rpx 40rpx; + display: flex; + .li{ + display: flex; + flex-direction: column; + align-items: center; + .icon_box{ + } + .title{ + font-size: 28rpx; + text-align: center; + } + } + } + } \ No newline at end of file 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/my_message.vue b/pages/common/my_message.vue index 6e9b765..a8729e2 100644 --- a/pages/common/my_message.vue +++ b/pages/common/my_message.vue @@ -24,9 +24,9 @@ > @@ -46,19 +46,27 @@ 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: '暂无更多', diff --git a/static/images/common/jia_hao.png b/static/images/common/jia_hao.png new file mode 100644 index 0000000..4416a11 Binary files /dev/null and b/static/images/common/jia_hao.png differ