This commit is contained in:
yangtao 2024-03-26 15:06:44 +08:00
parent 0641684278
commit 27540ff294
1 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
<template>
<view class="shop_details" :style="viewColor">
<view class="head">
<swipers :imgUrls="shopInfo.detail.images"></swipers>
<swipers v-if="shopInfo.detail&&shopInfo.detail.images" :imgUrls="shopInfo.detail.images"></swipers>
<view class="back" @tap="toRouter"
><i class="iconfont icon-xiangzuo"></i
></view>
@ -17,7 +17,7 @@
<text class="iconfont icon-shitixing"></text>
<text>评分{{ shopInfo.service_score }}</text>
</view>
<view class="desc"
<view class="desc" v-if="shopInfo.detail&&shopInfo.detail.promise"
>商家承诺{{
shopInfo.detail.promise ? shopInfo.detail.promise : "啥也没有留下"
}}</view
@ -33,12 +33,12 @@
</view>
<view class="business">
<view class="business_one">营业中</view>
<view class="business_one">
<view class="business_one" v-if="shopInfo.config">
<text v-for="(item, index) in shopInfo.config.mer_take_day">{{
" " + week[item]
}}</text>
</view>
<view class="business_one">
<view class="business_one" v-if="shopInfo.config">
<text>{{ shopInfo.config.mer_take_time.join("-") }}</text>
</view>
<!-- <view class="iconfont icon-dianhua"></view> -->
@ -47,7 +47,7 @@
<text class="copy" @tap="setCopy(15834567081)">复制</text>
</view>
<view class="business_list">可提供</view>
<view class="business_list">
<view class="business_list" v-if="shopInfo.detail">
<text v-for="(item, index) in shopInfo.detail.services">{{
item
}}</text>