deguodaigou/pages/addaddress/addaddress.wxml

42 lines
2.3 KiB
Plaintext
Raw Normal View History

2019-12-14 11:53:14 +08:00
<view class="addaddress">
2019-12-20 14:03:59 +08:00
<shuru left="收件人" right="姓名需和身份证一致" bindmyevent="onMyEvent" data-no="0"></shuru>
<shuru left="手机号" right="请填入常用的手机号码" bindmyevent="onMyEvent" data-no="1"></shuru>
2019-12-23 16:08:18 +08:00
<picker bindchange="bindPickerChange" value="{{index}}" range="{{countrys}}">
<shuru left="国家" right="{{nowcountry}}" ifarrow="{{true}}" data-no="2"></shuru>
2019-12-20 14:03:59 +08:00
</picker>
<!-- <picker bindchange="bindPickerChange" value="{{item.item_id?item.item_id:0}}" range="{{info.goods.goods_spec_list?info.goods.goods_spec_list:['默认规格']}}">
<shuru left="城市信息" right="北京市 北京市 东城区" ifarrow="{{true}}" data-no="3"></shuru>
</picker> -->
2019-12-24 16:32:27 +08:00
<view bindtap="showPopup" wx:if="{{nowcountry == '中国'}}">
2019-12-23 14:13:27 +08:00
<shuru left="城市信息" right="{{addressCity}}" ifarrow="{{true}}" data-no="3"></shuru>
2019-12-20 14:03:59 +08:00
</view>
2019-12-23 14:13:27 +08:00
<van-popup show="{{ show }}" position="bottom" bind:close="onClose" >
<van-tabs class="tab" swipe-threshold="5" active="{{active}}">
<van-tab title="{{area[0]}}" disabled="{{tagDis[0]}}">
2019-12-20 14:03:59 +08:00
<view class="choose">
2019-12-23 14:13:27 +08:00
<view class="item" wx:for="{{arealist1}}" bindtap="choose1" data-type="0" data-id="{{item.id}}" data-name="{{item.name}}">
2019-12-20 14:03:59 +08:00
{{item.name}}
</view>
</view>
</van-tab>
2019-12-23 14:13:27 +08:00
<van-tab title="{{area[1]}}" disabled="{{tagDis[1]}}" bingtap="choose2">
2019-12-20 14:03:59 +08:00
<view class="choose">
2019-12-23 14:13:27 +08:00
<view class="item" wx:for="{{arealist2}}" bindtap="choose2" data-type="1" data-id="{{item.id}}" data-name="{{item.name}}">
2019-12-20 14:03:59 +08:00
{{item.name}}
</view>
</view>
</van-tab>
2019-12-23 14:13:27 +08:00
<van-tab title="{{area[2]}}" disabled="{{tagDis[2]}}">
2019-12-20 14:03:59 +08:00
<view class="choose">
2019-12-23 14:13:27 +08:00
<view class="item" wx:for="{{arealist3}}" bindtap="choose3" data-type="2" data-id="{{item.id}}" data-name="{{item.name}}">
2019-12-20 14:03:59 +08:00
{{item.name}}
</view>
</view>
</van-tab>
</van-tabs>
</van-popup>
<shuru left="街道地址" right="街道地址" bindmyevent="onMyEvent" data-no="4"></shuru>
<shuru left="邮政编码" right="邮政编码" bindmyevent="onMyEvent" data-no="5"></shuru>
<shuru left="身份证号" right="可为空,部分商品需要" bindmyevent="onMyEvent" data-no="6"></shuru>
<addradd text="保存地址" class="btn1" bindtap="save"></addradd>
2019-12-14 11:53:14 +08:00
</view>