From ce81110bb3813f597295730834a7ba691ff50228 Mon Sep 17 00:00:00 2001 From: undefined Date: Sun, 4 Aug 2024 17:11:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E7=8E=B0=E6=8A=96=E9=9F=B3=E5=B0=8F?= =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E6=98=BE=E7=A4=BA=EF=BC=88=E4=BB=85=E9=99=90?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + pages/activity/groupon/detail.vue | 36 +- pages/activity/groupon/order.vue | 12 +- pages/activity/index.vue | 4 +- pages/chat/components/select-popup.vue | 2 +- .../commission/components/commission-log.vue | 250 +++--- pages/commission/goods.vue | 14 +- pages/commission/order.vue | 7 +- pages/commission/team.vue | 2 +- pages/commission/wallet.vue | 774 ++++++++++-------- pages/coupon/detail.vue | 33 +- pages/coupon/list.vue | 27 +- pages/goods/comment/list.vue | 2 +- pages/goods/groupon.vue | 62 +- pages/goods/index.vue | 672 ++++++++------- pages/goods/list.vue | 562 +++++++------ pages/goods/seckill.vue | 61 +- pages/index/category.vue | 2 +- pages/order/aftersale/apply.vue | 10 +- pages/order/aftersale/detail.vue | 535 ++++++------ pages/order/aftersale/list.vue | 295 ++++--- pages/order/confirm.vue | 6 +- pages/order/detail.vue | 4 +- pages/order/list.vue | 750 +++++++++-------- pages/pay/recharge-log.vue | 8 +- pages/pay/result.vue | 21 +- pages/user/address/edit.vue | 378 +++++---- pages/user/address/list.vue | 261 +++--- pages/user/goods-collect.vue | 12 +- pages/user/goods-log.vue | 18 +- pages/user/info.vue | 17 +- pages/user/wallet/money.vue | 20 +- pages/user/wallet/score.vue | 31 +- .../s-address-item/s-address-item.vue | 6 +- .../s-goods-column/s-goods-column.vue | 56 +- sheep/components/s-layout/s-layout.vue | 8 +- .../s-select-seckill-sku.vue | 67 +- sheep/platform/index.js | 2 +- sheep/router/index.js | 2 +- sheep/store/user.js | 18 +- sheep/ui/su-swiper/su-swiper.vue | 8 +- 41 files changed, 2729 insertions(+), 2327 deletions(-) diff --git a/package.json b/package.json index aafe3011..d2e3bb5f 100644 --- a/package.json +++ b/package.json @@ -90,6 +90,7 @@ "dependencies": { "dayjs": "^1.11.7", "lodash": "^4.17.21", + "lodash-es": "^4.17.21", "luch-request": "^3.0.8", "pinia": "^2.0.33", "pinia-plugin-persist-uni": "^1.2.0", diff --git a/pages/activity/groupon/detail.vue b/pages/activity/groupon/detail.vue index 0db9ab3a..86daff20 100644 --- a/pages/activity/groupon/detail.vue +++ b/pages/activity/groupon/detail.vue @@ -1,6 +1,11 @@ \ No newline at end of file + .tab-line { + width: 60rpx; + height: 6rpx; + border-radius: 6rpx; + position: absolute; + left: 50%; + transform: translateX(-50%); + bottom: 10rpx; + background-color: var(--ui-BG-Main); + z-index: 12; + } + } + diff --git a/pages/goods/seckill.vue b/pages/goods/seckill.vue index 027449a3..aed2cd33 100644 --- a/pages/goods/seckill.vue +++ b/pages/goods/seckill.vue @@ -69,10 +69,7 @@ - + 秒杀价 @@ -136,11 +135,11 @@ diff --git a/pages/index/category.vue b/pages/index/category.vue index 2317d1d9..cb87b0b5 100644 --- a/pages/index/category.vue +++ b/pages/index/category.vue @@ -63,7 +63,7 @@ import SpuApi from '@/sheep/api/product/spu'; import { onLoad, onReachBottom } from '@dcloudio/uni-app'; import { computed, reactive } from 'vue'; - import _ from 'lodash'; + import _ from 'lodash-es'; import { handleTree } from '@/sheep/util'; const state = reactive({ diff --git a/pages/order/aftersale/apply.vue b/pages/order/aftersale/apply.vue index 8c9752ed..805ea944 100644 --- a/pages/order/aftersale/apply.vue +++ b/pages/order/aftersale/apply.vue @@ -98,11 +98,7 @@ - @@ -30,7 +30,9 @@ 充值时间 - {{ sheep.$helper.timeFormat(item.payTime, 'yyyy-mm-dd hh:MM:ss') }} + + {{ sheep.$helper.timeFormat(item.payTime, 'yyyy-mm-dd hh:MM:ss') }} @@ -53,7 +55,7 @@ \ No newline at end of file + .cancel-btn { + width: 710rpx; + height: 80rpx; + border-radius: 40rpx; + background: var(--ui-BG); + } + } + diff --git a/pages/user/address/list.vue b/pages/user/address/list.vue index a812afc7..47b0b1a3 100644 --- a/pages/user/address/list.vue +++ b/pages/user/address/list.vue @@ -1,143 +1,156 @@ \ No newline at end of file + .sync-wxaddress { + flex: 1; + line-height: 80rpx; + background: $white; + border-radius: 80rpx; + font-size: 30rpx; + font-weight: 500; + color: $dark-6; + margin-right: 18rpx; + } + } + diff --git a/pages/user/goods-collect.vue b/pages/user/goods-collect.vue index 03099bce..af5e64a1 100644 --- a/pages/user/goods-collect.vue +++ b/pages/user/goods-collect.vue @@ -5,7 +5,8 @@ - 共 {{ state.pagination.total }} 件商品 + 共 + {{ state.pagination.total }} 件商品 @@ -100,7 +102,7 @@ import sheep from '@/sheep'; import { reactive } from 'vue'; import { onLoad, onReachBottom } from '@dcloudio/uni-app'; - import _ from 'lodash'; + import _ from 'lodash-es'; import FavoriteApi from '@/sheep/api/product/favorite'; import { resetPagination } from '@/sheep/util'; @@ -129,7 +131,7 @@ if (code !== 0) { return; } - state.pagination.list = _.concat(state.pagination.list, data.list) + state.pagination.list = _.concat(state.pagination.list, data.list); state.pagination.total = data.total; state.loadStatus = state.pagination.list.length < state.pagination.total ? 'more' : 'noMore'; } @@ -174,7 +176,7 @@ // 加载更多 function loadMore() { if (state.loadStatus === 'noMore') { - return + return; } state.pagination.pageNo++; getData(); diff --git a/pages/user/goods-log.vue b/pages/user/goods-log.vue index 630f7c5a..b52efe3c 100644 --- a/pages/user/goods-log.vue +++ b/pages/user/goods-log.vue @@ -81,11 +81,13 @@ @@ -154,10 +155,7 @@ - + {{ state.thirdInfo.nickname }} @@ -185,7 +183,7 @@