editAddressSendOwn.wxml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <!--addressList.wxml 填写收货地址 -->
  2. <view class="container">
  3. <view class="address_msg">为了更好的为您配送,请填写服务地址和联系方式</view>
  4. <view class="address_cont" wx:key="index" wx:for-index="i">
  5. <view class="each_section">
  6. <image src="/images/address_msg_name.png" class="each_section_icon"></image>
  7. <input type="text" bindinput ="userNameInput" value='{{userName}}' focus name="input" placeholder-class="placeholder_style" placeholder="收货人姓名" />
  8. </view>
  9. <view class="each_section" bindtap="open">
  10. <image src="/images/address_msg_addr.png" class="each_section_icon"></image>
  11. <input disabled="true" value="{{province}}{{city}}{{county}}" placeholder-class="placeholder_style" placeholder="请选择您的省市区" />
  12. <image src="/images/gray_more_2.png" class="each_section_icon_right" ></image>
  13. </view>
  14. <view class="each_section">
  15. <image src="/images/address_msg_addr_more.png" class="each_section_icon"></image>
  16. <input type="text" bindinput ="userAddressInput" value='{{userAddress}}' placeholder-class="placeholder_style" placeholder="请填写您的详细地址(门牌号等)" />
  17. </view>
  18. <view class="each_section">
  19. <image src="/images/address_msg_name.png" class="each_section_icon"></image>
  20. <input type="number" bindinput ="userTelephoneInput" name="input" value='{{userTelephone}}' placeholder-class="placeholder_style" placeholder="电话号码" maxlength="11"/>
  21. </view>
  22. <view class="switch_section">
  23. <view class="switch_title">设置为默认地址</view>
  24. <switch type="switch" bindchange="switchChange" color="#ff8400" checked="{{checked}}" class="switch_icon"/>
  25. </view>
  26. <button bindtap="saveInfor" class="save_btn">保存地址</button>
  27. </view>
  28. <view wx:if="{{condition}}" class="citypicker">
  29. <view class="city_cont">
  30. <picker-view mask-style="color:#a8a4a4;" indicator-style="border:0px none;" value="{{value}}" bindchange="bindChange" class="citybody">
  31. <view class="city_top">
  32. <view class="city_top_cont">
  33. <view class="city_title_line"></view>
  34. <view class="city_title">省市选择</view>
  35. </view>
  36. </view>
  37. <view class="cityfooter">
  38. <view bindtap="open" class="city-cancel">取消</view>
  39. <view bindtap="open" class="city-true">确定</view>
  40. </view>
  41. <picker-view-column class="picker_view_column">
  42. <view wx:for="{{provinces}}" wx:key="item" class="each_city">{{item}}</view>
  43. </picker-view-column>
  44. <picker-view-column class="picker_view_column">
  45. <view wx:for="{{citys}}" wx:key="item" class="each_city">{{item}}</view>
  46. </picker-view-column>
  47. <picker-view-column class="picker_view_column">
  48. <view wx:for="{{countys}}" wx:key="item" class="each_city">{{item}}</view>
  49. </picker-view-column>
  50. </picker-view>
  51. </view>
  52. </view>
  53. </view>