12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <view>
- <van-popup show="{{ showNetWork }}" position="bottom" custom-style="height: 80%;">
- <view class="popupContainer">
- <view class="popupHeader">网点信息</view>
- <view class="popupContainer_search">
- <van-field
- value="{{ fieldValue }}"
- is-link
- clearable
- disabled
- label="地区"
- clear-trigger="always"
- placeholder="请选择所在地区"
- bind:tap="onClick"
- bind:clear="onClear"
- custom-style="{{'width:100%'}}"
- />
- </view>
- <view scroll-y="true" class="popupContent">
- <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}}">
- <view class="item-title">
- <view class="item-left">
- <image style="width: 31rpx;height: 36rpx;vertical-align:middle;" src="../../static/icon_address@2x.png"></image>
- {{item.branchName}}
- </view>
- <view class="item-right">{{item.distanceLj}}</view>
- </view>
- <view class="item-label">
- <van-tag custom-class="vtag" wx:for="{{item.label}}" wx:for-item="j" wx:key="*this">
- {{j}}
- </van-tag>
- </view>
- <van-field label="地址:" value="{{ item.addr }}" input-align="left" readonly type="textarea" autosize custom-style="font-size:30rpx;" placeholder=""></van-field>
- <van-field label="工作时间:" value="{{ item.branchTime}}" input-align="left" readonly custom-style="font-size:30rpx;" placeholder=""></van-field>
- <van-field label="联系电话:" value="{{ item.branchPhone }}" input-align="left" readonly custom-style="font-size:30rpx;" placeholder=""></van-field>
- <image style="width:60rpx;height:60rpx;" class="icon" src="../../static/icon_select_branch@2x.png" wx:if="{{active === index}}"></image>
- </view>
- </view>
- <view class="popupButtton">
- <van-button plain bind:click="closePopup" custom-class="pButton">关闭</van-button>
- </view>
- </view>
- </van-popup>
- <van-popup show="{{ show }}" round position="bottom" custom-style="height: 80%;">
- <van-cascader
- value="{{ cascaderValue }}"
- title="请选择所在地区"
- options="{{ options }}"
- bind:close="onClose"
- bind:finish="onFinish"
- bind:change="onChange"
- field-names="{{fieldNames}}"
- />
- </van-popup>
- </view>
|