index.wxml 1.0 KB

123456789101112131415161718
  1. <!--pages/previousEditions/index.wxml-->
  2. <scroll-view class="scrollarea" scroll-y type="list">
  3. <view class="index_main">
  4. <Container style="margin-top: -100rpx;">
  5. <view class="list" wx:if="{{list.length}}">
  6. <view class="item_bg" bind:tap="toNext" data-index="{{index}}" wx:for="{{list}}" wx:key="index">
  7. <view class="item">
  8. <image mode="aspectFit" class="item_image" wx:if="{{item.cover}}" src="{{item.cover}}" />
  9. <view class="title">{{item.title}}</view>
  10. </view>
  11. <image wx:if="{{index <= list.length - 1}}" class="image" src="../../images/Line.png" bindload="loadimge" style="{{'height:' + line_height + 'px'}}" />
  12. </view>
  13. </view>
  14. <van-empty description="暂无数据" wx:else />
  15. </Container>
  16. <image show-menu-by-longpress="{{true}}" src="https://cxzx.smcic.net/topic/tool/img/%E5%B0%91%E5%84%BF%E4%B9%A6%E7%94%BB%E5%A4%A7%E8%B5%9B/xbwjy.png" style="width: 750rpx;height: 343rpx;display: block;margin: 30rpx auto 0 auto;" />
  17. </view>
  18. </scroll-view>