拓恒河湖长制全民护河平台WEB端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
1010B

  1. <!--package_C/component/table/table.wxml-->
  2. <view class="table_container">
  3. <view class="table_title">
  4. <text class="table_item" style="width:{{item.width}}" wx:for="{{columns}}" wx:key="index">{{item.title}}</text>
  5. </view>
  6. <view class="table_data">
  7. <view style="background: {{ index%2 == 1 ? '#F5F7F9' : '#fff' }}" class="data_item" wx:for="{{data}}" wx:key="index">
  8. <view class="table_item" style="width: {{columns[0].width}}">{{item.name}}</view>
  9. <view class="table_item" style="width: {{columns[1].width}}">{{item.y}}/{{item.countQu || item.sumqu}}</view>
  10. <view class="table_item" style="width: {{columns[2].width}}">{{item.a}}</view>
  11. <view class="table_item" style="width: {{columns[3].width}}">{{item.b}}</view>
  12. <view class="table_item" style="width: {{columns[4].width}}">{{item.c}}</view>
  13. <view class="table_item" style="width: {{columns[5].width}}">{{item.d}}</view>
  14. </view>
  15. </view>
  16. </view>