diff --git a/package.json b/package.json index aafe3011662a06251b7ab1a30d2d491d0f049ff7..d2e3bb5fe65973357d4b23aae0dca68ca6647fab 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 0db9ab3a0dde75af613c36cc6aebacdfc84aa84d..86daff20cea154f71897095f694775783accdf0b 100644 --- a/pages/activity/groupon/detail.vue +++ b/pages/activity/groupon/detail.vue @@ -1,6 +1,11 @@ \ No newline at end of file + .goods-list-box { + width: 50%; + box-sizing: border-box; + + .left-list { + margin-right: 10rpx; + margin-bottom: 20rpx; + } + + .right-list { + margin-left: 10rpx; + margin-bottom: 20rpx; + } + } + + .goods-box { + &:nth-last-of-type(1) { + margin-bottom: 0 !important; + } + + &:nth-child(2n) { + margin-right: 0; + } + } + + .list-icon { + width: 80rpx; + + .sicon-goods-card { + font-size: 40rpx; + } + + .sicon-goods-list { + font-size: 40rpx; + } + } + + .goods-card { + margin-left: 20rpx; + } + + .list-filter-tabs { + background-color: #fff; + } + + .filter-list-box { + padding: 28rpx 52rpx; + + .filter-item { + font-size: 28rpx; + font-weight: 500; + color: #333333; + line-height: normal; + margin-bottom: 24rpx; + + &:nth-last-child(1) { + margin-bottom: 0; + } + } + + .filter-item-active { + color: var(--ui-BG-Main); + } + } + + .tab-item { + height: 50px; + position: relative; + z-index: 11; + + .tab-title { + font-size: 30rpx; + } + + .cur-tab-title { + font-weight: $font-weight-bold; + } + + .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 027449a3f996ab7534b22be8b3eb99618edf2a37..aed2cd337245ec8f2c67284bea9082fb9ed1c36c 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 2317d1d92003f5e311ca9a978032ac7a69f3bb74..cb87b0b509cbb93ad44fb89afa18391828cfaa5f 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 8c9752eda1834a801e91082298d8b672b658139d..805ea9445aafee6a743f72ad49352d5713ff7a8f 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 a812afc7f3fb3ceccfde805c562a3e08f0928d8e..47b0b1a38e692d54f7eee20ec38179c1ee287c4a 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 03099bcecf53088d71f9f74dd7465ea76d7b537a..af5e64a1f169bd5c2a315800c790c059e3450110 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 630f7c5a2542e8331be0a53f2ab4de7c200922cd..b52efe3c93c497b0b2a89724fa0fbec4d25b35c5 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 @@