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