This commit is contained in:
yangtao 2024-03-26 15:18:29 +08:00
parent 1381ffe774
commit 1faf50d4d4
1 changed files with 11 additions and 10 deletions

View File

@ -33,24 +33,25 @@
</view>
<view class="business">
<view class="business_one">营业中</view>
<view class="business_one" v-if="shopInfo.config">
<view class="business_one" v-if="shopInfo.config&&shopInfo.config.mer_take_day.legnth<7">
<text v-for="(item, index) in shopInfo.config.mer_take_day">{{
" " + week[item]
" " + week[item-1]
}}</text>
</view>
<view class="business_one" v-else>
<text>{{"周一至周日"}}</text>
</view>
<view class="business_one" v-if="shopInfo.config">
<text>{{ shopInfo.config.mer_take_time.join("-") }}</text>
</view>
<!-- <view class="iconfont icon-dianhua"></view> -->
<view class="business_one">
<view> 商家电话15834567081 </view>
<text class="copy" @tap="setCopy(15834567081)">复制</text>
<view class="business_one" v-if="shopInfo.config&&shopInfo.config.mer_take_phone">
<view> 商家电话{{shopInfo.config.mer_take_phone}} </view>
<text class="copy" @tap="setCopy(shopInfo.config.mer_take_phone)">复制</text>
</view>
<view class="business_list">可提供</view>
<view class="business_list" v-if="shopInfo.detail">
<text v-for="(item, index) in shopInfo.detail.services">{{
item
}}</text>
<text v-for="(item, index) in shopInfo.detail.services">{{item}}</text>
</view>
</view>
<view class="tabs">
@ -70,7 +71,7 @@
<!-- #ifdef APP-PLUS -->
<!-- <view v-if="description.type == 0" class="description" v-html="description.content.replace(/<br\/>/ig, '')"></view> -->
<!-- #endif -->
<view class="product_content" v-html="shopInfo.detail.detail"></view>
<view class="product_content" v-if="shopInfo.detail" v-html="shopInfo.detail.detail"></view>
<!-- <view class="product_content">
欢迎来到我们的火锅店我们是一个有着悠久历史和传统美食文化的品牌我们的火锅是采用新鲜的食材和秘制的调料烹饪而成每一口都充满了浓郁的鲜香和醇厚的口感
</view>
@ -96,7 +97,7 @@ export default {
shopInfo: {
swiper_image: [{ img: "/static/images/shop_bg.png" }],
},
week: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
week: [ "周一", "周二", "周三", "周四", "周五", "周六","周日"],
tabList: [{ name: "商家信息" }],
actIndex: 0,
id: 0,