|
@@ -49,9 +49,12 @@
|
|
|
</view>
|
|
|
<view class="addr view-wrap">
|
|
|
<view class="addr-line u-flex">
|
|
|
- <view class="info-til">快递</view>
|
|
|
+ <view class="info-til">提货方式</view>
|
|
|
<view class="info-con u-flex">
|
|
|
- 包邮
|
|
|
+ <text v-for="(item,index) in logisticsType" :key="index">
|
|
|
+ {{item|filterLogisticsType}}
|
|
|
+ <text style="margin: 0 5px;" v-if="index<logisticsType.length-1">/</text>
|
|
|
+ </text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="addr-line u-flex" v-if="details.period">
|
|
@@ -170,7 +173,8 @@
|
|
|
mode:'aspectFill',
|
|
|
wxml:'',
|
|
|
posterStyle:{},
|
|
|
- posterSrc:''
|
|
|
+ posterSrc:'',
|
|
|
+ logisticsType:[],
|
|
|
}
|
|
|
},
|
|
|
onLoad(page) {
|
|
@@ -221,6 +225,7 @@
|
|
|
this.loadingPage = false;
|
|
|
// console.log('res',res.data);
|
|
|
this.details = res.data;
|
|
|
+ this.logisticsType = res.data.logisticsType?.split(",")||[];
|
|
|
if(!res.data.slideImgList&&res.data.mainImg){
|
|
|
this.details.slideImgList = [];
|
|
|
this.details.slideImgList.push(res.data.mainImg)
|