datagramInfoTemplate.wxml 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. <template name="datagramInfoTemplate">
  2. <view class="datagram-list-container">
  3. <scroll-view scroll-y="true" class='datagram-scroll-box'>
  4. <view class='datagram-scroll-list'>
  5. <block wx:for="{{datas}}" wx:for-item="item" wx:key="itemId">
  6. <view class="datagram-index-list-item-container">
  7. <view class='datagram-index-list-item-box'>
  8. <view class='datagram-index-list-item-info-box'>
  9. <view class='datagram-info-text'>
  10. <text class="datagram-tm">{{item.tm}}</text>
  11. <text class="datagram-kind-text">{{item.datagramKind}}</text>
  12. </view>
  13. <view class='datagram-bottombar'>
  14. <view class="datagram-hex-box">
  15. <text class="datagram-hex-clickStyle" >{{item.datagram}}</text>
  16. </view>
  17. </view>
  18. </view>
  19. <view class="datagram-button-box">
  20. <text class="datagram-view-clickStyle" style="margin-left:10rpx;" bindtap='openDatagramViewHandle' data-datagram='{{item.datagram}}' >详情</text>
  21. <image class="datagram-button-box-img" src="/images/click.png"></image>
  22. </view>
  23. </view>
  24. </view>
  25. </block>
  26. </view>
  27. </scroll-view>
  28. </view>
  29. </template>