From aaf4114edaf9bb5680eb08ada6c88b403e492877 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Mon, 25 Dec 2023 14:51:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/product/basicSet.vue | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/pages/product/basicSet.vue b/pages/product/basicSet.vue index 62752b7..e8d1673 100644 --- a/pages/product/basicSet.vue +++ b/pages/product/basicSet.vue @@ -14,7 +14,7 @@ - 建议尺寸:710*220PX + 建议尺寸:710*220px @@ -32,7 +32,7 @@ 店铺资质 - @@ -334,7 +334,9 @@ this.takeName = res.data.mer_take_name this.takePhone = res.data.mer_take_phone 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) => { this.dateWeek[Number(item) - 1].isCheck = true }) @@ -343,8 +345,6 @@ this.mer_take_time = res.data.mer_take_time this.intro = res.data.mer_info 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.merState = res.data.mer_state === 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){ if(url=='/pages/select_address/select_address_n'){ uni.$once('changeAddress', (res)=>{