add_address.wxml 1.8 KB
<view class="box">
  <view class="list">
    <view class="list_left">收货人</view>
    <view class="list_right">
      <input placeholder="请输入收货人" bindinput="nameFun" placeholder-class="inut_plclass"></input>
    </view>
  </view>
  <view class="list">
    <view class="list_left">手机号码</view>
    <view class="list_right">
      <input placeholder="请输入手机号" type="number" maxlength="11" bindinput="telFun" placeholder-class="inut_plclass"></input>
    </view>
  </view>
  <view class="list">
    <view class="list_left">备用手机号</view>
    <view class="list_right">
      <input placeholder="请输入备用手机号" type="number" maxlength="11" bindinput="beiTelFun" placeholder-class="inut_plclass"></input>
    </view>
  </view>
  <picker mode="region" style="width: 100%;" bindchange="bindRegionChange">
    <view class="list">
      <view class="list_left">所在地区</view>
      <view class="list_right">
        <view class="area">{{area}}</view>
        <view class="list_right_img">
          <image src="/images/youjiantou.png"></image>
        </view>
      </view>
    </view>
  </picker>
  <view class="list_textarea">
    <view class="list_left">详细地址</view>
    <view class="list_right">
    <!-- style="padding-top:22rpx;" -->
      <textarea placeholder="道路、门牌号、小区、楼栋号等" placeholder-class="inut_plclass" bindinput="getAddressFun" style="padding-top:2rpx;" ></textarea>
    </view>
  </view>
  <view class="list">
    <view class="list_left">设为默认地址</view>
    <view class="list_right">
      <switch type="switch" color="rgba(242, 0, 0, 1)" bindchange="switchChange" />
    </view>
  </view>
</view>





<view class="add_btn_box">
  <view class="add_btn" bindtap="addFun">保存</view>
</view>