| 123456789101112131415161718192021222324252627282930313233 |
- <!--pages/my/addAddress/addAddress.wxml-->
- <view>
- <form catchsubmit="formSubmit">
- <label class="radio">
- <radio value="r1" checked="{{form.checked}}" bindtap="radioChange"/>设置为默认地址
- </label>
- <view class="info">
- <text class="name">收件人</text>
- <input type="text" class="input" data-key="name" placeholder="请输入收件人姓名" bindinput="inputChange"/>
- </view>
- <view class="info">
- <text class="name">手机号</text>
- <input type="number" data-key="phone" class="input" placeholder="请输入收件人手机号" bindinput="inputChange"/>
- </view>
- <view class="info">
- <text class="name">所在地区</text>
- <picker mode="region"
- class="input"
- bindchange="handleRegionChange"
- value="{{region}}"
- >
- <view wx:if="region.length > 0">{{region[0]}} {{region[1]}} {{region[2]}}</view>
- <text class="placeholder" wx:if="{{region.length === 0}}">请输入收件人地区</text>
- </picker>
- </view>
- <view class="info">
- <text class="name">详细地址</text>
- <input type="text" data-key="address" class="input" placeholder="请输入收件人详细地址" bindinput="inputChange"/>
- </view>
-
- <button class="saveAddress" formType="submit">保 存</button>
- </form>
- </view>
|