selectRule_two.axml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <view class="all-date">
  2. <view class="data-tier" catchTap="onClose"></view>
  3. <view class="date-header {{isShow?'showPop':''}}">
  4. <view>
  5. <view class="flex-box flex-v-ce shu" a:if="{{terr.length>1}}">
  6. <view a:for="{{terr}}" class="flex-box flex-v-ce flex-d-wrap" data-index="{{index}}" catchTap="activeItem" data-item="{{item}}">
  7. <image mode="scaleToFill" src="../../../image/right.png" style="width:20rpx;height:20rpx;margin:0 6rpx;" a:if="{{index!=0}}"/> {{item.name}}
  8. </view>
  9. </view>
  10. <scroll-view class="ul" scroll-y="{{true}}">
  11. <view class="flex-box flex-v-ce li2" a:for="{{rule_tree}}">
  12. <view class="{{item.id==activeId? 'active':''}} flex-box flex-v-ce flex-1" data-item="{{item}}" catchTap="radioChange">
  13. <view class="radio_"></view>
  14. <view class="font-flex-word">{{item.name}}</view>
  15. </view>
  16. <view class="xia" data-item="{{item}}" catchTap="openDown" a:if="{{item.child.length>0}}">| 下级</view>
  17. </view>
  18. </scroll-view>
  19. <!-- <scroll-view class="ul" scroll-y="{{true}}">
  20. <radio-group class="radio-group" onChange="radioChange">
  21. <view class="flex-box flex-v-ce li" a:for="{{rule_tree}}" a:key="{{item.id}}">
  22. <label class="flex-box flex-v-ce" style="width:88%;height:56rpx">
  23. <radio checked="{{item.checked}}" value="{{item}}" name="{{item.id}}"/>
  24. <view class="font-flex-word" style="margin-left:10rpx;width:90%">{{item.name}}</view>
  25. </label>
  26. <view class="xia" data-item="{{item}}" catchTap="openDown" a:if="{{item.child.length>0}}">| 下级</view>
  27. </view>
  28. </radio-group>
  29. </scroll-view> -->
  30. </view>
  31. <view class="flex-box date-btn">
  32. <view class="flex-1" catchTap="onClose">取消</view>
  33. <view class="flex-1" catchTap="onConfirm">确定</view>
  34. </view>
  35. </view>
  36. <view class="meng" catchTap="onClose"></view>
  37. </view>