C端小程序
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

50 行
2.7 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="{{placeholder}}" value="{{value}}" bindfocus="inputFocus" bindinput="inputChange" disabled />
  7. <picker class="pickers" mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}">
  8. <view class="picker">
  9. 搜索搜索搜索搜索搜索搜索搜索搜索搜索搜索
  10. </view>
  11. </picker>
  12. <view class="weui-icon-clear" wx:if="{{value.length > 0}}" bindtap="clearInput" style="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. <!-- <mp-cells class="searchbar-result {{extClass}}" wx:if="{{searchState && result.length > 0}}">
  24. <mp-cell bindtap="selectResult" data-index="{{index}}" wx:for="{{result}}" hover>
  25. <view>{{item.text}}</view>
  26. </mp-cell>
  27. </mp-cells> -->
  28. <view class='lists'>
  29. <view class='posi' wx:if="{{merchantVoList.length>0}}" style="padding-bottom:100rpx;">
  30. <view class='posi_logo' wx:for="{{merchantVoList}}" wx:key="index">
  31. <view class='merchants' bindtap='gotoDetail' data-id='{{item.id}}'>
  32. <view style=' margin-left: 24rpx;margin-top: 24rpx;'>
  33. <image src='{{item.merchantImgUrl}}'></image>
  34. </view>
  35. <view class='leftBox'>
  36. <view class='merchantName'>{{item.merchantName}}</view>
  37. <view class='shopVo'>
  38. <view class='shopVoList' >
  39. <text wx:for="{{item.shopVoList}}" wx:key="{{index}}" wx:for-item="itemName">{{itemName.buildingName}}{{itemName.floorName}}--{{itemName.shopNumber}}</text>
  40. </view>
  41. </view>
  42. </view>
  43. </view>
  44. <image wx:if="{{item.linkLinePhone}}" bindtap='phone' data-merchantLinkPhone='{{item.linkLinePhone}}' class="tel" src="{{teljpgUrl}}" mode="widthFix" />
  45. </view>
  46. </view>
  47. <view class='position' wx:if="{{merchantVoList.length==0}}">
  48. 暂无数据
  49. </view>
  50. </view>