diff --git a/.env.development b/.env.development index 136e3641..797038a3 100644 --- a/.env.development +++ b/.env.development @@ -3,10 +3,10 @@ ENV = 'development' # 'development' -# VITE_APP_BASE_API_Url = 'https://aits.jlbank.com.cn:7001' +#VITE_APP_BASE_API_Url = 'https://aits.jlbank.com.cn:7001' -#VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001' +VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001' # VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002' @@ -15,7 +15,7 @@ ENV = 'development' # VITE_APP_BASE_API_Url = 'http://aitscdn.jlbank.com.cn:7001' # VITE_APP_BASE_API_Url = 'http://192.168.108.129' # dev -VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001' +# VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001' # sit diff --git a/src/App.vue b/src/App.vue index 141b9280..f955a764 100644 --- a/src/App.vue +++ b/src/App.vue @@ -144,4 +144,8 @@ .bold { font-weight: bold; } + .maoh{ + margin-right: 8rpx; + margin-left: 2rpx; + } diff --git a/src/api/messageNotification.js b/src/api/messageNotification.js index e02d1076..7b7bf3ca 100644 --- a/src/api/messageNotification.js +++ b/src/api/messageNotification.js @@ -50,3 +50,13 @@ export const queryMessageNoticeClass = (data) => { }; +// 按照分类一键读取消息 +export const oneTimeReadByNoticeTyp = (data) => { + return request({ + url: base_url + '/traPersonalMessageNotice/oneTimeReadByNoticeTyp', + method: 'post', + data + }); +}; + + \ No newline at end of file diff --git a/src/components/points-and-badge/check-in.vue b/src/components/points-and-badge/check-in.vue index cb19ed5d..0bd0b94d 100644 --- a/src/components/points-and-badge/check-in.vue +++ b/src/components/points-and-badge/check-in.vue @@ -178,7 +178,7 @@ // 计算text字段 let text = '1'; // 默认显示1 if (dayNumber === 30) { - text = '30'; // 第30天显示30 + text = '20'; // 第30天显示30 } else if ((dayNumber % 30) % 7 === 0) { text = '5'; // 每7天(第7、14、21、28、35天)显示5 } @@ -207,8 +207,8 @@ } const open = (isSignedStatus, days, onCheckInClick = () => {}, onCheckInSuccess = () => {}) => { - console.log('isSignedStatus', isSignedStatus); isSigned.value = isSignedStatus; // 今日签到状态 + // isSigned.value = false; // 今日签到状态 continuousDay.value = days; // 连续签到 checkInClickCallback = onCheckInClick; checkInSuccessCallback = onCheckInSuccess; diff --git a/src/pages/competitionRecord/components/competitionRecordItem.vue b/src/pages/competitionRecord/components/competitionRecordItem.vue index a7d61f11..93e091c3 100644 --- a/src/pages/competitionRecord/components/competitionRecordItem.vue +++ b/src/pages/competitionRecord/components/competitionRecordItem.vue @@ -127,20 +127,19 @@ margin: 17rpx 20rpx; background-color: #fff; border-radius: 16rpx; - padding: 32rpx 22rpx; + padding: 22rpx 22rpx; .details_div { display: flex; .img_div { position: relative; - width: 226rpx; - height: 168rpx; + width: 256rpx; + height: 144rpx; overflow: hidden; - border-radius: 22rpx; - + border-radius: 16rpx; .img { - width: 226rpx; - height: 168rpx; + width: 256rpx; + height: 144rpx; } .subscript { @@ -188,7 +187,7 @@ display: flex; align-items: center; overflow: hidden; - height: 116rpx; + height: 92rpx; background-color: #f9fbff; border-radius: 8rpx; justify-content: space-around; diff --git a/src/pages/courseRecord/components/examRecordItem.vue b/src/pages/courseRecord/components/examRecordItem.vue index 1ca4dd81..46cb8dcb 100644 --- a/src/pages/courseRecord/components/examRecordItem.vue +++ b/src/pages/courseRecord/components/examRecordItem.vue @@ -122,20 +122,19 @@ margin: 17rpx 20rpx; background-color: #fff; border-radius: 16rpx; - padding: 32rpx 22rpx; + padding: 22rpx 22rpx; .details_div { display: flex; .img_div { position: relative; - width: 224rpx; - height: 168rpx; + width: 256rpx; + height: 144rpx; overflow: hidden; - border-radius: 22rpx; - + border-radius: 16rpx; .img { - width: 224rpx; - height: 168rpx; + width: 256rpx; + height: 144rpx; } .subscript { @@ -183,7 +182,7 @@ display: flex; align-items: center; overflow: hidden; - height: 116rpx; + height: 92rpx; background-color: #f9fbff; border-radius: 8rpx; justify-content: space-around; diff --git a/src/pages/courseRecord/components/practiceRecordItem.vue b/src/pages/courseRecord/components/practiceRecordItem.vue index 10da90da..129e69a8 100644 --- a/src/pages/courseRecord/components/practiceRecordItem.vue +++ b/src/pages/courseRecord/components/practiceRecordItem.vue @@ -121,20 +121,19 @@ margin: 17rpx 20rpx; background-color: #fff; border-radius: 16rpx; - padding: 32rpx 22rpx; + padding: 22rpx 22rpx; .details_div { display: flex; .img_div { position: relative; - width: 224rpx; - height: 168rpx; + width: 256rpx; + height: 144rpx; overflow: hidden; - border-radius: 22rpx; - + border-radius: 16rpx; .img { - width: 224rpx; - height: 168rpx; + width: 256rpx; + height: 144rpx; } .subscript { @@ -182,7 +181,7 @@ display: flex; align-items: center; overflow: hidden; - height: 116rpx; + height: 92rpx; background-color: #f9fbff; border-radius: 8rpx; justify-content: space-around; diff --git a/src/pages/courseRecord/components/studyRecordItem.vue b/src/pages/courseRecord/components/studyRecordItem.vue index 446f92ed..ce72abd4 100644 --- a/src/pages/courseRecord/components/studyRecordItem.vue +++ b/src/pages/courseRecord/components/studyRecordItem.vue @@ -122,20 +122,18 @@ margin: 17rpx 20rpx; background-color: #fff; border-radius: 16rpx; - padding: 32rpx 22rpx; + padding: 22rpx 22rpx; .details_div { display: flex; - .img_div { position: relative; - width: 224rpx; - height: 168rpx; + width: 256rpx; + height: 144rpx; overflow: hidden; - border-radius: 22rpx; - + border-radius: 16rpx; .img { - width: 224rpx; - height: 168rpx; + width: 256rpx; + height: 144rpx; } .subscript { @@ -183,7 +181,7 @@ display: flex; align-items: center; overflow: hidden; - height: 116rpx; + height: 92rpx; background-color: #f9fbff; border-radius: 8rpx; justify-content: space-around; diff --git a/src/pages/favorites/components/favoritesCourse.vue b/src/pages/favorites/components/favoritesCourse.vue index 84e422e2..7b313b8e 100644 --- a/src/pages/favorites/components/favoritesCourse.vue +++ b/src/pages/favorites/components/favoritesCourse.vue @@ -32,8 +32,8 @@ - 发布:{{ item.issuTm?.substr(0, 10) }} - 已学:{{ item.accmStdyCnt }}次 + 发布:{{ item.issuTm?.substr(0, 10) }} + 已学:{{ item.accmStdyCnt }}次 @@ -106,7 +106,7 @@ border-radius: 16rpx; } .item-swipe-action { - margin: 32rpx 22rpx; + margin: 22rpx 22rpx; overflow: hidden; :deep(.uv-swipe-action-item__right__button__wrapper) { border-radius: 20rpx !important; @@ -114,18 +114,17 @@ } .item { - height: 170rpx; + // height: 180rpx; display: flex; .img_div { position: relative; - width: 224rpx; - height: 168rpx; + width: 256rpx; + height: 144rpx; overflow: hidden; - border-radius: 22rpx; - + border-radius: 16rpx; .img { - width: 224rpx; - height: 168rpx; + width: 256rpx; + height: 144rpx; } .subscript { diff --git a/src/pages/favorites/components/favoritesTask.vue b/src/pages/favorites/components/favoritesTask.vue index e61b7c8e..2a9705d7 100644 --- a/src/pages/favorites/components/favoritesTask.vue +++ b/src/pages/favorites/components/favoritesTask.vue @@ -28,18 +28,18 @@ {{ item.taskName }} - 起止时间: + 起止时间: {{ item.startTm?.substr(0, 10) }}至{{ item.endTm?.substr(0, 10) }} - - 完成人数: + + 完成人数: {{ item.taskFinishSums ?? 0 }}/{{ item.taskSums ?? 0 }} - - 进度: + + 进度: {{ item.finishCrs ?? item.learnedNumber ?? 0 }}/{{ item.sumCrs ?? item.taskNumber ?? 0 @@ -184,7 +184,7 @@ } } .item-swipe-action { - margin: 32rpx 22rpx; + margin: 22rpx 20rpx; overflow: hidden; :deep(.uv-swipe-action-item__right__button__wrapper) { @@ -193,21 +193,20 @@ } .item { - height: 170rpx; display: flex; .img_div { position: relative; - width: 224rpx; - height: 168rpx; + width: 256rpx; + height: 144rpx; overflow: hidden; - border-radius: 22rpx; - + border-radius: 16rpx; + .img { - width: 224rpx; - height: 168rpx; + width: 256rpx; + height: 144rpx; } - + .subscript { position: absolute; right: 0; @@ -259,12 +258,15 @@ font-size: 22rpx; color: #666; margin-bottom: 22rpx; - line-height: 24rpx; flex-wrap: nowrap; height: 24rpx; overflow: hidden; } + .nowrap{ + flex-wrap: nowrap; + display: flex; + } } } diff --git a/src/pages/index/components/class_scroll.vue b/src/pages/index/components/class_scroll.vue index ad235a0f..10ea912e 100644 --- a/src/pages/index/components/class_scroll.vue +++ b/src/pages/index/components/class_scroll.vue @@ -1,6 +1,6 @@ -