index.wxml 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. <van-popup id='popup' show="{{ show }}" round custom-style="width: 90vw;height: 70vh;" z-index='999999999999999999'>
  2. <!-- bind:click-overlay='onClose' bind:close="onClose" -->
  3. <view class="box">
  4. <view class="head">
  5. <view class="title" bindtap="totop">
  6. {{lookItem.title}}
  7. </view>
  8. <view class="rep">
  9. <view class="rep-left">
  10. <van-tag wx:if="{{lookItem.classname}}" plain type="primary">{{lookItem.classname}}</van-tag>
  11. <view style="margin-left: 10rpx;">
  12. {{lookItem.createdate}}
  13. </view>
  14. </view>
  15. <view class="rep-right">
  16. <text class="iconfont icon-a-tonggaoliulanliang" style="margin-right: 8rpx;" />{{lookItem.readcount}}
  17. </view>
  18. </view>
  19. </view>
  20. <editor class="editor" style="height:{{height}}px;" id='editor' read-only />
  21. <view class="bottom">
  22. <view class="count">
  23. {{lookItem.rowindex}}/{{list.length}}
  24. </view>
  25. <view class="button-box">
  26. <van-button custom-class='button' wx:if="{{lookItem.rowindex!=1}}" plain type="info" id='previous' catchtap="changeLook">上一条</van-button>
  27. <view style="width: 20rpx;" />
  28. <van-button wx:if="{{lookItem.rowindex==list.length}}" custom-class='button' plain type="info" catchtap="changeLook">关闭</van-button>
  29. <van-button wx:else custom-class='button' plain type="info" id='next' catchtap="changeLook">下一条</van-button>
  30. </view>
  31. </view>
  32. </view>
  33. </van-popup>