From ade8c79e8ee599c4686e77c933e6a0db14d768d7 Mon Sep 17 00:00:00 2001 From: whyneedname <542399163@qq.com> Date: Tue, 1 Nov 2022 14:31:42 +0800 Subject: [PATCH 01/10] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=B8=83=E5=B1=80=E9=80=BB=E8=BE=91=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 8 +-- pages/activity/GroupDetails/index.vue | 2 +- pages/activity/SeckillDetails/index.vue | 2 +- pages/activity/activity/index.vue | 67 +++++++++++++------ .../Evaluations/EvaluationDetail/index.vue | 5 -- 5 files changed, 54 insertions(+), 30 deletions(-) diff --git a/config/index.js b/config/index.js index c081c7e..e2ada4c 100644 --- a/config/index.js +++ b/config/index.js @@ -1,8 +1,8 @@ // export const VUE_APP_API_URL = 'http://192.168.10.129:48080/bxgApp' -export const VUE_APP_API_URL = 'http://192.168.10.113:48080/bxgApp' -// export const VUE_APP_API_URL = 'https://farm.lotus-wallet.com/bxgApp' +// export const VUE_APP_API_URL = 'http://192.168.10.113:48080/bxgApp' +export const VUE_APP_API_URL = 'https://farm.lotus-wallet.com/bxgApp' // export const VUE_APP_API_URL = 'https://xiaohui.shop.cyjyyjy.com/xiaohuiapp' export const VUE_APP_RESOURCES_URL = 'https://h5.yixiang.co/static' -// export const BXG_TENANT_ID = 129 -export const BXG_TENANT_ID = 138 +export const BXG_TENANT_ID = 129 +// export const BXG_TENANT_ID = 138 // export const BXG_TENANT_ID = 128 \ No newline at end of file diff --git a/pages/activity/GroupDetails/index.vue b/pages/activity/GroupDetails/index.vue index bb1f420..1ef85c1 100644 --- a/pages/activity/GroupDetails/index.vue +++ b/pages/activity/GroupDetails/index.vue @@ -358,7 +358,7 @@ export default { } }, }, - onShow: function() { + onLoad: function() { this.mountedStart() }, methods: { diff --git a/pages/activity/SeckillDetails/index.vue b/pages/activity/SeckillDetails/index.vue index 5f199ce..e6a4122 100644 --- a/pages/activity/SeckillDetails/index.vue +++ b/pages/activity/SeckillDetails/index.vue @@ -275,7 +275,7 @@ export default { } } }, - onShow: function() { + onLoad: function() { this.mountedStart() }, methods: { diff --git a/pages/activity/activity/index.vue b/pages/activity/activity/index.vue index 99b0433..567fa15 100644 --- a/pages/activity/activity/index.vue +++ b/pages/activity/activity/index.vue @@ -1,7 +1,7 @@ + From 6c2e4c53e97e9de4b2b0604b230301a209470efd Mon Sep 17 00:00:00 2001 From: whyneedname <542399163@qq.com> Date: Thu, 3 Nov 2022 18:25:32 +0800 Subject: [PATCH 07/10] =?UTF-8?q?=E5=93=81=E7=89=8C=E9=A6=86=E6=BB=9A?= =?UTF-8?q?=E5=8A=A8=E6=9D=A1=E4=BF=A1=E6=81=AF;=E6=94=B6=E8=97=8F?= =?UTF-8?q?=E9=A1=B5=E5=B8=83=E5=B1=80=E9=80=BB=E8=BE=91=E8=B0=83=E6=95=B4?= =?UTF-8?q?;=E6=B4=BB=E5=8A=A8=E4=B8=93=E5=8C=BA=E8=BD=AE=E6=92=AD?= =?UTF-8?q?=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/store.js | 22 ++- pages/activity/activity/index.vue | 3 +- pages/shop/GoodsCollection/index.vue | 198 ++++++++++--------------- pages/shop/brands/index.vue | 24 +-- pages/user/coupon/UserCoupon/index.vue | 2 +- 5 files changed, 109 insertions(+), 140 deletions(-) diff --git a/api/store.js b/api/store.js index 3945c17..7145105 100644 --- a/api/store.js +++ b/api/store.js @@ -226,24 +226,13 @@ export function getBrandByName() { login: false }); } -// <<<<<<< HEAD -// /** -// * 添加收藏 -// * -// */ -// export function getUserCollection(data) { -// console.log(9999999966); -// return request.post("/collectEvaluation/add", data, { -// login: true -// }); -// ======= + /** * 添加收藏 * */ export function getUserCollection(data) { return request.post("/collectEvaluation/add",data); -// >>>>>>> sxx } /** * @@ -262,6 +251,15 @@ export function getBrandDetail(id) { }); } +/** + * 品牌馆滚动条信息 + */ +export function getBrandNoticeInfo() { + return request.get("/brandInfo", {}, { + login: false + }); +} + /** * 词条名查询 */ diff --git a/pages/activity/activity/index.vue b/pages/activity/activity/index.vue index 567fa15..44586a6 100644 --- a/pages/activity/activity/index.vue +++ b/pages/activity/activity/index.vue @@ -16,7 +16,7 @@ - - - + + + 甄选商品 @@ -23,56 +23,50 @@ 甄选评测 + - - - - - - - - {{ item.storeName }} - - - {{ item.productInfo.attrInfo.sku }} - - {{ item.costPrice }}积分 - ¥{{ item.price }} - + + + + + - - - - - + {{ item.costPrice }}积分 + ¥{{ item.price }} - 删除 + + + + + + 删除 - - + + + + + + + + 什么都没有,大概被外星人带走了 + + + @@ -283,70 +277,7 @@ } diff --git a/pages/shop/brands/index.vue b/pages/shop/brands/index.vue index a09b298..47488c3 100644 --- a/pages/shop/brands/index.vue +++ b/pages/shop/brands/index.vue @@ -30,16 +30,16 @@ - + - 选品标准 + {{noticeInfo.title}} - + @@ -97,7 +97,7 @@ @@ -280,7 +353,7 @@ export default { background: #FFFFFF; box-shadow: 0rpx -4rpx 38rpx 0rpx rgba(0,0,0,0.1); border-radius: 28rpx 28rpx 0rpx 0rpx; - scroll-view { + .classify-scroll { position: relative; top: -60rpx; margin-bottom: -60rpx; @@ -296,22 +369,41 @@ export default { .classify-item { width: 176rpx; height: 96rpx; + text-align: center; margin-right: 20rpx; - border-radius: 16rpx; - background: linear-gradient(135deg, #39D396 0%, #2DB7AD 43%, #1B8DCC 100%); + image { + width: 176rpx; + height: 96rpx; + border-radius: 16rpx; + transition: all .3s linear; + // background: linear-gradient(135deg, #39D396 0%, #2DB7AD 43%, #1B8DCC 100%); + } + transition: width .3s linear; } .classify-item.on { width: 220rpx; - height: 120upx; + height: 120rpx; + transition: width .3s linear; + image { + width: 220rpx; + height: 120rpx; + transition: all .3s linear; + } } } } } + .content-box .nav-scroll { + overflow:hidden; + white-space:nowrap; + } .content-box .nav-box { + display: flex; + flex-wrap: nowrap; padding: 20rpx 32rpx; + margin-right: 32rpx; .item { - // width: 87px; height: 40rpx; border-radius: 16rpx; border: 2rpx solid #2EB5AE; @@ -322,6 +414,12 @@ export default { color: #2DB5AE; line-height: 36rpx; margin-right: 20rpx; + .nav-name,.jiantou-down { + display: inline-block; + } + .jiantou-down { + margin-bottom: 4rpx; + } } .item.on { width: 124rpx; @@ -331,6 +429,16 @@ export default { } } + .jiantou-down { + width: 0; + height: 0; + border-top: 10rpx solid #2EB5AE; + border-bottom: 0rpx; + border-left: 6rpx solid transparent; + border-right: 6rpx solid transparent; + margin-left: 2rpx; + } + .notice-box { margin: 0rpx 32rpx 18rpx; padding: 0rpx 16rpx; @@ -352,7 +460,7 @@ export default { } .list-box { - height: calc(100% - 196rpx); + height: calc(100% - 200rpx); overflow-y: scroll; .top-box { padding: 0rpx 32rpx 12rpx; @@ -490,13 +598,4 @@ export default { } } - .jiantou-down { - width: 0; - height: 0; - border-top: 10rpx solid #2EB5AE; - border-bottom: 0rpx; - border-left: 6rpx solid transparent; - border-right: 6rpx solid transparent; - margin-left: 2rpx; - } \ No newline at end of file diff --git a/pages/user/User/index.vue b/pages/user/User/index.vue index bf59558..cc66b24 100644 --- a/pages/user/User/index.vue +++ b/pages/user/User/index.vue @@ -71,7 +71,7 @@