pifa
fanfan 2 months ago
parent 05e2341720
commit d9d1caf3d4
  1. 11
      pages/cart/index.vue
  2. 101
      pages/index/index.vue
  3. 12
      pages/user/index.vue

@ -541,16 +541,23 @@
margin: 0rpx 0 20rpx 0;
.pic {
position: relative;
width: 100%;
align-items: center;
display: flex;
height: 256rpx;
overflow: hidden;
width: 100%;
height: 0;
padding-bottom: 100%;
overflow: hidden;
image {
width: 100%;
height: 100%;
object-fit: cover;
position: absolute;
left: 0;
top: 0
}
}

@ -290,24 +290,24 @@
</view>
</view> -->
<view class="goodsSend">
<view class="sendLeft">
<view class="left_1">
{{item.goods_source}}
</view>
<view class="left_2">
{{Number(item.discount)}}
</view>
</view>
<view class="sendRight">
<text v-if="item.delivery_time==0">24小时内发货</text>
<text v-if="item.delivery_time==1">48小时内发货</text>
<text v-if="item.delivery_time==2">72小时内发货</text>
<text v-if="item.delivery_time==3">7天内发货</text>
<text v-if="item.delivery_time==4">15天内发货</text>
<text v-if="item.delivery_time==5">30天内发货</text>
<text v-if="item.delivery_time==6">45天内发货</text>
</view>
<view class="sendLeft">
<view class="left_1">
{{item.goods_source}}
</view>
<view class="left_2">
{{Number(item.discount)}}
</view>
</view>
<view class="sendRight">
<text v-if="item.delivery_time==0">24小时内发货</text>
<text v-if="item.delivery_time==1">48小时内发货</text>
<text v-if="item.delivery_time==2">72小时内发货</text>
<text v-if="item.delivery_time==3">7天内发货</text>
<text v-if="item.delivery_time==4">15天内发货</text>
<text v-if="item.delivery_time==5">30天内发货</text>
<text v-if="item.delivery_time==6">45天内发货</text>
</view>
</view>
</view>
<!-- </template> -->
<!-- <template v-slot:right="{rightList}">
@ -673,35 +673,35 @@
}
},
methods: {
// 线
handleContact() {
//
const setting = this.setting
//
if (setting.provider == 'wxqykf') {
if (!setting.config.wxqykf.url || !setting.config.wxqykf.corpId) {
this.$toast('客服链接和企业ID不能为空')
return
}
// #ifdef H5
window.open(setting.config.wxqykf.url)
// #endif
// #ifdef MP-WEIXIN
wx.openCustomerServiceChat({
extInfo: {
url: setting.config.wxqykf.url
},
corpId: setting.config.wxqykf.corpId,
success(res) {},
fail(res) {
console.log(res, '企业微信')
}
})
// #endif
}else{
this.$toast('暂不支持企业微信客服')
}
// 线
handleContact() {
//
const setting = this.setting
//
if (setting.provider == 'wxqykf') {
if (!setting.config.wxqykf.url || !setting.config.wxqykf.corpId) {
this.$toast('客服链接和企业ID不能为空')
return
}
// #ifdef H5
window.open(setting.config.wxqykf.url)
// #endif
// #ifdef MP-WEIXIN
wx.openCustomerServiceChat({
extInfo: {
url: setting.config.wxqykf.url
},
corpId: setting.config.wxqykf.corpId,
success(res) {},
fail(res) {
console.log(res, '企业微信')
}
})
// #endif
} else {
this.$toast('暂不支持企业微信客服')
}
},
/**
* 获取小程序配置
*/
@ -2048,16 +2048,23 @@
margin: 0rpx 0 20rpx 0;
.pic {
position: relative;
width: 100%;
align-items: center;
display: flex;
height: 256rpx;
overflow: hidden;
width: 100%;
height: 0;
padding-bottom: 100%;
overflow: hidden;
image {
width: 100%;
height: 100%;
object-fit: cover;
position: absolute;
left: 0;
top: 0
}
}

@ -1418,15 +1418,23 @@
margin: 0 0 20rpx 0;
.pic {
position: relative;
width: 100%;
align-items: center;
display: flex;
height: 256rpx;
overflow: hidden;
width: 100%;
height: 0;
padding-bottom: 100%;
overflow: hidden;
image {
width: 100%;
height: 100%;
object-fit: cover;
position: absolute;
left: 0;
top: 0
}
}

Loading…
Cancel
Save