index.wxml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <!-- 轮播图 -->
  2. <My_BannerSwiper swiperBannerList="{{swiperBannerList}}"></My_BannerSwiper>
  3. <!-- 最新通告 -->
  4. <view class="annunciate">
  5. <!-- 标题 -->
  6. <view class="annunciate_title">
  7. <view class="annunciate_decorate"></view>
  8. <view class="annunciate_text">最新通告</view>
  9. </view>
  10. <!-- 内容 -->
  11. <view class="annunciate_content">
  12. <swiper class="annunciate_content_swiper">
  13. <swiper-item></swiper-item>
  14. <swiper-item></swiper-item>
  15. <swiper-item></swiper-item>
  16. </swiper>
  17. <view class="annunciate_show">
  18. <view class="annunciate_item" wx:for="{{3}}">
  19. <view class="annunciate_item_title u-line-1">856566549465165498856566549465165498756756</view>
  20. <view class="annunciate_item_count">
  21. <image src="/static/icon-14.png"></image>
  22. 浏览 2375
  23. </view>
  24. </view>
  25. </view>
  26. </view>
  27. </view>
  28. <!-- 广告位 -->
  29. <view class="ad-box" style="margin-top: 40rpx;">
  30. <swiper class="ad-swiper"></swiper>
  31. </view>
  32. <!-- 品牌关注榜 -->
  33. <view class="concerns-box">
  34. <view class="concerns-con">
  35. <view class="concerns-title">品牌关注榜</view>
  36. </view>
  37. <image class="concerns-bg" src="/static/portal/bg.png"></image>
  38. </view>
  39. <!-- 新品推荐 -->
  40. <view class="new-product">
  41. <view>
  42. <view class="new-product-title">
  43. <view></view> 窗帘布新品 <view></view>
  44. </view>
  45. <swiper class="new-product-swiper"></swiper>
  46. <view class="new-product-name u-line-1">花旗新品[凡尔赛系列]</view>
  47. </view>
  48. <view>
  49. <view class="new-product-title">
  50. <view></view> 窗帘布新品 <view></view>
  51. </view>
  52. <swiper class="new-product-swiper"></swiper>
  53. <view class="new-product-name u-line-1">花旗新品[凡尔赛系列]</view>
  54. </view>
  55. </view>
  56. <!-- 广告位 -->
  57. <view class="ad-box" style="margin-top: 40rpx;">
  58. <swiper class="ad-swiper"></swiper>
  59. </view>
  60. <!-- 供需 -->
  61. <van-tabs active="{{ tabsActive }}" color='#00C1D2' line-width='15' line-height='3' custom-class='tabs-custom-class' tab-class='tabs-tab-class' tab-active-class='tabs-tab-active-class' bind:change="tabsOnChange">
  62. <van-tab title="全部供需" />
  63. <van-tab wx:for="{{sadClassify}}" title="{{item.ftype}}" />
  64. </van-tabs>
  65. <!-- 列表展示区 -->
  66. <view class="ann-box" style="margin-left: 44rpx;" wx:for="{{sadList}}" data-index="{{index}}" catchtap="toDetails">
  67. <view class="ann-img" wx:if="{{item.attinfos[0].fobsurl}}">
  68. <image src="{{item.attinfos[0].fobsurl}}" mode="aspectFill"></image>
  69. </view>
  70. <view class="ann-img" wx:else>
  71. <image wx:if="{{item.ftype=='摄影摄像'}}" src="https://bwj.obs.cn-east-2.myhuaweicloud.com/resources/WeChat/supplyAndDemand/icon-01.png" mode="aspectFit"></image>
  72. <image wx:elif="{{item.ftype=='产品策划'}}" src="https://bwj.obs.cn-east-2.myhuaweicloud.com/resources/WeChat/supplyAndDemand/icon-02.png" mode="aspectFit"></image>
  73. <image wx:elif="{{item.ftype=='平面设计'}}" src="https://bwj.obs.cn-east-2.myhuaweicloud.com/resources/WeChat/supplyAndDemand/icon-03.png" mode="aspectFit"></image>
  74. <image wx:elif="{{item.ftype=='寻找面料'}}" src="https://bwj.obs.cn-east-2.myhuaweicloud.com/resources/WeChat/supplyAndDemand/icon-04.png" mode="aspectFit"></image>
  75. <image wx:elif="{{item.ftype=='商业培训'}}" src="https://bwj.obs.cn-east-2.myhuaweicloud.com/resources/WeChat/supplyAndDemand/icon-05.png" mode="aspectFit"></image>
  76. <image wx:elif="{{item.ftype=='寻找主播'}}" src="https://bwj.obs.cn-east-2.myhuaweicloud.com/resources/WeChat/supplyAndDemand/icon-06.png" mode="aspectFit"></image>
  77. <image wx:elif="{{item.ftype=='面料设计'}}" src="https://bwj.obs.cn-east-2.myhuaweicloud.com/resources/WeChat/supplyAndDemand/icon-07.png" mode="aspectFit"></image>
  78. <image wx:else src="https://bwj.obs.cn-east-2.myhuaweicloud.com/resources/WeChat/tacitly-approve/MRproduct.png" mode="aspectFit"></image>
  79. </view>
  80. <view class="ann-text">
  81. <view class="ann-text-title u-line-1">[{{item.ftype}}]{{item.ftitle}}</view>
  82. <view class="ann-text-center u-line-2">{{item.fcontent}}</view>
  83. <view class="ann-text-bottom u-line-1" style="margin-top: 22rpx;">
  84. <view class="userMsg">
  85. <view class="img">
  86. <image wx:if="{{item.headportraiturl}}" src="{{item.headportraiturl}}"></image>
  87. <image wx:else src="https://bwj.obs.cn-east-2.myhuaweicloud.com/resources/WeChat/userCenter/userImg.png"></image>
  88. </view>
  89. <view class="u-line-1" style="max-width: 160rpx; padding-top: 3rpx;">{{item.createby}}</view>
  90. </view>
  91. <view>{{item.checkdate}}</view>
  92. </view>
  93. </view>
  94. </view>
  95. <van-empty wx:if="{{1>sadList.length}}" description="暂无数据" />
  96. <!-- 展厅照片 -->
  97. <view class="exhibition-hall">
  98. <image src="/static/位图备份 2@2x.png" mode="aspectFill"></image>
  99. </view>
  100. <!-- 招商 -->
  101. <view class="attract-investment">
  102. <image src="/static/位图@2x.png" mode="aspectFill"></image>
  103. </view>