Browse Source

配送fix

dev_delivery
jiazhipeng 21 hours ago
parent
commit
efa365988f
  1. 8
      static/js/request.js
  2. 2
      subPackages/pointsMall/order.vue
  3. 2
      subPackages/techan/cartOrder1.vue
  4. 11
      subPackages/techan/detail.vue
  5. 13
      subPackages/techan/index.vue
  6. 4
      subPackages/techan/order.vue

8
static/js/request.js

@ -3,10 +3,10 @@ import store from '@/store';
// 定义 API URL
// const DEV_API_URL = 'https://api.cloud.sz-trip.com';
const DEV_API_URL = 'https://api.sutenong.com'
const PROD_API_URL = 'https://api.sutenong.com';
// const DEV_API_URL = 'https://swsz.api.js-dyyj.com';
// const PROD_API_URL = 'https://swsz.api.js-dyyj.com';
// const DEV_API_URL = 'https://api.sutenong.com'
// const PROD_API_URL = 'https://api.sutenong.com';
const DEV_API_URL = 'https://swsz.api.js-dyyj.com';
const PROD_API_URL = 'https://swsz.api.js-dyyj.com';
const NEWAPIURL = process.env.NODE_ENV === 'development' ? DEV_API_URL : PROD_API_URL;
// 获取token

2
subPackages/pointsMall/order.vue

@ -88,7 +88,7 @@
立即配送
</view>
<!-- <view class="pointAddressText text-overflow" v-else>选择收货地址</view> -->
<uni-icons style="height: 36rpx;" type="right" size="18"></uni-icons>
<!-- <uni-icons style="height: 36rpx;" type="right" size="18"></uni-icons> -->
</view>
</view>
</view>

2
subPackages/techan/cartOrder1.vue

@ -32,7 +32,7 @@
<view class="pointAddressText text-overflow">
立即配送
</view>
<uni-icons style="height: 36rpx;" type="right" size="18"></uni-icons>
<!-- <uni-icons style="height: 36rpx;" type="right" size="18"></uni-icons> -->
</view>
</view>
</view>

11
subPackages/techan/detail.vue

@ -46,10 +46,15 @@
<view class="title text-overflowRows">{{ info.title }}</view>
<view class="title text-overflowRows" style="font-weight: 500;font-size: 24rpx;color: #999999;">{{ info.subtitle }}</view>
<view class="tag no-scrollbar" v-if="info.delivery_method">
<!-- <view class="tag no-scrollbar" v-if="info.delivery_method">
<view class="tag-item" v-for="(item, index) in info.delivery_method_str" :key="index">
支持{{ item }}
</view>
</view> -->
<view class="tag no-scrollbar" v-if="info.display_tags">
<view class="tag-item" v-for="(item, index) in info.display_tags.split(',')" :key="index">
{{ item }}
</view>
</view>
<view class="cert-box" style="padding-top: 1rpx;" v-if="certObj">
@ -73,9 +78,9 @@
</view>
</view>
</view>
<view class="price-box display-tag text-overflow" v-if="info.display_tags">
<!-- <view class="price-box display-tag text-overflow" v-if="info.display_tags">
限制{{info.display_tags.split(',').join(' | ')}}
</view>
</view> -->
<view style="width: 100%;height: 20rpx;background: #F7F7F7;"></view>
<commentListVue v-if="id" :prodId="id"></commentListVue>

13
subPackages/techan/index.vue

@ -189,7 +189,6 @@
<view @click="closePopup" style="padding: 31rpx 0 0 639rpx;width: 50rpx;height: 80rpx;">
<uni-icons type="closeempty" size="24"></uni-icons>
</view>
<view class="bottom-productImg">
<image :src="showImg(sku[productIndex].headimg)" alt=""></image>
<view class="right-content">
@ -250,13 +249,13 @@
</view>
</view>
</view>
</view>
<view class="placeholder-content">
<view style="height: 100rpx;"></view>
<view class="btn-cover">
<view class="btn" @click.stop="addToCart">加入购物车</view>
<view class="placeholder-content">
<view class="btn-cover">
<view class="btn" @click.stop="addToCart">加入购物车</view>
</view>
</view>
</view>
</uni-popup>
<!-- 全部分类 -->
@ -1120,6 +1119,7 @@
.placeholder-content{
background: white;
position: relative;
height: 148rpx;
.btn-cover{
z-index: 200;
position: fixed;
@ -1131,6 +1131,7 @@
align-items: center;
justify-content: center;
box-shadow: 0rpx 0rpx 16rpx 0rpx rgba(6,0,1,0.1);
left: 0;
.btn{
width: 670rpx;
height: 78rpx;

4
subPackages/techan/order.vue

@ -88,7 +88,7 @@
立即配送
</view>
<!-- <view class="pointAddressText text-overflow" v-else>选择收货地址</view> -->
<uni-icons style="height: 36rpx;" type="right" size="18"></uni-icons>
<!-- <uni-icons style="height: 36rpx;" type="right" size="18"></uni-icons> -->
</view>
</view>
</view>
@ -641,6 +641,7 @@ export default {
sku.buyNum += 1;
if (this.flag) {
this.getPost();
this.getDeliveryPost()
}
});
},
@ -652,6 +653,7 @@ export default {
sku.buyNum -= 1;
if (this.flag) {
this.getPost();
this.getDeliveryPost()
}
});
}

Loading…
Cancel
Save