|
|
@ -20,21 +20,10 @@ |
|
|
|
<view class="information-title">请选择您的楼栋:</view> |
|
|
|
<view class="information-address-wrap"> |
|
|
|
<view class="information-address-btn-wrap" id="information-address-btn-wrap"> |
|
|
|
<button class="information-address-btn" type="default" plain |
|
|
|
bindtap="showSelectAddress">{{addressSelectItem.descr}}</button> |
|
|
|
<image class="information-address-icon" |
|
|
|
src="http://8.140.133.55:8096/public/uploadfile/select-address-down.png"></image> |
|
|
|
</view> |
|
|
|
<view class="information-address-select-wrap" |
|
|
|
style="top: {{modalY}}px; display: {{modalY ? 'block':'none'}}"> |
|
|
|
<view class="information-address-select-bg-wrap"> |
|
|
|
<view class="information-address-select-content-wrap"> |
|
|
|
<view wx:for="{{addressList}}" wx:key="index" data-index="{{index}}" bindtap="setAddressItem" |
|
|
|
class="information-address-list {{addressSelectItem.buildingId===item.buildingId? 'information-address-list-select' : ''}}"> |
|
|
|
{{item.descr}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<picker bindchange="bindPickerChange" range="{{addressList}}" range-key="descr"> |
|
|
|
<button class="information-address-btn" type="default" plain >{{addressSelectItem.descr}}</button> |
|
|
|
<image class="information-address-icon" src="http://8.140.133.55:8096/public/uploadfile/select-address-down.png" /> |
|
|
|
</picker> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -42,21 +31,10 @@ |
|
|
|
<view class="information-title">请选择您的单元:</view> |
|
|
|
<view class="information-address-wrap"> |
|
|
|
<view class="information-address-btn-wrap" id="information-unit-btn-wrap"> |
|
|
|
<button class="information-address-btn" type="default" plain |
|
|
|
bindtap="showSelectUnit">{{unitItem.descr}}</button> |
|
|
|
<image class="information-address-icon" |
|
|
|
src="http://8.140.133.55:8096/public/uploadfile/select-address-down.png"></image> |
|
|
|
</view> |
|
|
|
<view class="information-address-select-wrap" |
|
|
|
style="top: {{unitModalY}}px; display: {{unitModalY ? 'block':'none'}}"> |
|
|
|
<view class="information-unit-select-bg-wrap"> |
|
|
|
<view class="information-address-select-content-wrap"> |
|
|
|
<view wx:for="{{unitList}}" wx:key="index" data-index="{{index}}" bindtap="setunitItem" |
|
|
|
class="information-address-list {{unitItem.buildingId===item.buildingId? 'information-address-list-select' : ''}}"> |
|
|
|
{{item.descr}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<picker bindchange="setunitItem" range="{{unitList}}" range-key="descr"> |
|
|
|
<button class="information-address-btn" type="default" plain>{{unitItem.descr}}</button> |
|
|
|
<image class="information-address-icon" src="http://8.140.133.55:8096/public/uploadfile/select-address-down.png" /> |
|
|
|
</picker> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -74,4 +52,5 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |