detail.wxml 717 B

12345678910111213141516
  1. <view class="table">
  2. <view class="roof" />
  3. <Yl_ListBox id='ListBox' scrollX='{{true}}' bind:getlist='getList'>
  4. <view style="width:{{sumWidth}}rpx;">
  5. <view class="table-head">
  6. <view wx:for="{{table}}" style="width: {{item.width+'rpx'}};" wx:key="title">{{language[item.title]||item.title}}</view>
  7. </view>
  8. <Yl_Empty wx:if="{{list.length==0}}" />
  9. <view class="line" wx:for="{{list}}" wx:key="rowindex">
  10. <view wx:for="{{table}}" style="width: {{col.width+'rpx'}};" hover-class="{{col.fun?'navigator-hover':''}}" bind:tap="{{col.fun||''}}" wx:for-item="col" wx:key="title" class="line-1">
  11. {{language[item[col.key]]||item[col.key]||'--'}}
  12. </view>
  13. </view>
  14. </view>
  15. </Yl_ListBox>
  16. </view>