Commit 8f16b951e6a20a8f935163dca1b3d39672de804a
1 parent
7d83448b
自定义门店控制能够选择背景颜色和字体颜色
Showing
1 changed file
with
2 additions
and
1 deletions
components/diy_store_select/diy_store_select.wxml
1 | +<!-- 如果是自定义模板的时候 --> | |
1 | 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 | 4 | <image class="logo_box circle" src="{{url+store_config.store_logo}}"></image>{{top_store?top_store.pickup_name+'[切换]':'请选择门店'}} |
4 | 5 | </view> |
5 | 6 | </block> | ... | ... |