hengmei-two/unpackage/dist/build/mp-baidu/components/simple-address/simple-address.swan

1 line
2.3 KiB
Plaintext

<block s-if="{{showPopup}}"><view data-event-opts="{{[['touchmove',[['clear',['$event']]]]]}}" class="simple-address data-v-6db27b65" catchtouchmove="__e"><block s-if="{{maskClick}}"><view data-event-opts="{{[['touchmove',[['clear',['$event']]]],['tap',[['hideMask',[true]]]]]}}" class="{{['simple-address-mask','data-v-6db27b65',ani+'-mask',animation?'mask-ani':'']}}" style="{{'background-color:'+(maskBgColor)+';'}}" catchtouchmove="__e" bindtap="__e"></view></block><view class="{{['simple-address-content','simple-address--fixed','data-v-6db27b65',type,ani+'-content',animation?'content-ani':'']}}"><view class="simple-address__header data-v-6db27b65"><view data-event-opts="{{[['tap',[['pickerCancel',['$event']]]]]}}" class="simple-address__header-btn-box data-v-6db27b65" bindtap="__e"><text class="simple-address__header-text data-v-6db27b65" style="{{'color:'+(cancelColor)+';'+('font-size:'+(btnFontSize)+';')}}">取消</text></view><view data-event-opts="{{[['tap',[['pickerConfirm',['$event']]]]]}}" class="simple-address__header-btn-box data-v-6db27b65" bindtap="__e"><text class="simple-address__header-text data-v-6db27b65" style="{{'color:'+(confirmColor||themeColor)+';'+('font-size:'+(btnFontSize)+';')}}">确定</text></view></view><view class="simple-address__box data-v-6db27b65"><picker-view class="simple-address-view data-v-6db27b65" indicator-style="height: 70rpx;" value="{{pickerValue}}" data-event-opts="{{[['change',[['pickerChange',['$event']]]]]}}" bindchange="__e"><picker-view-column class="data-v-6db27b65"><block s-for="{{provinceDataList}}" s-for-item="item" s-for-index="index" s-key="index"><view class="picker-item data-v-6db27b65" style="{{'font-size:'+(fontSize)+';'}}">{{item.label}}</view></block></picker-view-column><picker-view-column class="data-v-6db27b65"><block s-for="{{cityDataList}}" s-for-item="item" s-for-index="index" s-key="index"><view class="picker-item data-v-6db27b65" style="{{'font-size:'+(fontSize)+';'}}">{{item.label}}</view></block></picker-view-column><picker-view-column class="data-v-6db27b65"><block s-for="{{areaDataList}}" s-for-item="item" s-for-index="index" s-key="index"><view class="picker-item data-v-6db27b65" style="{{'font-size:'+(fontSize)+';'}}">{{item.label}}</view></block></picker-view-column></picker-view></view></view></view></block>