From 2de4c5fbb21732598774a04cdcc48d85826485ca Mon Sep 17 00:00:00 2001 From: wangzimeng <3297159934@qq.com> Date: Wed, 6 Aug 2025 15:34:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=9B=E7=A7=9F=E5=88=97=E8=A1=A8=E7=9A=84?= =?UTF-8?q?=E4=B8=BB=E5=9B=BE=E5=8A=A0=E5=9C=86=E8=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/canteenRent/rentList.vue | 1 + pages/index/index.vue | 2 +- pages/user/goods-collect.vue | 30 +++++++++++++++++------------- pages/user/goods-log.vue | 2 +- 4 files changed, 20 insertions(+), 15 deletions(-) diff --git a/pages/canteenRent/rentList.vue b/pages/canteenRent/rentList.vue index 9519916..692e17d 100644 --- a/pages/canteenRent/rentList.vue +++ b/pages/canteenRent/rentList.vue @@ -470,6 +470,7 @@ right: 0rpx; bottom: 18rpx; z-index: 1; + border-radius: 12rpx; } } diff --git a/pages/index/index.vue b/pages/index/index.vue index 98ba6bb..4353237 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -619,7 +619,7 @@ right: 0rpx; bottom: 18rpx; z-index: 1; - + border-radius: 12rpx; } } diff --git a/pages/user/goods-collect.vue b/pages/user/goods-collect.vue index 9d26711..08eff57 100644 --- a/pages/user/goods-collect.vue +++ b/pages/user/goods-collect.vue @@ -20,6 +20,9 @@ + @@ -71,7 +74,8 @@ 取消收藏 - + 收藏 @@ -301,9 +305,9 @@ }) } } - + //课程收藏 - function classCollect(item,index) { + function classCollect(item, index) { console.log('收藏', item.is_collect); if (item.is_collect == 1) { collectSchoolList.value[index].is_collect = 0 @@ -312,10 +316,10 @@ is_collect: item.is_collect } sheep.$api.school.classesCollect(data).then((res) => { - if(res.code == 1) { + if (res.code == 1) { uni.showToast({ - title:'已取消收藏', - icon:'none', + title: '已取消收藏', + icon: 'none', duration: 2000, }) } @@ -327,10 +331,10 @@ is_collect: item.is_collect } sheep.$api.school.classesCollect(data1).then((res) => { - if(res.code == 1) { + if (res.code == 1) { uni.showToast({ - title:'已收藏', - icon:'none', + title: '已收藏', + icon: 'none', duration: 2000, }) } @@ -409,9 +413,9 @@ height: 190rpx; position: relative; right: 0rpx; - bottom: 0rpx; + bottom: 18rpx; z-index: 1; - + border-radius: 12rpx; } } @@ -542,7 +546,7 @@ line-height: 30rpx; font-weight: 400; } - + .exchangeBtn1 { margin-top: 30rpx; background-color: #fcc74e; @@ -558,7 +562,7 @@ line-height: 30rpx; font-weight: 400; } - + } } diff --git a/pages/user/goods-log.vue b/pages/user/goods-log.vue index 33fdf00..3360a9a 100644 --- a/pages/user/goods-log.vue +++ b/pages/user/goods-log.vue @@ -294,7 +294,7 @@ right: 0rpx; bottom: 18rpx; z-index: 1; - + border-radius: 12rpx; } }