index.wxml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. <view class="ann-box" wx:for="{{annunciateList}}" data-index="{{index}}" catchtap="toDetails">
  9. <view class="ann-img">
  10. <image wx:if="{{item.attinfos[0].fobsurl}}" src="{{item.attinfos[0].fobsurl}}" mode="aspectFill"></image>
  11. <image src="/static/tacitly-approve/MRproduct.png" mode="aspectFill"></image>
  12. </view>
  13. <view class="ann-text">
  14. <view class="ann-text-title u-line-1">{{item.ftitle}}</view>
  15. <view class="ann-text-center u-line-2">{{item.fsummary}}</view>
  16. <view class="ann-text-bottom u-line-1" style="margin-top: 22rpx;">
  17. <view class="userMsg">
  18. <view class="img">
  19. <image wx:if="{{item.headportraiturl}}" src="{{item.headportraiturl}}"></image>
  20. <image wx:else src="https://bwj.obs.cn-east-2.myhuaweicloud.com/resources/WeChat/userCenter/userImg.png"></image>
  21. </view>
  22. <view class="u-line-1" style="max-width: 160rpx; padding-top: 3rpx;">{{item.fbrand}}</view>
  23. <view style="margin-left: 8rpx; padding-top: 3rpx;">{{item.checkdate}}</view>
  24. </view>
  25. <view>{{item.freadcount}}次浏览</view>
  26. </view>
  27. </view>
  28. </view>
  29. <My_pageReachBottom dummyStatus="{{annunciateList.length>=1}}" loadMore="{{pageNumber>=pageTotal}}"></My_pageReachBottom>
  30. </view>
  31. <!-- 历史发布 -->
  32. <view class="annunciatr_box" wx:if="{{tabsIndex==1}}" style="padding-top: 2rpx; padding-bottom: 0;">
  33. <!-- 列表展示区 -->
  34. <view class="ann-box" wx:for="{{annunciateList}}" data-index="{{index}}" catchtap="toDetails">
  35. <view class="ann-img">
  36. <image wx:if="{{item.attinfos[0].fobsurl}}" src="{{item.attinfos[0].fobsurl}}" mode="aspectFill"></image>
  37. <image src="/static/tacitly-approve/MRproduct.png" mode="aspectFill"></image>
  38. </view>
  39. <view class="ann-text ls">
  40. <view class="ann-text-title u-line-1">{{item.ftitle}}</view>
  41. <view class="ann-text-center u-line-2">{{item.fsummary}}</view>
  42. <view class="ann-text-bottom u-line-1">
  43. <view>12-07 12:24</view>
  44. <view class="change">
  45. <van-button block custom-class='custom-class l' data-index="{{index}}" catchtap="toQueryData">浏览数据</van-button>
  46. <van-button block custom-class='custom-class r' data-index="{{index}}" catchtap="toChang">编辑通告</van-button>
  47. </view>
  48. </view>
  49. </view>
  50. </view>
  51. <My_pageReachBottom dummyStatus="{{annunciateList.length>=1}}" loadMore="{{pageNumber>=pageTotal}}"></My_pageReachBottom>
  52. </view>
  53. <!-- 右侧吸附固定按钮 -->
  54. <My_fixedButton bindclick='toAnnounce' />