C端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 line
2.3 KiB

  1. <navbar home back text="门店搜素"></navbar>
  2. <view class="weui-search-bar {{extClass}}" style="margin-top:{{navigationBarHeight}}rpx">
  3. <view class="weui-search-bar__form">
  4. <view class="weui-search-bar__box" style="position:relative;">
  5. <icon class="weui-icon-search_in-box" type="search" size="12"></icon>
  6. <input type="text" class="weui-search-bar__input" placeholder="{{searchText}}" value="{{value}}" bindfocus="inputFocus" disabled />
  7. <picker class="pickers" mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}" range-key="name">
  8. <view class="picker">
  9. 搜索搜索搜索搜索搜索搜索搜索搜索搜索搜索
  10. </view>
  11. </picker>
  12. <view class="weui-icon-clear" wx:if="{{value.length > 0}}" bindtap="clearInput" style="position:relative;z-index:500000;">
  13. <icon type="clear" size="12"></icon>
  14. </view>
  15. </view>
  16. <label class="weui-search-bar__label" hidden="{{searchState}}" bindtap="showInput">
  17. <icon class="weui-icon-search" type="search" size="12"></icon>
  18. <view class="weui-search-bar__text">请输入</view>
  19. </label>
  20. </view>
  21. <view wx:if="{{cancel && searchState}}" class="weui-search-bar__cancel-btn" bindtap="hideInput">{{cancelText}}</view>
  22. </view>
  23. <view class='lists'>
  24. <view class='posi' wx:if="{{merchantVoList.length>0}}" style="padding-bottom:100rpx;">
  25. <view class='posi_logo' wx:for="{{merchantVoList}}" wx:key="index">
  26. <view class='merchants' bindtap='gotoDetail' data-id='{{item.id}}'>
  27. <view style=' margin-left: 24rpx;margin-top: 24rpx;'>
  28. <image src='{{item.merchantImgUrl}}'></image>
  29. </view>
  30. <view class='leftBox'>
  31. <view class='merchantName' style="margin-top:20px;">{{item.merchantName}}</view>
  32. <view class='merchantName' style="color:#999;">{{item.businessName}}</view>
  33. </view>
  34. </view>
  35. <image wx:if="{{item.linkLinePhone}}" bindtap='phone' data-merchantLinkPhone='{{item.linkLinePhone}}' class="tel" src="{{teljpgUrl}}" mode="widthFix" />
  36. </view>
  37. </view>
  38. <view class='position' wx:if="{{merchantVoList.length==0}}">
  39. 暂无数据
  40. </view>
  41. </view>