index.wxml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <navbar parameter='{{parameter}}'></navbar>
  2. <form bindsubmit="formSubmit" report-submit='true'>
  3. <view class='addAddress'>
  4. <view class='list'>
  5. <view class='item acea-row row-between-wrapper'>
  6. <view class='name'>姓名</view>
  7. <input type='text' placeholder='请输入姓名' name='real_name' value="{{userAddress.real_name}}" placeholder-class='placeholder'></input>
  8. </view>
  9. <view class='item acea-row row-between-wrapper'>
  10. <view class='name'>联系电话</view>
  11. <input type='text' placeholder='请输入联系电话' name="phone" value='{{userAddress.phone}}' placeholder-class='placeholder'></input>
  12. </view>
  13. <view class='item acea-row row-between-wrapper'>
  14. <view class='name'>所在地区</view>
  15. <picker mode="multiSelector" bindchange="bindRegionChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{valueRegion}}" custom-item="{{customItem}}" range="{{multiArray}}">
  16. <view class='acea-row row-between-wrapper'>
  17. <view class="picker">{{region[0]}}{{region[1]}}{{region[2]}}</view>
  18. <view class='iconfont icon-dizhi font-color'></view>
  19. </view>
  20. </picker>
  21. </view>
  22. <view class='item acea-row row-between-wrapper'>
  23. <view class='name'>详细地址</view>
  24. <input type='text' placeholder='请填写具体地址' name='detail' placeholder-class='placeholder' value='{{userAddress.detail}}'></input>
  25. </view>
  26. </view>
  27. <view class='default acea-row row-middle'>
  28. <checkbox-group bindchange='ChangeIsDefault'><checkbox checked="{{userAddress.is_default ? true : false }}"/>设置为默认地址</checkbox-group>
  29. </view>
  30. <button class='keepBnt bg-color' formType="submit">立即保存</button>
  31. <view class="wechatAddress" bindtap="getWxAddress">导入微信地址</view>
  32. </view>
  33. </form>
  34. <authorize bind:onLoadFun='onLoadFun'></authorize>