diff --git a/package.json b/package.json index fce07f3..be8b7b8 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,6 @@ "prettier": "prettier --write \"{pages,sheep}/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"", "build:prod": "vue-cli-service build --mode prod", "build:dev": "vue-cli-service build --mode dev" - }, "repository": "https://github.com/sheepjs/shop.git", "keywords": [ @@ -93,6 +92,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/goods/components/detail/detail-tabbar.vue b/pages/goods/components/detail/detail-tabbar.vue index 4b9a53b..36ed2b6 100644 --- a/pages/goods/components/detail/detail-tabbar.vue +++ b/pages/goods/components/detail/detail-tabbar.vue @@ -11,7 +11,7 @@ 已收藏 @@ -19,7 +19,7 @@ 收藏 @@ -32,7 +32,7 @@ > 客服 @@ -44,7 +44,7 @@ > 分享 diff --git a/pages/goods/groupon.vue b/pages/goods/groupon.vue index b957761..f04b9b0 100644 --- a/pages/goods/groupon.vue +++ b/pages/goods/groupon.vue @@ -156,7 +156,7 @@ import CombinationApi from '@/sheep/api/promotion/combination'; import SpuApi from '@/sheep/api/product/spu'; - const headerBg = sheep.$url.css('/static/img/shop/goods/groupon-bg.png'); + const headerBg = '@/static/images/seckill-header.png'; const btnBg = sheep.$url.css('/static/img/shop/goods/groupon-btn.png'); const disabledBtnBg = sheep.$url.css('/static/img/shop/goods/activity-btn-disabled.png'); const grouponBg = sheep.$url.css('/static/img/shop/goods/groupon-tip-bg.png'); @@ -293,7 +293,7 @@ // height: 320rpx; background-size: 100% 100%; border-radius: 10rpx; - background-image: v-bind(headerBg); + background-image: url('@/static/images/seckill-header.png'); background-repeat: no-repeat; .price-box { @@ -417,7 +417,7 @@ font-size: 24rpx; font-weight: 600; margin-left: -36rpx; - background-image: v-bind(btnBg); + background-image: url('@/static/images/groupon-btn.png'); background-repeat: no-repeat; background-size: 100% 100%; color: #ffffff; @@ -430,7 +430,7 @@ font-size: 24rpx; font-weight: 600; margin-left: -36rpx; - background-image: v-bind(disabledBtnBg); + background-image: url('@/static/images/activity-btn-disabled.png'); background-repeat: no-repeat; background-size: 100% 100%; color: #999999; diff --git a/pages/index/page.vue b/pages/index/page.vue index cb37a0c..a54586b 100644 --- a/pages/index/page.vue +++ b/pages/index/page.vue @@ -3,6 +3,7 @@