Commit 98f4b5c7d431523433051417abbcbd121b1ce529
1 parent
7abffd26
1.搜索框里面的文字自定义颜色
Showing
1 changed file
with
1 additions
and
1 deletions
components/diy_searchbox/diy_searchbox.wxml
... | ... | @@ -26,7 +26,7 @@ |
26 | 26 | <view class='s2_cen' style='background-color:{{object.inner_bgcolor}}'> |
27 | 27 | <navigator url="/pages/goods/search/search" class="s1_gk_a2"> |
28 | 28 | <image src='/public/static/images/model/select.png'></image> |
29 | - <text>在店铺内搜索</text> | |
29 | + <text style='color:{{object.word_color?object.word_color:"#fff"}}'>在店铺内搜索</text> | |
30 | 30 | </navigator> |
31 | 31 | </view> |
32 | 32 | ... | ... |