Commit 413cb9960e521ccb0e67447359ff1662fed51ccf
1 parent
ae010287
搜索框默认提示语修改
Showing
5 changed files
with
10 additions
and
10 deletions
components/diy_searchbox/diy_searchbox.js
components/diy_searchbox/diy_searchbox.wxml
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | <view bindtap='click_sear' class="s1_gk_a1" wx:if="{{first}}"> |
| 7 | 7 | <view class='s_ge'> |
| 8 | 8 | <image src='{{imghost}}/miniapp/images/search.png'></image> |
| 9 | - <text>在店铺内搜索</text> | |
| 9 | + <text>请输入商品关键字</text> | |
| 10 | 10 | </view> |
| 11 | 11 | </view> |
| 12 | 12 | <!-- 响应搜索事件 --> |
| ... | ... | @@ -39,7 +39,7 @@ |
| 39 | 39 | <view class='s2_cen' style='background-color:{{object.inner_bgcolor}}'> |
| 40 | 40 | <navigator wx:if="{{first}}" bindtap='click_sear' class="s1_gk_a2 flex" style='height: 100%;color:{{object.word_color?object.word_color:"#fff"}}'> |
| 41 | 41 | <text class="iconfont icon-search" style="font-size: 40rpx;"></text> |
| 42 | - <text>在店铺内搜索</text> | |
| 42 | + <text>请输入商品关键字</text> | |
| 43 | 43 | </navigator> |
| 44 | 44 | <view wx:else class="s1_gk_a2" style='color:{{object.word_color?object.word_color:"#fff"}}'> |
| 45 | 45 | <!-- <view class="pr"> --> | ... | ... |
packageA/pages/cardList/cardList.wxml
| ... | ... | @@ -16,7 +16,7 @@ |
| 16 | 16 | <view class="flex fdc space-bt f1 pdl20"> |
| 17 | 17 | <view> |
| 18 | 18 | <view class="pdv20 fs28"><text class="ellipsis-2">{{item.serviceName}}</text></view> |
| 19 | - <view class="fs24 c7b">有效天数:{{item.validDays?item.validDays:0}}</view> | |
| 19 | + <view class="fs24 c7b">有效天数:{{item.validDays && item.validDays!='0'?item.validDays:'不限'}}</view> | |
| 20 | 20 | </view> |
| 21 | 21 | <view class="flex space-bt ali-c"> |
| 22 | 22 | <view class="price">{{item.money}}</view> |
| ... | ... | @@ -40,7 +40,7 @@ |
| 40 | 40 | <view class="flex fdc space-bt f1 pdl20"> |
| 41 | 41 | <view> |
| 42 | 42 | <view class="pdv20 fs28"><text class="ellipsis-2">{{item.serviceName}}</text></view> |
| 43 | - <view class="fs24 c7b">有效天数:{{item.validDays?item.validDays:'不限'}}</view> | |
| 43 | + <view class="fs24 c7b">有效天数:{{item.validDays && item.validDays!='0'?item.validDays:'不限'}}</view> | |
| 44 | 44 | </view> |
| 45 | 45 | <view class="flex space-bt ali-c"> |
| 46 | 46 | <view class="price">{{item.money}}</view> |
| ... | ... | @@ -73,7 +73,7 @@ |
| 73 | 73 | <view class="flex fdc space-bt f1 pdl20"> |
| 74 | 74 | <view> |
| 75 | 75 | <view class="pdv20 fs28"><text class="ellipsis-2">{{item.serviceName}}</text></view> |
| 76 | - <view class="fs24 c7b">有效天数:{{item.validDays?item.validDays:0}}</view> | |
| 76 | + <view class="fs24 c7b">有效天数:{{item.validDays && item.validDays!='0'?item.validDays:'不限'}}</view> | |
| 77 | 77 | </view> |
| 78 | 78 | <view class="flex space-bt ali-c"> |
| 79 | 79 | <view class="price">{{item.money}}</view> | ... | ... |
pages/goods/categoryList/categoryList.wxml
| ... | ... | @@ -131,11 +131,11 @@ |
| 131 | 131 | <view class="search-img left"> |
| 132 | 132 | <image class="wh100" src="{{iurl}}/miniapp/images/search.png"></image> |
| 133 | 133 | </view> |
| 134 | - <input bindfocus="goseach" class="search-cont" placeholder="搜索店铺商品" type="text"></input> | |
| 134 | + <input bindfocus="goseach" class="search-cont" placeholder="输入商品关键字" type="text"></input> | |
| 135 | 135 | </view> --> |
| 136 | 136 | <!-- 搜索框 --> |
| 137 | 137 | <view class="search-container f1"> |
| 138 | - <view bindtap="goseach"><text class="iconfont icon-sousuo pdr10"></text>搜索店铺商品</view> | |
| 138 | + <view bindtap="goseach"><text class="iconfont icon-sousuo pdr10"></text>输入商品关键字</view> | |
| 139 | 139 | </view> |
| 140 | 140 | <view class="pdl30" bindtap="getScancode"> |
| 141 | 141 | <image class="scanning_black-img" src="{{iurl}}/miniapp/images/goodscategory/scanning_black.png"></image> |
| ... | ... | @@ -398,7 +398,7 @@ |
| 398 | 398 | |
| 399 | 399 | <!-- 搜索框 --> |
| 400 | 400 | <view class="search-container f1"> |
| 401 | - <view bindtap="goseach"><text class="iconfont icon-sousuo pdr10"></text>搜索店铺商品</view> | |
| 401 | + <view bindtap="goseach"><text class="iconfont icon-sousuo pdr10"></text>请输入商品关键字</view> | |
| 402 | 402 | </view> |
| 403 | 403 | <view class="pdl30" bindtap="getScancode"> |
| 404 | 404 | <image class="scanning_black-img" src="{{iurl}}/miniapp/images/goodscategory/scanning_black.png"></image> | ... | ... |
pages/goods/goodsList/goodsList.wxml
| ... | ... | @@ -21,7 +21,7 @@ |
| 21 | 21 | <view class="pd20 flex ai-center jc_sb search_fixed"> |
| 22 | 22 | <!-- 搜索框 --> |
| 23 | 23 | <view class="search-box f1"> |
| 24 | - <view hover-class="none" data-url="/pages/goods/search/search?ladder_id={{ladder_id}}" bindtap="go_url"><text class="iconfont icon-sousuo pdr10"></text>搜索店铺商品</view> | |
| 24 | + <view hover-class="none" data-url="/pages/goods/search/search?ladder_id={{ladder_id}}" bindtap="go_url"><text class="iconfont icon-sousuo pdr10"></text>请输入商品关键字</view> | |
| 25 | 25 | </view> |
| 26 | 26 | <!-- 单列/双列 显示切换 --> |
| 27 | 27 | <text class="iconfont {{isToggle ? 'icon-fenlie':'icon-fenxiang'}} pdl30 fs36" bindtap="bindToggleDisplay"></text> | ... | ... |