Commit 8f16b951e6a20a8f935163dca1b3d39672de804a

Authored by yvan.ni
1 parent 7d83448b

自定义门店控制能够选择背景颜色和字体颜色

components/diy_store_select/diy_store_select.wxml
  1 +<!-- 如果是自定义模板的时候 -->
1 <block wx:if="{{object}}"> 2 <block wx:if="{{object}}">
2 - <view class="store_sele1 flex ai_c" bindtap="sele_top_store"> 3 + <view class="store_sele1 flex ai_c" bindtap="sele_top_store" style="background-color:{{object.bgcolor}};color: {{object.word_color}};">
3 <image class="logo_box circle" src="{{url+store_config.store_logo}}"></image>{{top_store?top_store.pickup_name+'[切换]':'请选择门店'}} 4 <image class="logo_box circle" src="{{url+store_config.store_logo}}"></image>{{top_store?top_store.pickup_name+'[切换]':'请选择门店'}}
4 </view> 5 </view>
5 </block> 6 </block>