|
...
|
...
|
@@ -125,164 +125,125 @@ |
|
|
|
<text space="nbsp" class="items font24r" wx:if="{{item.type == '2'}}">{{item.content}}</text>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
<!-- 品牌介绍类型 图文合并 -->
|
|
|
|
<!-- (必须有图 && 新模板的图文合并开启 && 图片展示开启 && 文字展示开启) || (新模板的图文合并字段不存在代表老数据 && store.style 1图文合并)-->
|
|
|
|
<view class="introduce" wx:if="{{(store && store.images.length && store.is_above && store.is_above=='1' && store.is_images=='1' && store.is_introduce=='1') || (store && !store.is_above && store.style=='1')}}">
|
|
|
|
<view class="IntroductionItems" wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
|
|
|
|
<view class="imgMask">
|
|
|
|
<image src="{{item}}" mode="widthFix" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{store.images}}"/>
|
|
|
|
<view class="IntroduceColor Introducepublic" wx:if="{{arryIndex=='0'}}">
|
|
|
|
<view class="englishText font28r">Introduce</view>
|
|
|
|
<view class="chefText font32r">品牌介绍</view>
|
|
|
|
<view class="shopName font32r">
|
|
|
|
{{store.seller_name}}
|
|
|
|
</view>
|
|
|
|
<view class="labelBox labelBox2">
|
|
|
|
<view class="line">
|
|
|
|
<!-- 餐厅介绍 -->
|
|
|
|
<block wx:if="{{marketing.logo || home.image || ((store.introduce && (!store.is_introduce || store.is_introduce!='0')) || (store.images.length>0 && (!store.is_images || store.is_images!='0')) || (store.content && store.content.length>0))}}">
|
|
|
|
<view class="introduceBox">
|
|
|
|
<block wx:if="{{(marketing && marketing.logo && (!marketing.is_logo || marketing.is_logo!='0')) || (store.introduce && (!store.is_introduce || store.is_introduce!='0')) || (home.image && (!home.id_first_image || home.id_first_image!='0'))}}">
|
|
|
|
<view wx:if="{{titleType}}" class="chefText font36r">
|
|
|
|
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="{{store.title ? store.title : '餐厅介绍'}}"></titleStyle>
|
|
|
|
</view>
|
|
|
|
<image wx:if="{{marketing.logo}}" src="{{marketing.logo}}" bindtap="lookImgs" data-url="{{marketing.logo}}" mode="widthFix" />
|
|
|
|
<image wx:if="{{home.image}}" src="{{home.image}}" bindtap="lookImgs" data-url="{{home.image}}" class="homeImage" mode="widthFix"></image>
|
|
|
|
<view class="labelBox" wx:if="{{store.introduce && (!store.is_introduce || store.is_introduce!='0')}}">
|
|
|
|
<text space="nbsp" class="texts">{{store.introduce}}</text>
|
|
|
|
</view>
|
|
|
|
<block wx:if="{{store.images.length>0 && (!store.is_images || store.is_images!='0')}}">
|
|
|
|
<block wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
|
|
|
|
<image src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{store.images}}" mode="widthFix" />
|
|
|
|
</block>
|
|
|
|
</block>
|
|
|
|
<view class="contentBox" wx:if="{{store.content && store.content.length>0}}">
|
|
|
|
<block wx:for="{{store.content}}">
|
|
|
|
<image wx:if="{{item.type == '1'}}" bindtap="lookImgs" src="{{item.content}}" data-url="{{item.content}}" mode="widthFix" />
|
|
|
|
<text wx:if="{{item.type == '2'}}" space="nbsp" class="texts font32r">{{item.content}}</text>
|
|
|
|
<view wx:if="{{item.type == '3'}}" class="videoBox">
|
|
|
|
<video
|
|
|
|
object-fit="contain"
|
|
|
|
autoplay="{{true}}"
|
|
|
|
loop="{{true}}"
|
|
|
|
muted="{{true}}"
|
|
|
|
show-mute-btn="{{true}}"
|
|
|
|
vslide-gesture-in-fullscreen="{{true}}"
|
|
|
|
src="{{item.content}}"
|
|
|
|
></video>
|
|
|
|
</view>
|
|
|
|
<text space="nbsp" class="label" wx:if="{{store.introduce}}">{{store.introduce}}</text>
|
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{seller && seller.sid == '8'}}" class="videoBox">
|
|
|
|
<video
|
|
|
|
style="margin-bottom: 20rpx;"
|
|
|
|
object-fit="contain"
|
|
|
|
autoplay="{{true}}"
|
|
|
|
loop="{{true}}"
|
|
|
|
muted="{{true}}"
|
|
|
|
show-mute-btn="{{true}}"
|
|
|
|
vslide-gesture-in-fullscreen="{{true}}"
|
|
|
|
src="https://qn.colorcun.com/201_1733735811.mp4"
|
|
|
|
></video>
|
|
|
|
<video
|
|
|
|
object-fit="contain"
|
|
|
|
autoplay="{{true}}"
|
|
|
|
loop="{{true}}"
|
|
|
|
muted="{{true}}"
|
|
|
|
show-mute-btn="{{true}}"
|
|
|
|
vslide-gesture-in-fullscreen="{{true}}"
|
|
|
|
src="https://qn.colorcun.com/WeChatVideo1.mp4"
|
|
|
|
></video>
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{seller && seller.sid == '8'}}" class="videoBox">
|
|
|
|
<video
|
|
|
|
object-fit="contain"
|
|
|
|
autoplay="{{true}}"
|
|
|
|
loop="{{true}}"
|
|
|
|
muted="{{true}}"
|
|
|
|
show-mute-btn="{{true}}"
|
|
|
|
vslide-gesture-in-fullscreen="{{true}}"
|
|
|
|
src="https://qn.colorcun.com/WeChatVideo2.mp4"
|
|
|
|
></video>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- 品牌介绍类型 图文分开 -->
|
|
|
|
<view class="introduce" wx:else>
|
|
|
|
<view class="IntroductionItems" wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
|
|
|
|
<view class="imgMask">
|
|
|
|
<view class="IntroduceColor styleSeparate" wx:if="{{store && arryIndex=='0' && ((!store.is_introduce || store.is_introduce!='0') || (!store.is_images || store.is_images!='0'))}}">
|
|
|
|
<view class="englishText font28r">Introduce</view>
|
|
|
|
<view class="chefText">品牌介绍</view>
|
|
|
|
<view class="shopName styleShopName">
|
|
|
|
{{store.seller_name}}
|
|
|
|
</view>
|
|
|
|
<view class="labelBox">
|
|
|
|
<view class="line"></view>
|
|
|
|
<text space="nbsp" class="label styleLabel">{{store.introduce}}</text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<image wx:if="{{store && (!store.is_images || store.is_images!='0')}}" src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{store.images}}" mode="widthFix" />
|
|
|
|
</block>
|
|
|
|
<!-- 主厨介绍 -->
|
|
|
|
<block wx:if="{{chef && ((chef.introduce && (!chef.is_introduce || chef.is_introduce!='0')) || (chef.image && (!chef.is_images || chef.is_images!='0')) || (chef.content && chef.content.length>0))}}">
|
|
|
|
<view class="introduceBox famousChefBox" wx:if="{{chef && ((!chef.is_introduce || chef.is_introduce!='0') || (!chef.is_images || chef.is_images!='0'))}}">
|
|
|
|
<view wx:if="{{titleType}}" class="chefText font36r">
|
|
|
|
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="{{chef.title ? chef.title : '主厨介绍'}}"></titleStyle>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{seller && seller.sid == '8'}}" class="videoBox">
|
|
|
|
<video
|
|
|
|
style="margin-bottom: 20rpx;"
|
|
|
|
object-fit="contain"
|
|
|
|
autoplay="{{true}}"
|
|
|
|
loop="{{true}}"
|
|
|
|
muted="{{true}}"
|
|
|
|
show-mute-btn="{{true}}"
|
|
|
|
vslide-gesture-in-fullscreen="{{true}}"
|
|
|
|
src="https://qn.colorcun.com/201_1733735811.mp4"
|
|
|
|
></video>
|
|
|
|
<video
|
|
|
|
object-fit="contain"
|
|
|
|
autoplay="{{true}}"
|
|
|
|
loop="{{true}}"
|
|
|
|
muted="{{true}}"
|
|
|
|
show-mute-btn="{{true}}"
|
|
|
|
vslide-gesture-in-fullscreen="{{true}}"
|
|
|
|
src="https://qn.colorcun.com/WeChatVideo1.mp4"
|
|
|
|
></video>
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{seller && seller.sid == '8'}}" class="videoBox">
|
|
|
|
<video
|
|
|
|
object-fit="contain"
|
|
|
|
autoplay="{{true}}"
|
|
|
|
loop="{{true}}"
|
|
|
|
muted="{{true}}"
|
|
|
|
show-mute-btn="{{true}}"
|
|
|
|
vslide-gesture-in-fullscreen="{{true}}"
|
|
|
|
src="https://qn.colorcun.com/WeChatVideo2.mp4"
|
|
|
|
></video>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- 知名主厨类型chef.style 0不显示 1图文合并 2图文分开 -->
|
|
|
|
<!-- 知名主厨类型chef is_introduce是否展示文字介绍 is_images是否展示介绍图片 is_above餐厅介绍文字是否显示在第一张图片上-->
|
|
|
|
<view class="introduce famousChefBox" wx:if="{{(chef && chef.image && chef.is_above && chef.is_above=='1' && chef.is_images=='1' && chef.is_introduce=='1') || (chef && !chef.is_above && chef.style=='1')}}">
|
|
|
|
<view class="IntroductionItems">
|
|
|
|
<view class="imgMask">
|
|
|
|
<image src="{{chef.image}}" mode="widthFix" bindtap="lookImgs" data-url="{{chef.image}}" />
|
|
|
|
<view class="IntroduceColor Introducepublic">
|
|
|
|
<view class="englishText font28r">Chief Cook</view>
|
|
|
|
<view class="chefText">知名主厨</view>
|
|
|
|
<view class="shopName" wx:if="{{chef.chef_name}}">
|
|
|
|
{{chef.chef_name}}
|
|
|
|
</view>
|
|
|
|
<view class="labelBox labelBox2">
|
|
|
|
<text space="nbsp" class="label" wx:if="{{chef.introduce}}">{{chef.introduce}}
|
|
|
|
</text>
|
|
|
|
<view class="line line1">
|
|
|
|
</view>
|
|
|
|
<view class="labelBox" wx:if="{{(chef.introduce && (!chef.is_introduce || chef.is_introduce!='0'))}}">
|
|
|
|
<text space="nbsp" class="texts">{{chef.introduce}}</text>
|
|
|
|
</view>
|
|
|
|
<image wx:if="{{(!chef.is_images || chef.is_images!='0') && chef.image}}" src="{{chef.image}}"bindtap="lookImgs" data-url="{{chef.image}}" mode="widthFix" />
|
|
|
|
<view class="contentBox" wx:if="{{chef.content && chef.content.length>0}}">
|
|
|
|
<block wx:for="{{chef.content}}">
|
|
|
|
<image wx:if="{{item.type == '1'}}" bindtap="lookImgs" src="{{item.content}}" data-url="{{item.content}}" mode="widthFix" />
|
|
|
|
<text wx:if="{{item.type == '2'}}" space="nbsp" class="texts font32r">{{item.content}}</text>
|
|
|
|
<view wx:if="{{item.type == '3'}}" class="videoBox">
|
|
|
|
<video
|
|
|
|
object-fit="contain"
|
|
|
|
autoplay="{{true}}"
|
|
|
|
loop="{{true}}"
|
|
|
|
muted="{{true}}"
|
|
|
|
show-mute-btn="{{true}}"
|
|
|
|
vslide-gesture-in-fullscreen="{{true}}"
|
|
|
|
src="{{item.content}}"
|
|
|
|
></video>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="introduce famousChefBox" wx:else>
|
|
|
|
<view class="IntroductionItems">
|
|
|
|
<view class="imgMask">
|
|
|
|
<view class="IntroduceColor styleSeparate2" wx:if="{{chef && chef.style!='0' && chef.introduce && ((!chef.is_introduce || chef.is_introduce!='0') || (!chef.is_images || chef.is_images!='0'))}}">
|
|
|
|
<block wx:if="{{!chef.is_introduce || chef.is_introduce!='0'}}">
|
|
|
|
<view class="englishText font28r">Chief Cook</view>
|
|
|
|
<view class="chefText">知名主厨</view>
|
|
|
|
<view class="shopName styleShopName" wx:if="{{chef.chef_name}}">
|
|
|
|
{{chef .chef_name}}
|
|
|
|
</view>
|
|
|
|
<view class="labelBox labelBox1">
|
|
|
|
<view class="line">
|
|
|
|
</view>
|
|
|
|
<text space="nbsp" class="label styleLabel" wx:if="{{!chef.is_introduce || chef.is_introduce!='0'}}">{{chef.introduce}}
|
|
|
|
</text>
|
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
</block>
|
|
|
|
<!-- 特色菜品 -->
|
|
|
|
<view class="introduceBox vegetableBox" wx:if="{{signboard && ((signboard.swich=='1' && signboard.images && signboard.images.length>0) || (signboard.content && signboard.content.length>0))}}">
|
|
|
|
<view wx:if="{{titleType}}" class="chefText font36r">
|
|
|
|
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="{{signboard.title ? signboard.title : '特色菜品'}}"></titleStyle>
|
|
|
|
</view>
|
|
|
|
<block wx:for="{{signboard.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
|
|
|
|
<image src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{signboard.images}}" mode="widthFix" />
|
|
|
|
</block>
|
|
|
|
<view class="contentBox" wx:if="{{signboard.content && signboard.content.length>0}}">
|
|
|
|
<block wx:for="{{signboard.content}}">
|
|
|
|
<image wx:if="{{item.type == '1'}}" bindtap="lookImgs" src="{{item.content}}" data-url="{{item.content}}" mode="widthFix" />
|
|
|
|
<text wx:if="{{item.type == '2'}}" space="nbsp" class="texts font32r">{{item.content}}</text>
|
|
|
|
<view wx:if="{{item.type == '3'}}" class="videoBox">
|
|
|
|
<video
|
|
|
|
object-fit="contain"
|
|
|
|
autoplay="{{true}}"
|
|
|
|
loop="{{true}}"
|
|
|
|
muted="{{true}}"
|
|
|
|
show-mute-btn="{{true}}"
|
|
|
|
vslide-gesture-in-fullscreen="{{true}}"
|
|
|
|
src="{{item.content}}"
|
|
|
|
></video>
|
|
|
|
</view>
|
|
|
|
<image wx:if="{{chef && (!chef.is_images || chef.is_images!='0')}}" src="{{chef.image}}" bindtap="lookImgs" data-url="{{chef.image}}" mode="widthFix" />
|
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- 菜品展示 swich为1展示 -->
|
|
|
|
<view class="introduce vegetableBox" wx:if="{{signboard && signboard.swich=='1'}}">
|
|
|
|
<view class="IntroductionItems" wx:for="{{signboard.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
|
|
|
|
<view class="imgMask">
|
|
|
|
<image src="{{item}}" mode="widthFix" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{signboard.images}}"/>
|
|
|
|
<view class="IntroduceColor Introducepublic" wx:if="{{arryIndex=='0'}}">
|
|
|
|
<view class="englishText font28r">Favorites</view>
|
|
|
|
<view class="chefText">菜品展示</view>
|
|
|
|
<!-- 停车指引 -->
|
|
|
|
<view class="introduceBox stopBox" wx:if="{{reserve && (reserve.swich_park=='1' && (reserve.park_info || reserve.park_info_images) || (reserve.content && reserve.content.length>0))}}">
|
|
|
|
<view wx:if="{{titleType}}" class="chefText font36r">
|
|
|
|
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="{{reserve.title ? reserve.title : '停车指引'}}"></titleStyle>
|
|
|
|
</view>
|
|
|
|
<view class="labelBox" wx:if="{{reserve.park_info}}">
|
|
|
|
<text space="nbsp" class="texts">{{reserve.park_info}}</text>
|
|
|
|
</view>
|
|
|
|
<block wx:for="{{reserve.park_info_images}}" wx:key="arryIndex" wx:for-index="arryIndex">
|
|
|
|
<image src="{{item}}" mode="widthFix" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{reserve.park_info_images}}"/>
|
|
|
|
</block>
|
|
|
|
<view class="contentBox" wx:if="{{reserve.content && reserve.content.length>0}}">
|
|
|
|
<block wx:for="{{reserve.content}}">
|
|
|
|
<image wx:if="{{item.type == '1'}}" bindtap="lookImgs" src="{{item.content}}" data-url="{{item.content}}" mode="widthFix" />
|
|
|
|
<text wx:if="{{item.type == '2'}}" space="nbsp" class="texts font32r">{{item.content}}</text>
|
|
|
|
<view wx:if="{{item.type == '3'}}" class="videoBox">
|
|
|
|
<video
|
|
|
|
object-fit="contain"
|
|
|
|
autoplay="{{true}}"
|
|
|
|
loop="{{true}}"
|
|
|
|
muted="{{true}}"
|
|
|
|
show-mute-btn="{{true}}"
|
|
|
|
vslide-gesture-in-fullscreen="{{true}}"
|
|
|
|
src="{{item.content}}"
|
|
|
|
></video>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="specialServices" wx:if="{{detail.status !='4' && options.isOrder != '1' && hasValueOrder && detail && detail.seller.is_open_order==1 && marketing && marketing.is_order=='1'}}">
|
...
|
...
|
|