42 lines
2.2 KiB
Plaintext
42 lines
2.2 KiB
Plaintext
<view class="addaddress">
|
|
<shuru left="收件人" right="姓名需和身份证一致" bindmyevent="onMyEvent" data-no="0"></shuru>
|
|
<shuru left="手机号" right="请填入常用的手机号码" bindmyevent="onMyEvent" data-no="1"></shuru>
|
|
<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="CN中国大陆" ifarrow="{{true}}" data-no="2"></shuru>
|
|
</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> -->
|
|
<view bindtap="showPopup">
|
|
<shuru left="城市信息" right="北京市 北京市 东城区" ifarrow="{{true}}" data-no="3"></shuru>
|
|
</view>
|
|
<van-popup show="{{ show }}" position="bottom" bind:close="onClose">
|
|
<van-tabs class="tab" swipe-threshold="5">
|
|
<van-tab title="{{area[0]}}">
|
|
<view class="choose">
|
|
<view class="item" wx:for="{{arealist}}" bindtap="choose" data-type="0" data-id="{{item.id}}" data-name="{{item.name}}">
|
|
{{item.name}}
|
|
</view>
|
|
</view>
|
|
</van-tab>
|
|
<van-tab title="{{area[1]}}">
|
|
<view class="choose">
|
|
<view class="item" wx:for="{{arealist1}}" data-type="1" data-id="{{item.id}}" data-name="{{item.name}}">
|
|
{{item.name}}
|
|
</view>
|
|
</view>
|
|
</van-tab>
|
|
<van-tab title="{{area[2]}}">
|
|
<view class="choose">
|
|
<view class="item" wx:for="{{arealist2}}" data-type="2" data-id="{{item.id}}" data-name="{{item.name}}">
|
|
{{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>
|
|
</view> |