leaveadd.wxml 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. <l-container>
  2. <view slot="container" class="gloabstyle leaveadd">
  3. <!-- 自定义 -->
  4. <!-- 收货方 -->
  5. <van-cell bind:click="ChooseAddress" center is-link>
  6. <view class="user-address" slot="title">
  7. <view wx:if="{{!useraddress.id}}" class="red">请选择学生</view>
  8. <view class="user-address-h1">{{useraddress.name}} {{useraddress.tel}}</view>
  9. <view class="user-address-h2">
  10. <van-tag wx:if="{{useraddress.lock}}" round type="danger">默认</van-tag>
  11. {{useraddress.address}}
  12. </view>
  13. </view>
  14. </van-cell>
  15. <!-- 标签栏 -->
  16. <van-tabs wx:if="{{orderarr.length!=0}}" active="{{active}}" z-index="1">
  17. <van-tab wx:for="{{orderarr}}" wx:key="index" name="{{index}}" title="{{item.name}}">
  18. <van-checkbox-group value='{{submitobj[item.id]}}' data-id="{{item.id}}" bind:change="CheckboxonChange">
  19. <view class="flex">
  20. <view wx:for="{{item.list}}" wx:for-item="it" wx:for-index="in" wx:key="in" class="item">
  21. <van-checkbox name="{{it[0]}}">{{it[0]}} {{it[1]}}</van-checkbox>
  22. </view>
  23. </view>
  24. </van-checkbox-group>
  25. </van-tab>
  26. </van-tabs>
  27. <view class="btn">
  28. <van-button round bind:click="submit" type="primary" block>提交</van-button>
  29. </view>
  30. </view>
  31. </l-container>