diff --git a/manifest.json b/manifest.json index 52c3903..d4665ed 100644 --- a/manifest.json +++ b/manifest.json @@ -196,9 +196,14 @@ "plugins": {}, "lazyCodeLoading": "requiredComponents", "usingComponents": {}, - "permission": {}, + "permission": { + "scope.userLocation": { + "desc": "你的位置信息将用于选择定位" + } + }, "requiredPrivateInfos": [ - "chooseAddress" + "chooseAddress", + "getLocation" ] }, "mp-alipay": { diff --git a/pages/activity/point/exchange_listall.vue b/pages/activity/point/exchange_listall.vue index 56c0ae6..e736f86 100644 --- a/pages/activity/point/exchange_listall.vue +++ b/pages/activity/point/exchange_listall.vue @@ -1,100 +1,48 @@ + - - \ No newline at end of file + \ No newline at end of file diff --git a/pages/user/goods_details_store/index.vue b/pages/user/goods_details_store/index.vue index 12d14bb..8bad3cc 100644 --- a/pages/user/goods_details_store/index.vue +++ b/pages/user/goods_details_store/index.vue @@ -1,275 +1,348 @@ + .store-phone { + width: 50rpx; + height: 50rpx; + color: #fff; + border-radius: 50%; + display: block; + text-align: center; + line-height: 48rpx; + background-color: #e83323; + margin-bottom: 22rpx; + text-decoration: none; + } + + .store-distance { + font-size: 22rpx; + color: #e83323; + flex-wrap: wrap; + + .addressTxt { + width: 100%; + text-align: center; + margin-bottom: 10px; + } + + .tb { + display: flex; + align-items: center; + justify-content: space-around; + + .img { + width: 30px; + height: 30px; + } + } + } + + .iconfont { + font-size: 20rpx; + } + + .row-right { + flex: 1; + margin-left:10px; + //display: flex; + //flex-direction: column; + //align-items: flex-end; + //width: 33.5%; + } + \ No newline at end of file diff --git a/pages/user/user_vip/index.vue b/pages/user/user_vip/index.vue index cfdb77a..c5def16 100644 --- a/pages/user/user_vip/index.vue +++ b/pages/user/user_vip/index.vue @@ -271,7 +271,7 @@ .swiper { position: relative; - top: -353px; + top: -288px; .new-img { width: 90%; @@ -300,7 +300,7 @@ background-repeat: no-repeat; background-size: 100% 100%; width: 100%; - height: 415px; + height: 348px; background-color: #3b5086; .picTxt { @@ -351,8 +351,8 @@ background-repeat: no-repeat; background-size: 100% 100%; width: 690rpx; - height: 360rpx; - margin: -315px auto 0 auto; + height: 144px; + margin: -275px auto 0 auto; border-radius: 23rpx; padding: 22rpx 27rpx; box-sizing: border-box; @@ -535,7 +535,7 @@ .public_title { color: #282828; font-size: 30rpx; - + align-items: center; .icons { width: 6rpx; height: 28rpx; diff --git a/sheep/api/trade/delivery.js b/sheep/api/trade/delivery.js index b8004f6..136e51f 100644 --- a/sheep/api/trade/delivery.js +++ b/sheep/api/trade/delivery.js @@ -9,9 +9,10 @@ const DeliveryApi = { }); }, // 获得自提门店列表 - getDeliveryPickUpStoreList: () => { + getDeliveryPickUpStoreList: (data) => { return request({ url: `/trade/delivery/pick-up-store/list`, + params:data, method: 'get', }); }, diff --git a/sheep/components/s-goods-column/s-goods-column.vue b/sheep/components/s-goods-column/s-goods-column.vue index 63c10a4..9507fe9 100644 --- a/sheep/components/s-goods-column/s-goods-column.vue +++ b/sheep/components/s-goods-column/s-goods-column.vue @@ -369,7 +369,7 @@ import { PromotionActivityTypeEnum } from '@/sheep/util/const'; - +console.log(PromotionActivityTypeEnum,"PromotionActivityTypeEnum") // 接收参数 const props = defineProps({ goodsFields: { diff --git a/sheep/components/s-point-block/s-point-block.vue b/sheep/components/s-point-block/s-point-block.vue index 0845269..7c86d35 100644 --- a/sheep/components/s-point-block/s-point-block.vue +++ b/sheep/components/s-point-block/s-point-block.vue @@ -130,6 +130,7 @@ btnBuy, activityIds } = props.data || {}; + const { marginLeft, marginRight @@ -217,7 +218,7 @@ for (const activity of activityList) { state.spuList.push(await getSpuDetail(activity.spuId)); } - + console.log(state.spuList,"state.spuList"); // 循环活动列表 activityList.forEach((activity) => { // 查找对应的 spu 并更新价格