leaveadd.wxml 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. <l-container>
  2. <view class="globstyle leaveadd">
  3. <!-- 自定义 -->
  4. <!-- 收货方 -->
  5. <van-cell bind:click="ChooseAddress" center is-link>
  6. <view class="user-address" slot="title">
  7. <view class="user-address-h1">{{useraddress.name}} {{useraddress.tel}}</view>
  8. <view class="user-address-h2">
  9. <van-tag wx:if="{{useraddress.lock}}" round type="danger">默认</van-tag>
  10. {{useraddress.address}}
  11. </view>
  12. </view>
  13. </van-cell>
  14. <!-- 选择日期 -->
  15. <van-cell title="选择日期" use-label-slot>
  16. <view class="flex" slot="label">
  17. <view bindtap="choosedata" data-index="{{index}}" wx:for="{{datas}}" wx:key="index"
  18. class="item {{item[2] ? 'block' : ''}}">{{item[0]}} {{item[1]}}</view>
  19. </view>
  20. </van-cell>
  21. <!-- 选择类别 -->
  22. <van-cell title="选择内容" use-label-slot>
  23. <view class="flex" slot="label">
  24. <view bindtap="choosetype" data-index="{{index}}" wx:for="{{type}}" wx:key="index"
  25. class="item {{item['lock'] ? 'block' : ''}}">{{item.name}}</view>
  26. </view>
  27. </van-cell>
  28. <view class="button">
  29. <van-button round block type="info" bindtap="submit">提交</van-button>
  30. </view>
  31. </view>
  32. </l-container>