|
@@ -559,44 +559,69 @@ |
|
@@ -559,44 +559,69 @@ |
|
559
|
</block>
|
559
|
</block>
|
|
560
|
<block wx:if="{{bookType == '3'}}">
|
560
|
<block wx:if="{{bookType == '3'}}">
|
|
561
|
<!-- 餐厅介绍 -->
|
561
|
<!-- 餐厅介绍 -->
|
|
562
|
- <view class="publicModules" wx:if="{{store && (store.textInfo || store.imgsInfo.length>0 || store.videosInfo.length>0)}}">
|
|
|
|
563
|
- <view class="chefText font36r">
|
|
|
|
564
|
- <view class="line"></view>
|
|
|
|
565
|
- <view class="font36r chefTextInfo">餐厅介绍</view>
|
|
|
|
566
|
- <view class="line"></view>
|
|
|
|
567
|
- </view>
|
|
|
|
568
|
- <view class="labelBox" wx:if="{{store.textInfo}}">
|
|
|
|
569
|
- <text class="texts font28r" space="nbsp">{{store.textInfo}}</text>
|
562
|
+ <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))}}">
|
|
|
|
563
|
+ <view class="publicModules publicModules3" wx:if="{{store}}">
|
|
|
|
564
|
+ <view class="chefText font36r">
|
|
|
|
565
|
+ <view class="line"></view>
|
|
|
|
566
|
+ <view class="font36r chefTextInfo">餐厅介绍</view>
|
|
|
|
567
|
+ <view class="line"></view>
|
|
|
|
568
|
+ </view>
|
|
|
|
569
|
+ <image wx:if="{{marketing.logo}}" src="{{marketing.logo}}" bindtap="lookImgs" data-url="{{marketing.logo}}" mode="widthFix" />
|
|
|
|
570
|
+ <image wx:if="{{home.image}}" src="{{home.image}}" bindtap="lookImgs" data-url="{{home.image}}" class="homeImage" mode="widthFix"></image>
|
|
|
|
571
|
+ <view class="labelBox" wx:if="{{!store.content && store.introduce && (!store.is_introduce || store.is_introduce!='0')}}">
|
|
|
|
572
|
+ <text space="nbsp" class="texts font32r">{{store.introduce}}</text>
|
|
|
|
573
|
+ </view>
|
|
|
|
574
|
+ <block wx:if="{{store.images.length>0 && (!store.is_images || store.is_images!='0')}}">
|
|
|
|
575
|
+ <block wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
|
|
|
|
576
|
+ <image src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{store.images}}" mode="widthFix" />
|
|
|
|
577
|
+ </block>
|
|
|
|
578
|
+ </block>
|
|
|
|
579
|
+ <view class="labelBox" wx:if="{{store.content && store.content.length>0}}">
|
|
|
|
580
|
+ <block wx:for="{{store.content}}">
|
|
|
|
581
|
+ <image wx:if="{{item.type == '1'}}" bindtap="lookImgs" src="{{item.content}}" data-url="{{item.content}}" mode="widthFix" />
|
|
|
|
582
|
+ <text wx:if="{{item.type == '2'}}" space="nbsp" class="texts font32r">{{item.content}}</text>
|
|
|
|
583
|
+ <view wx:if="{{item.type == '3'}}" class="videoBox">
|
|
|
|
584
|
+ <video
|
|
|
|
585
|
+ object-fit="contain"
|
|
|
|
586
|
+ autoplay="{{true}}"
|
|
|
|
587
|
+ loop="{{true}}"
|
|
|
|
588
|
+ muted="{{true}}"
|
|
|
|
589
|
+ show-mute-btn="{{true}}"
|
|
|
|
590
|
+ vslide-gesture-in-fullscreen="{{true}}"
|
|
|
|
591
|
+ src="{{item.content}}"
|
|
|
|
592
|
+ ></video>
|
|
|
|
593
|
+ </view>
|
|
|
|
594
|
+ </block>
|
|
|
|
595
|
+ </view>
|
|
570
|
</view>
|
596
|
</view>
|
|
571
|
- <swiper wx:if="{{store.imgsInfo.length>1}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
|
|
|
|
572
|
- <swiper-item wx:for="{{store.imgsInfo}}" wx:key="index">
|
|
|
|
573
|
- <image mode="aspectFill" class="detailBannerImg" src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{store.imgsInfo}}"></image>
|
|
|
|
574
|
- </swiper-item>
|
|
|
|
575
|
- </swiper>
|
|
|
|
576
|
- <image wx:if="{{store.imgsInfo.length == '1'}}" mode="widthFix" class="detailBannerImg1" src="{{store.imgsInfo[0]}}" bindtap="lookImgs" data-url="{{store.imgsInfo[0]}}" data-imgs="{{store.imgsInfo}}"></image>
|
|
|
|
577
|
- <block wx:for="{{store.videosInfo}}" wx:key="index">
|
|
|
|
578
|
- <video class="boxBlock" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
|
|
|
|
579
|
- </block>
|
|
|
|
580
|
- </view>
|
597
|
+ </block>
|
|
581
|
<!-- 招牌菜品 -->
|
598
|
<!-- 招牌菜品 -->
|
|
582
|
- <view class="publicModules" wx:if="{{signboard && (signboard.textInfo || signboard.imgsInfo.length>0 || signboard.videosInfo.length>0 || (hasValueOrder && openOrder == '1' && marketing.is_order=='1'))}}">
|
599
|
+ <view class="publicModules publicModules3" wx:if="{{signboard && ((signboard.swich=='1' && signboard.images && signboard.images.length>0) || (signboard.content && signboard.content.length>0))}}">
|
|
583
|
<view class="chefText font36r">
|
600
|
<view class="chefText font36r">
|
|
584
|
<view class="line"></view>
|
601
|
<view class="line"></view>
|
|
585
|
<view class="font36r chefTextInfo">招牌菜品</view>
|
602
|
<view class="font36r chefTextInfo">招牌菜品</view>
|
|
586
|
<view class="line"></view>
|
603
|
<view class="line"></view>
|
|
587
|
</view>
|
604
|
</view>
|
|
588
|
- <view class="labelBox" wx:if="{{signboard.textInfo}}">
|
|
|
|
589
|
- <text class="texts font28r" space="nbsp">{{signboard.textInfo}}</text>
|
|
|
|
590
|
- </view>
|
|
|
|
591
|
- <swiper wx:if="{{signboard.imgsInfo.length>1}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
|
|
|
|
592
|
- <swiper-item wx:for="{{signboard.imgsInfo}}" wx:key="index">
|
|
|
|
593
|
- <image mode="aspectFill" class="detailBannerImg" src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{signboard.imgsInfo}}"></image>
|
|
|
|
594
|
- </swiper-item>
|
|
|
|
595
|
- </swiper>
|
|
|
|
596
|
- <image wx:if="{{signboard.imgsInfo.length == '1'}}" mode="widthFix" class="detailBannerImg1" src="{{signboard.imgsInfo[0]}}" bindtap="lookImgs" data-url="{{signboard.imgsInfo[0]}}" data-imgs="{{signboard.imgsInfo}}"></image>
|
|
|
|
597
|
- <block wx:for="{{signboard.videosInfo}}">
|
|
|
|
598
|
- <video class="boxBlock" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
|
605
|
+ <block wx:for="{{signboard.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
|
|
|
|
606
|
+ <image src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{signboard.images}}" mode="widthFix" />
|
|
599
|
</block>
|
607
|
</block>
|
|
|
|
608
|
+ <view class="labelBox" wx:if="{{signboard.content && signboard.content.length>0}}">
|
|
|
|
609
|
+ <block wx:for="{{signboard.content}}">
|
|
|
|
610
|
+ <image wx:if="{{item.type == '1'}}" bindtap="lookImgs" src="{{item.content}}" data-url="{{item.content}}" mode="widthFix" />
|
|
|
|
611
|
+ <text wx:if="{{item.type == '2'}}" space="nbsp" class="texts font32r">{{item.content}}</text>
|
|
|
|
612
|
+ <view wx:if="{{item.type == '3'}}" class="videoBox">
|
|
|
|
613
|
+ <video
|
|
|
|
614
|
+ object-fit="contain"
|
|
|
|
615
|
+ autoplay="{{true}}"
|
|
|
|
616
|
+ loop="{{true}}"
|
|
|
|
617
|
+ muted="{{true}}"
|
|
|
|
618
|
+ show-mute-btn="{{true}}"
|
|
|
|
619
|
+ vslide-gesture-in-fullscreen="{{true}}"
|
|
|
|
620
|
+ src="{{item.content}}"
|
|
|
|
621
|
+ ></video>
|
|
|
|
622
|
+ </view>
|
|
|
|
623
|
+ </block>
|
|
|
|
624
|
+ </view>
|
|
600
|
<view class="orderBox" wx:if="{{hasValueOrder && openOrder == '1' && marketing.is_order=='1'}}">
|
625
|
<view class="orderBox" wx:if="{{hasValueOrder && openOrder == '1' && marketing.is_order=='1'}}">
|
|
601
|
<view class="font32r">提前点餐 到店不用等</view>
|
626
|
<view class="font32r">提前点餐 到店不用等</view>
|
|
602
|
<view wx:if="{{openOrder == '1' && marketing.is_order == '1'}}" bindtap="cookbook" class="font28r cook" style="position: relative;">
|
627
|
<view wx:if="{{openOrder == '1' && marketing.is_order == '1'}}" bindtap="cookbook" class="font28r cook" style="position: relative;">
|
|
@@ -605,44 +630,68 @@ |
|
@@ -605,44 +630,68 @@ |
|
605
|
</view>
|
630
|
</view>
|
|
606
|
</view>
|
631
|
</view>
|
|
607
|
<!-- 主厨介绍 -->
|
632
|
<!-- 主厨介绍 -->
|
|
608
|
- <view class="publicModules" wx:if="{{chef && (chef.textInfo || chef.imgsInfo.length>0 || chef.videosInfo.length>0)}}">
|
|
|
|
609
|
- <view class="chefText font36r">
|
|
|
|
610
|
- <view class="line"></view>
|
|
|
|
611
|
- <view class="font36r chefTextInfo">主厨介绍</view>
|
|
|
|
612
|
- <view class="line"></view>
|
|
|
|
613
|
- </view>
|
|
|
|
614
|
- <view class="labelBox" wx:if="{{chef.textInfo}}">
|
|
|
|
615
|
- <text class="texts font28r" space="nbsp">{{chef.textInfo}}</text>
|
633
|
+ <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))}}">
|
|
|
|
634
|
+ <view class="publicModules publicModules3">
|
|
|
|
635
|
+ <view class="chefText font36r">
|
|
|
|
636
|
+ <view class="line"></view>
|
|
|
|
637
|
+ <view class="font36r chefTextInfo">招牌菜品</view>
|
|
|
|
638
|
+ <view class="line"></view>
|
|
|
|
639
|
+ </view>
|
|
|
|
640
|
+ <view class="labelBox" wx:if="{{(chef.introduce && (!chef.is_introduce || chef.is_introduce!='0'))}}">
|
|
|
|
641
|
+ <text class="texts" space="nbsp">{{chef.introduce}}</text>
|
|
|
|
642
|
+ </view>
|
|
|
|
643
|
+ <image wx:if="{{(!chef.is_images || chef.is_images!='0') && chef.image}}" src="{{chef.image}}" bindtap="lookImgs" data-url="{{chef.image}}" mode="widthFix" />
|
|
|
|
644
|
+ <view class="labelBox" wx:if="{{chef.content && chef.content.length>0}}">
|
|
|
|
645
|
+ <block wx:for="{{chef.content}}">
|
|
|
|
646
|
+ <image wx:if="{{item.type == '1'}}" bindtap="lookImgs" src="{{item.content}}" data-url="{{item.content}}" mode="widthFix" />
|
|
|
|
647
|
+ <text wx:if="{{item.type == '2'}}" space="nbsp" class="texts font32r">{{item.content}}</text>
|
|
|
|
648
|
+ <view wx:if="{{item.type == '3'}}" class="videoBox">
|
|
|
|
649
|
+ <video
|
|
|
|
650
|
+ object-fit="contain"
|
|
|
|
651
|
+ autoplay="{{true}}"
|
|
|
|
652
|
+ loop="{{true}}"
|
|
|
|
653
|
+ muted="{{true}}"
|
|
|
|
654
|
+ show-mute-btn="{{true}}"
|
|
|
|
655
|
+ vslide-gesture-in-fullscreen="{{true}}"
|
|
|
|
656
|
+ src="{{item.content}}"
|
|
|
|
657
|
+ ></video>
|
|
|
|
658
|
+ </view>
|
|
|
|
659
|
+ </block>
|
|
|
|
660
|
+ </view>
|
|
616
|
</view>
|
661
|
</view>
|
|
617
|
- <swiper wx:if="{{chef.imgsInfo.length>1}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
|
|
|
|
618
|
- <swiper-item wx:for="{{chef.imgsInfo}}" wx:key="index">
|
|
|
|
619
|
- <image mode="aspectFill" class="detailBannerImg" src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{chef.imgsInfo}}"></image>
|
|
|
|
620
|
- </swiper-item>
|
|
|
|
621
|
- </swiper>
|
|
|
|
622
|
- <image wx:if="{{chef.imgsInfo.length == '1'}}" mode="widthFix" class="detailBannerImg1" src="{{chef.imgsInfo[0]}}" bindtap="lookImgs" data-url="{{chef.imgsInfo[0]}}" data-imgs="{{chef.imgsInfo}}"></image>
|
|
|
|
623
|
- <block wx:for="{{chef.videosInfo}}" wx:key="index">
|
|
|
|
624
|
- <video class="boxBlock" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
|
|
|
|
625
|
- </block>
|
|
|
|
626
|
- </view>
|
662
|
+ </block>
|
|
627
|
<!-- 停车指引 -->
|
663
|
<!-- 停车指引 -->
|
|
628
|
- <view class="publicModules" wx:if="{{reserve && (reserve.textInfo || reserve.imgsInfo.length>0 || reserve.videosInfo.length>0)}}">
|
664
|
+ <view class="publicModules publicModules3" wx:if="{{reserve && (reserve.is_introduce_all=='1' && (reserve.park_info || reserve.park_info_images) || (reserve.content && reserve.content.length>0))}}">
|
|
629
|
<view class="chefText font36r">
|
665
|
<view class="chefText font36r">
|
|
630
|
<view class="line"></view>
|
666
|
<view class="line"></view>
|
|
631
|
<view class="font36r chefTextInfo">停车指引</view>
|
667
|
<view class="font36r chefTextInfo">停车指引</view>
|
|
632
|
<view class="line"></view>
|
668
|
<view class="line"></view>
|
|
633
|
</view>
|
669
|
</view>
|
|
634
|
- <view class="labelBox" wx:if="{{reserve.textInfo}}">
|
|
|
|
635
|
- <text class="texts font28r" space="nbsp">{{reserve.textInfo}}</text>
|
|
|
|
636
|
- </view>
|
|
|
|
637
|
- <swiper wx:if="{{reserve.imgsInfo.length>1}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
|
|
|
|
638
|
- <swiper-item wx:for="{{reserve.imgsInfo}}" wx:key="index">
|
|
|
|
639
|
- <image mode="aspectFill" class="detailBannerImg" src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{reserve.imgsInfo}}"></image>
|
|
|
|
640
|
- </swiper-item>
|
|
|
|
641
|
- </swiper>
|
|
|
|
642
|
- <image wx:if="{{reserve.imgsInfo.length == '1'}}" mode="widthFix" class="detailBannerImg1" src="{{reserve.imgsInfo[0]}}" bindtap="lookImgs" data-url="{{reserve.imgsInfo[0]}}" data-imgs="{{reserve.imgsInfo}}"></image>
|
|
|
|
643
|
- <block wx:for="{{reserve.videosInfo}}" wx:key="index">
|
|
|
|
644
|
- <video class="boxBlock" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
|
670
|
+ <block wx:if="{{!reserve.content || reserve.content.length == '0'}}">
|
|
|
|
671
|
+ <view class="labelBox" wx:if="{{reserve.park_info}}">
|
|
|
|
672
|
+ <text class="texts" space="nbsp">{{reserve.park_info}}</text>
|
|
|
|
673
|
+ </view>
|
|
|
|
674
|
+ <block wx:for="{{reserve.park_info_images}}" wx:key="arryIndex" wx:for-index="arryIndex">
|
|
|
|
675
|
+ <image src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{reserve.park_info_images}}" mode="widthFix" />
|
|
|
|
676
|
+ </block>
|
|
645
|
</block>
|
677
|
</block>
|
|
|
|
678
|
+ <view class="labelBox" wx:if="{{reserve.content && reserve.content.length>0}}">
|
|
|
|
679
|
+ <block wx:for="{{reserve.content}}">
|
|
|
|
680
|
+ <image wx:if="{{item.type == '1'}}" bindtap="lookImgs" src="{{item.content}}" data-url="{{item.content}}" mode="widthFix" />
|
|
|
|
681
|
+ <text wx:if="{{item.type == '2'}}" space="nbsp" class="texts font32r">{{item.content}}</text>
|
|
|
|
682
|
+ <view wx:if="{{item.type == '3'}}" class="videoBox">
|
|
|
|
683
|
+ <video
|
|
|
|
684
|
+ object-fit="contain"
|
|
|
|
685
|
+ autoplay="{{true}}"
|
|
|
|
686
|
+ loop="{{true}}"
|
|
|
|
687
|
+ muted="{{true}}"
|
|
|
|
688
|
+ show-mute-btn="{{true}}"
|
|
|
|
689
|
+ vslide-gesture-in-fullscreen="{{true}}"
|
|
|
|
690
|
+ src="{{item.content}}"
|
|
|
|
691
|
+ ></video>
|
|
|
|
692
|
+ </view>
|
|
|
|
693
|
+ </block>
|
|
|
|
694
|
+ </view>
|
|
646
|
</view>
|
695
|
</view>
|
|
647
|
<!-- 会员招募 -->
|
696
|
<!-- 会员招募 -->
|
|
648
|
<view wx:if="{{(hasValueRecharge && marketing && marketing.is_recharge=='1' && recharge_data) || (hasValueRecharge && marketing.is_link=='1')}}" class="publicModules introduceBox {{(marketing.is_online_book=='1' && options.onlineReserve == '1') || (detail.status !='4' && options.isOrder != '1' && paymentId && paymentStatus == '0') || (detail.status !='4' && options.isOrder != '1' && marketing.is_transpond=='1' && imgSrc)?'introduceBottom':''}}">
|
697
|
<view wx:if="{{(hasValueRecharge && marketing && marketing.is_recharge=='1' && recharge_data) || (hasValueRecharge && marketing.is_link=='1')}}" class="publicModules introduceBox {{(marketing.is_online_book=='1' && options.onlineReserve == '1') || (detail.status !='4' && options.isOrder != '1' && paymentId && paymentStatus == '0') || (detail.status !='4' && options.isOrder != '1' && marketing.is_transpond=='1' && imgSrc)?'introduceBottom':''}}">
|