From 56d82c1b8bf30ab5c9161fd7d986a9cd6c7be13a Mon Sep 17 00:00:00 2001 From: wangzimeng <3297159934@qq.com> Date: Thu, 24 Jul 2025 17:54:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E8=97=8F=E9=A1=B5=E9=9D=A2=E5=9F=BA?= =?UTF-8?q?=E6=9C=AC=E5=AE=8C=E6=88=90=EF=BC=8C=E4=BD=86=E6=98=AF=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E5=9C=A8=E5=B9=B3=E5=8F=B0=E9=A1=B5=E9=9D=A2=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E5=90=8E=EF=BC=8C=E6=B5=8B=E8=AF=95=E4=B8=80=E4=B8=8B?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E5=A4=9A=E6=9D=A1=E6=98=AF=E5=90=A6=E6=AD=A3?= =?UTF-8?q?=E5=B8=B8=20=E7=A7=AF=E5=88=86=E5=95=86=E5=9F=8E=E7=9A=84?= =?UTF-8?q?=E9=9D=99=E6=80=81=E9=A1=B5=E9=9D=A2=E5=AE=8C=E6=88=90=20?= =?UTF-8?q?=E8=B6=B3=E8=BF=B9=E9=A1=B5=E9=9D=A2=E5=AE=8C=E6=88=90=EF=BC=8C?= =?UTF-8?q?=E4=BD=86=E6=98=AF=E5=8A=A0=E8=BD=BD=E5=A4=9A=E6=9D=A1=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E6=9C=AA=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 6 +- pages/app/score-shop.vue | 284 ++++++++++++---- pages/user/goods-collect.vue | 635 ++++++++++++++++++++++------------- pages/user/goods-log.vue | 525 +++++++++++++++++++---------- sheep/api/index.js | 2 + sheep/api/school.js | 24 ++ sheep/ui/su-tabs/su-tabs.vue | 6 +- 7 files changed, 997 insertions(+), 485 deletions(-) create mode 100644 sheep/api/school.js diff --git a/pages.json b/pages.json index 175851e..b917a12 100644 --- a/pages.json +++ b/pages.json @@ -367,7 +367,7 @@ "meta": { "auth": true, "sync": true, - "title": "商品收藏", + "title": "我的收藏", "group": "用户中心" } }, @@ -379,7 +379,7 @@ "meta": { "auth": true, "sync": true, - "title": "浏览记录", + "title": "我的足迹", "group": "用户中心" } }, @@ -459,7 +459,7 @@ "meta": { "auth": true, "sync": true, - "title": "用户积分", + "title": "我的积分", "group": "用户中心" } } diff --git a/pages/app/score-shop.vue b/pages/app/score-shop.vue index 044cbe1..5a55389 100644 --- a/pages/app/score-shop.vue +++ b/pages/app/score-shop.vue @@ -1,77 +1,219 @@ + + + \ No newline at end of file diff --git a/pages/user/goods-collect.vue b/pages/user/goods-collect.vue index 5a27541..3a83651 100644 --- a/pages/user/goods-collect.vue +++ b/pages/user/goods-collect.vue @@ -1,240 +1,421 @@ + .align-items { + align-items: center; + } + + .flex-column { + flex-flow: column; + } + + .fs24 { + font-size: 24rpx; + } + + .Regular { + font-weight: 400; + } + + .c3 { + color: #333333; + } + + .c9 { + color: #999999; + } + + .container { + // background-color: #ffffff; + + .recommend-box { + margin-top: 30rpx; + padding: 20rpx 30rpx; + + .rrecommList { + margin-top: 30rpx; + // padding: 30rpx; + + .reListItem { + background-color: #ffffff; + width: 640rpx; + height: 190rpx; + padding: 30rpx; + display: flex; + justify-content: flex-start; + align-items: center; + border-radius: 18rpx; + + .listItem-images { + display: grid; + justify-content: flex-start; + + .iamges-mainImg { + width: 190rpx; + height: 190rpx; + position: relative; + right: 0rpx; + bottom: 18rpx; + z-index: 1; + + } + } + + .listItem-contents { + margin-left: 20rpx; + + .score-box { + display: flex; + + .cate { + display: flex; + justify-content: flex-start; + align-items: center; + + .cate-e { + + .status-tag { + padding: 5rpx 15rpx; + border-radius: 5rpx; + font-size: 22rpx; + font-weight: 400; + line-height: 22rpx; + background-color: rgba(247, 97, 0, 0.2); + + // opacity: 0.2; + color: #F76100; + //flex-shrink: 0 + } + } + } + + + + } + + + .cons-third { + margin-top: 20rpx; + display: flex; + justify-content: space-around; + align-items: center; + } + } + } + + } + + } + + + .exChangeBox { + background-color: #ffffff; + width: 690rpx; + + .couponsList { + width: 100%; + padding: 0 30rpx; + display: grid; + grid-template-columns: repeat(2, 1fr); + ; + grid-gap: 20px; + // display: flex; + // justify-content: center; + // align-items: center; + + + .list-item { + width: 330rpx; + border-radius: 18rpx; + box-shadow: 4rpx 4rpx 4rpx 4rpx rgba(153, 153, 153, 0.1); + + .item-text { + padding: 30rpx; + + .exchangeBtn { + margin-top: 30rpx; + background-color: #ffffff; + border: 2rpx solid #999999; + height: 70rpx; + width: 270rpx; + border-radius: 223rpx; + align-items: center; + justify-content: center; + display: flex; + color: #999999; + font-size: 28rpx; + line-height: 30rpx; + font-weight: 400; + } + } + } + + } + + } + + } + \ No newline at end of file diff --git a/pages/user/goods-log.vue b/pages/user/goods-log.vue index c79f1b3..338e30e 100644 --- a/pages/user/goods-log.vue +++ b/pages/user/goods-log.vue @@ -1,8 +1,8 @@ + .title-text { + font-size: 28rpx; + font-weight: 500; + color: #333333; + } + + .params-box { + .params-title { + height: 38rpx; + background: #f4f4f4; + border-radius: 2rpx; + font-size: 24rpx; + font-weight: 400; + color: #666666; + } + } + + .price-text { + color: $red; + font-family: OPPOSANS; + } + } + \ No newline at end of file diff --git a/sheep/api/index.js b/sheep/api/index.js index 4f6ff4b..27561df 100644 --- a/sheep/api/index.js +++ b/sheep/api/index.js @@ -13,6 +13,7 @@ import third from "./third" import trade from "./trade" import user from "./user" import rent from "./rent" +import school from "./school" export default { activity, @@ -30,5 +31,6 @@ export default { trade, user, rent, + school, } diff --git a/sheep/api/school.js b/sheep/api/school.js new file mode 100644 index 0000000..7640a23 --- /dev/null +++ b/sheep/api/school.js @@ -0,0 +1,24 @@ +import request from '@/sheep/request'; + +export default { + // 招租列表 + schoolList: (params) => + request({ + url: 'meal.classes/classes_list', + method: 'GET', + params, + custom: { + showLoading: false, + }, + }), + // detail: (id, user_coupon_id) => + // request({ + // url: 'coupon/detail', + // method: 'GET', + // params: { + // id: id, + // user_coupon_id, + // }, + // }), + +}; \ No newline at end of file diff --git a/sheep/ui/su-tabs/su-tabs.vue b/sheep/ui/su-tabs/su-tabs.vue index 05d7dcb..abef907 100644 --- a/sheep/ui/su-tabs/su-tabs.vue +++ b/sheep/ui/su-tabs/su-tabs.vue @@ -40,7 +40,7 @@ { width: addUnit(lineWidth), height: addUnit(lineHeight), - background: lineColor ? lineColor : 'var(--ui-BG-Main)', + background: lineColor ? lineColor : '#fcc74e', backgroundSize: lineBgSize, }, ]" @@ -56,7 +56,7 @@ transform: `translate(${lineOffsetLeft}px)`, transitionDuration: `${firstTime ? 0 : duration}ms`, height: addUnit(lineHeight), - background: lineColor ? lineColor : 'var(--ui-BG-Main)', + background: lineColor ? lineColor : '#fcc74e', backgroundSize: lineBgSize, }, ]" @@ -409,7 +409,7 @@ &__text { font-size: 14px; - color: #606266; + color: #999999; white-space: nowrap !important; &--disabled {