index.wxml 2.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. <My_BannerSwiper swiperBannerList="{{swiperBannerList}}"></My_BannerSwiper>
  2. <My_NavTabs tabsList="{{tabsList}}" tabsIndex="{{tabsIndex}}" bindsetIndex="setIndex" />
  3. <!-- 通告广场 -->
  4. <view class="annunciatr_box" wx:if="{{tabsIndex==0}}">
  5. <!-- 圆角按钮tabs -->
  6. <My_RoundedCornerButtonTabs list="{{roundedList}}" bind:tabsSelectedIitem="tabsSelectedIitem"></My_RoundedCornerButtonTabs>
  7. <!-- 列表展示区 -->
  8. <annunciateList list="{{annunciateList}}"></annunciateList>
  9. <My_pageReachBottom dummyStatus="{{annunciateList.length>=1}}" loadMore="{{pageNumber>=pageTotal}}"></My_pageReachBottom>
  10. </view>
  11. <!-- 历史发布 -->
  12. <view class="annunciatr_box" wx:if="{{tabsIndex==1}}" style="padding-top: 2rpx; padding-bottom: 0;">
  13. <!-- 列表展示区 -->
  14. <view class="ann-box" wx:for="{{annunciateList}}" data-index="{{index}}" catchtap="toDetails">
  15. <view class="ann-img">
  16. <image wx:if="{{item.attinfos[0].fobsurl}}" src="{{item.attinfos[0].fobsurl}}" mode="aspectFill"></image>
  17. <image src="/static/annunciate/cover.png" mode="aspectFill"></image>
  18. </view>
  19. <view class="ann-text ls">
  20. <view class="ann-text-title u-line-1">{{item.ftitle}}</view>
  21. <view class="ann-text-center u-line-2">{{item.fsummary}}</view>
  22. <view class="ann-text-bottom u-line-1">
  23. <view>12-07 12:24</view>
  24. <view class="change">
  25. <van-button block custom-class='custom-class l' data-index="{{index}}" catchtap="toQueryData">浏览数据</van-button>
  26. <van-button block custom-class='custom-class r' data-index="{{index}}" catchtap="toChang">编辑通告</van-button>
  27. </view>
  28. </view>
  29. </view>
  30. </view>
  31. <My_pageReachBottom dummyStatus="{{annunciateList.length>=1}}" loadMore="{{pageNumber>=pageTotal}}"></My_pageReachBottom>
  32. </view>
  33. <!-- 右侧吸附固定按钮 -->
  34. <My_fixedButton bindclick='toAnnounce' />