This commit is contained in:
parent
a391cc6f8a
commit
aaf4114eda
|
@ -14,7 +14,7 @@
|
||||||
</block>
|
</block>
|
||||||
<view v-else class="upload" @click="seleckImage(0)">
|
<view v-else class="upload" @click="seleckImage(0)">
|
||||||
<view class="iconfont icon-tupian1"></view>
|
<view class="iconfont icon-tupian1"></view>
|
||||||
建议尺寸:710*220PX
|
建议尺寸:710*220px
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="store_avatar flex_a_c_j_sb">
|
<view class="store_avatar flex_a_c_j_sb">
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
<view class="zizhi_box">
|
<view class="zizhi_box">
|
||||||
<view class="text">店铺资质</view>
|
<view class="text">店铺资质</view>
|
||||||
<block v-if="images[3].img">
|
<block v-if="images[3].img">
|
||||||
<u--image :showLoading="true" :src="images[3].img" width="382.46rpx" height="210.53rpx"
|
<u--image :showLoading="true" @click="priviewImg([images[3].img])" :src="images[3].img" width="382.46rpx" height="210.53rpx"
|
||||||
radius="4px"></u--image>
|
radius="4px"></u--image>
|
||||||
</block>
|
</block>
|
||||||
<!-- <view v-else class="zizhi_img" @click="seleckImage(3)">
|
<!-- <view v-else class="zizhi_img" @click="seleckImage(3)">
|
||||||
|
@ -45,13 +45,13 @@
|
||||||
<view class="text flex_a_c"></i>店铺其他资质</view>
|
<view class="text flex_a_c"></i>店铺其他资质</view>
|
||||||
<view class="other-img">
|
<view class="other-img">
|
||||||
<view class="other-item" v-for="(imgArr,index) in imagesArr" :key="index" :style="{marginRight: (index+1)%3==0?'0rpx':'20rpx'}">
|
<view class="other-item" v-for="(imgArr,index) in imagesArr" :key="index" :style="{marginRight: (index+1)%3==0?'0rpx':'20rpx'}">
|
||||||
<u--image :showLoading="true" :src="imgArr" width="210.53rpx" height="210.53rpx"
|
<u--image :showLoading="true" @click="priviewImg(imagesArr, index)" :src="imgArr" width="210.53rpx" height="210.53rpx"
|
||||||
radius="4px" @click="delImgArr(index)" mode="aspectFit"></u--image>
|
radius="4px" ></u--image>
|
||||||
</view>
|
</view>
|
||||||
<view class="avatar_img other-item" @click="seleckImageArr()" :style="{marginRight: (imagesArr.length+1)%3==0?'0rpx':'20rpx'}">
|
<!-- <view class="avatar_img other-item" @click="seleckImageArr()" :style="{marginRight: (imagesArr.length+1)%3==0?'0rpx':'20rpx'}">
|
||||||
<view class="iconfont icon-tupian1"></view>
|
<view class="iconfont icon-tupian1"></view>
|
||||||
建议尺寸:120*120px
|
建议尺寸:120*120px
|
||||||
</view>
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -334,7 +334,9 @@
|
||||||
this.takeName = res.data.mer_take_name
|
this.takeName = res.data.mer_take_name
|
||||||
this.takePhone = res.data.mer_take_phone
|
this.takePhone = res.data.mer_take_phone
|
||||||
this.detailSite = res.data.mer_take_address
|
this.detailSite = res.data.mer_take_address
|
||||||
this.longLati = res.data.mer_take_location.join(',') ?? ''
|
// this.servicePhone = res.data.service_phone
|
||||||
|
this.servicePhone = res.data.mer_phone
|
||||||
|
res.data.mer_take_location ? this.longLati = res.data.mer_take_location?.join(',') : null;
|
||||||
res.data.mer_take_day.forEach((item, i) => {
|
res.data.mer_take_day.forEach((item, i) => {
|
||||||
this.dateWeek[Number(item) - 1].isCheck = true
|
this.dateWeek[Number(item) - 1].isCheck = true
|
||||||
})
|
})
|
||||||
|
@ -343,8 +345,6 @@
|
||||||
this.mer_take_time = res.data.mer_take_time
|
this.mer_take_time = res.data.mer_take_time
|
||||||
this.intro = res.data.mer_info
|
this.intro = res.data.mer_info
|
||||||
this.cruxText = res.data.mer_keyword
|
this.cruxText = res.data.mer_keyword
|
||||||
// this.servicePhone = res.data.service_phone
|
|
||||||
this.servicePhone = res.data.mer_take_phone
|
|
||||||
this.mer_address = res.data.mer_address
|
this.mer_address = res.data.mer_address
|
||||||
this.merState = res.data.mer_state === 1 ? true : false
|
this.merState = res.data.mer_state === 1 ? true : false
|
||||||
this.credit_buy = res.data.credit_buy === 1 ? true : false
|
this.credit_buy = res.data.credit_buy === 1 ? true : false
|
||||||
|
@ -529,6 +529,12 @@
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
priviewImg(url, index=0){
|
||||||
|
uni.previewImage({
|
||||||
|
urls: url,
|
||||||
|
current: index
|
||||||
|
})
|
||||||
|
},
|
||||||
navTo(url){
|
navTo(url){
|
||||||
if(url=='/pages/select_address/select_address_n'){
|
if(url=='/pages/select_address/select_address_n'){
|
||||||
uni.$once('changeAddress', (res)=>{
|
uni.$once('changeAddress', (res)=>{
|
||||||
|
|
Loading…
Reference in New Issue