Files
huangjingfen/pro_v3.5.1/public/statics/mp_view/components/addressWindow/index.wxml
apple 78de918c37 Initial commit: queue workspace
Made-with: Cursor
2026-03-21 02:55:24 +08:00

1 line
2.3 KiB
Plaintext

<view><base-drawer vue-id="d1b78a2c-1" mode="bottom" visible="{{address.address}}" background-color="transparent" mask="{{true}}" maskClosable="{{true}}" data-event-opts="{{[['^close',[['close']]]]}}" bind:close="__e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{shippingType==0}}"><view class="w-full bg--w111-fff rd-t-40rpx py-32"><view class="text-center fs-32 text--w111-333 fw-500">选择地址</view><scroll-view class="mt-64 px-32" style="max-height:600rpx;" scroll-y="true"><block wx:for="{{addressList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tapAddress',[index,'$0','$1'],[[['addressList','',index,'id']],[['addressList','',index]]]]]]]}}" class="{{['mb-38','flex-between-center',(active==index)?'font-num':'']}}" bindtap="__e"><text class="iconfont icon-ic_location5 fs-36"></text><view class="flex-1 pl-40"><view class="fs-28 fw-500">{{item.real_name}}<text class="phone pl-10">{{item.phone}}</text></view><view class="w-560 line1 mt-4">{{item.province+item.city+item.district+item.street+item.detail}}</view></view></view></block><block wx:if="{{$root.g0}}"><view><empty-page vue-id="{{('d1b78a2c-2')+','+('d1b78a2c-1')}}" title="暂无地址信息~" src="/statics/images/noAddress.png" bind:__l="__l"></empty-page></view></block></scroll-view><view class="mx-20 pb-safe"><view data-event-opts="{{[['tap',[['goAddressPages',['$event']]]]]}}" class="mt-52 h-72 flex-center rd-36px bg-color fs-26 text--w111-fff" bindtap="__e">选择其它地址</view></view></view></block><block wx:else><view class="w-full bg--w111-fff rd-t-40rpx py-32"><view class="text-center fs-32 text--w111-333 fw-500">选择自提点</view><scroll-view class="mt-64 px-32" style="max-height:600rpx;" scroll-y="true"><block wx:for="{{storeList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tapStore',[index,'$0'],[[['storeList','',index]]]]]]]}}" class="{{['mb-38','flex-between-center',(active==index)?'font-num':'']}}" bindtap="__e"><text class="iconfont icon-ic_location5 fs-36"></text><view class="flex-1 pl-40"><view class="fs-28 fw-500">{{item.name}}<text class="phone pl-10">{{item.phone}}</text></view><view class="w-560 line1 mt-4">{{item.address}}</view></view></view></block></scroll-view></view></block></base-drawer></view>