selectJx.axml 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. <view class="all">
  2. <view class="close">
  3. <image mode="scaleToFill" catchTap="plusOne" src="../../../image/close.png" />
  4. </view>
  5. <view class="flex-box content">
  6. <scroll-view class="flex-2 left" scroll-y="{{true}}">
  7. <view style="height: 100%">
  8. <view class="tree" a:for="{{list}}">
  9. <view class="{{item.id == activeIndex ? 'active':''}} yi" catchTap="activeTree" data-item="{{item}}">{{item.name}}</view>
  10. </view>
  11. </view>
  12. </scroll-view>
  13. <scroll-view class="flex-5 right" scroll-y="{{true}}">
  14. <radio-group class="radio-group" onChange="radioChange">
  15. <label class="flex-box flex-v-ce items" a:for="{{child_list}}">
  16. <view class="radio">
  17. <radio value="{{item}}" checked="{{true}}" a:if="{{item.id==defaultId}}"/>
  18. <radio value="{{item}}" checked="{{false}}" a:else/>
  19. {{item.value}}
  20. </view>
  21. <view class="radio-right flex-1">
  22. <view>{{item.name}}</view>
  23. </view>
  24. </label>
  25. </radio-group>
  26. <view a:if="{{child_list.length==0}}" class="nodata fontColorC">
  27. <view>
  28. <image mode="scaleToFill" src="../../../image/noData.png" style="width: 340rpx;height: 340rpx;margin-bottom:20rpx;" />
  29. </view>
  30. <text>暂无相关绩效</text>
  31. </view>
  32. </scroll-view>
  33. </view>
  34. </view>