Commit f3163a68f41b68dbf784dd45e5fb1804b6d7d86c

Authored by pengye
1 parent fdf52a11

品牌介绍为0只显示图片

@@ -107,7 +107,14 @@ @@ -107,7 +107,14 @@
107 </view> 107 </view>
108 </view> 108 </view>
109 </view> --> 109 </view> -->
110 - <!-- 品牌介绍类型store.style 0无介绍 1图文合并 2图文分开 --> 110 + <!-- 品牌介绍类型store.style 0只有图 1图文合并 2图文分开 -->
  111 + <view class="introduce" wx:if="{{store && store.style=='0'}}">
  112 + <view class="IntroductionItems" wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
  113 + <view class="imgMask">
  114 + <image src="{{item}}" mode="aspectFill" />
  115 + </view>
  116 + </view>
  117 + </view>
111 <view class="introduce" wx:if="{{store && store.style=='1'}}"> 118 <view class="introduce" wx:if="{{store && store.style=='1'}}">
112 <view class="IntroductionItems" wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex"> 119 <view class="IntroductionItems" wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
113 <view class="imgMask"> 120 <view class="imgMask">
@@ -148,7 +155,7 @@ @@ -148,7 +155,7 @@
148 </view> 155 </view>
149 </view> 156 </view>
150 </view> 157 </view>
151 - <!-- 知名主厨类型chef.style 0无介绍 1图文合并 2图文分开 --> 158 + <!-- 知名主厨类型chef.style 0不显示 1图文合并 2图文分开 -->
152 <view class="introduce famousChefBox" wx:if="{{chef && chef.style=='1'}}"> 159 <view class="introduce famousChefBox" wx:if="{{chef && chef.style=='1'}}">
153 <view class="IntroductionItems"> 160 <view class="IntroductionItems">
154 <view class="imgMask"> 161 <view class="imgMask">
@@ -189,6 +196,7 @@ @@ -189,6 +196,7 @@
189 </view> 196 </view>
190 </view> 197 </view>
191 </view> 198 </view>
  199 + <!-- 菜品展示 swich为1展示 -->
192 <view class="introduce vegetableBox" wx:if="{{signboard && signboard.swich=='1'}}"> 200 <view class="introduce vegetableBox" wx:if="{{signboard && signboard.swich=='1'}}">
193 <view class="IntroductionItems" wx:for="{{signboard.images}}" wx:key="arryIndex" wx:for-index="arryIndex"> 201 <view class="IntroductionItems" wx:for="{{signboard.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
194 <view class="imgMask"> 202 <view class="imgMask">