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.

netWork.wxml 2.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <view>
  2. <van-popup show="{{ showNetWork }}" position="bottom" custom-style="height: 80%;">
  3. <view class="popupContainer">
  4. <view class="popupHeader">网点信息</view>
  5. <view class="popupContainer_search">
  6. <van-field
  7. value="{{ fieldValue }}"
  8. is-link
  9. clearable
  10. disabled
  11. label="地区"
  12. clear-trigger="always"
  13. placeholder="请选择所在地区"
  14. bind:tap="onClick"
  15. bind:clear="onClear"
  16. custom-style="{{'width:100%'}}"
  17. />
  18. </view>
  19. <view scroll-y="true" class="popupContent">
  20. <view wx:key="id" wx:for="{{netWorkList}}" wx:for-item="item" class="{{active === index ? 'item active' : 'item'}}" wx:key="branchNo" bindtap="selectNetWork" data-netWork="{{item}}" data-index="{{index}}">
  21. <view class="item-title">
  22. <view class="item-left">
  23. <image style="width: 31rpx;height: 36rpx;vertical-align:middle;" src="../../static/icon_address@2x.png"></image>
  24. {{item.branchName}}
  25. </view>
  26. <view class="item-right">{{item.distanceLj}}</view>
  27. </view>
  28. <view class="item-label">
  29. <van-tag custom-class="vtag" wx:for="{{item.label}}" wx:for-item="j" wx:key="*this">
  30. {{j}}
  31. </van-tag>
  32. </view>
  33. <van-field label="地址:" value="{{ item.addr }}" input-align="left" readonly type="textarea" autosize custom-style="font-size:30rpx;" placeholder=""></van-field>
  34. <van-field label="工作时间:" value="{{ item.branchTime}}" input-align="left" readonly custom-style="font-size:30rpx;" placeholder=""></van-field>
  35. <van-field label="联系电话:" value="{{ item.branchPhone }}" input-align="left" readonly custom-style="font-size:30rpx;" placeholder=""></van-field>
  36. <image style="width:60rpx;height:60rpx;" class="icon" src="../../static/icon_select_branch@2x.png" wx:if="{{active === index}}"></image>
  37. </view>
  38. </view>
  39. <view class="popupButtton">
  40. <van-button plain bind:click="closePopup" custom-class="pButton">关闭</van-button>
  41. </view>
  42. </view>
  43. </van-popup>
  44. <van-popup show="{{ show }}" round position="bottom" custom-style="height: 80%;">
  45. <van-cascader
  46. value="{{ cascaderValue }}"
  47. title="请选择所在地区"
  48. options="{{ options }}"
  49. bind:close="onClose"
  50. bind:finish="onFinish"
  51. bind:change="onChange"
  52. field-names="{{fieldNames}}"
  53. />
  54. </van-popup>
  55. </view>