Commit 72110389593b40bfb14a77879b2fcc2470be29f6

Authored by pengye
1 parent 60abca8d

提前点餐菜品分类根据选择的主题颜色显示

@@ -163,7 +163,7 @@ @@ -163,7 +163,7 @@
163 </view> 163 </view>
164 </my-modal> 164 </my-modal>
165 <my-modal id="classifyModal" fadeStyle="slideDown" height="100%" opacity="0"> 165 <my-modal id="classifyModal" fadeStyle="slideDown" height="100%" opacity="0">
166 - <view slot="modalContent" class="assortModel"> 166 + <view slot="modalContent" class="assortModel" style="background: rgba({{themeColor}});color:rgba({{textColor}})">
167 <scroll-view scroll-y="true" style="height: 70%;"> 167 <scroll-view scroll-y="true" style="height: 70%;">
168 <view class="boxs"> 168 <view class="boxs">
169 <view wx:for="{{assortArr}}" wx:key="id" class="assortItem font48r {{toView==('inToView'+item.id)?'underline':''}}" data-item="{{item}}" bindtap="checkItem"> 169 <view wx:for="{{assortArr}}" wx:key="id" class="assortItem font48r {{toView==('inToView'+item.id)?'underline':''}}" data-item="{{item}}" bindtap="checkItem">
@@ -171,6 +171,6 @@ @@ -171,6 +171,6 @@
171 </view> 171 </view>
172 </view> 172 </view>
173 </scroll-view> 173 </scroll-view>
174 - <image class="assortImg" bindtap="closeClassifyModal" src="https://qn.colorcun.com/WechatIMG807.png" mode="" /> 174 + <image class="assortImg" bindtap="closeClassifyModal" src="{{textColor=='0,0,0,1'?'https://qn.colorcun.com/GroupBottom.png':'https://qn.colorcun.com/WechatIMG807.png'}}" mode="" />
175 </view> 175 </view>
176 </my-modal> 176 </my-modal>
@@ -405,7 +405,6 @@ page { @@ -405,7 +405,6 @@ page {
405 405
406 .assortItem { 406 .assortItem {
407 text-align: center; 407 text-align: center;
408 - color: #ffffff;  
409 font-family: PingFang SC; 408 font-family: PingFang SC;
410 padding: 30rpx 0; 409 padding: 30rpx 0;
411 } 410 }