index.wxml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <scroll-view class="index">
  2. <view class="search-w" >
  3. <search-bar disabled="{{ true }}" bindtap="toSearch" />
  4. </view>
  5. <view class="content">
  6. <view class="advertise" >
  7. <image src="{{detail.logoUrl}}"></image>
  8. </view>
  9. <view class="tab-w">
  10. <view class="tab" wx:for="{{ tabList }}" wx:key="index" data-route="{{item.route}}" bindtap="toTabDetail">
  11. <image src="{{item.icon}}"></image>
  12. <view>{{item.label}}</view>
  13. </view>
  14. </view>
  15. <view class="banner">
  16. <swiper>
  17. <swiper-item wx:for="{{ detail.firstPageContent }}" wx:key="index" data-vr_link="https%3A%2F%2Ftest.4dkankan.com%2Fkanzhan.html%3Fm%3Dt-spWjHa6%26test" bindtap="toScene">
  18. <image src="{{ item.img }}"></image>
  19. </swiper-item>
  20. </swiper>
  21. </view>
  22. <!-- 展会产品 -->
  23. <!-- <view class="category-w">
  24. <view class="category-header clearfix">
  25. <view class="category-title fl">展会产品</view>
  26. <view class="more fr" bindtap="toGoodsTab">更多></view>
  27. </view>
  28. <view class="category-list">
  29. <view class="category-item" bindtap="toGoodsTab" data-index="{{index}}" wx:for="{{ categoryList }}" wx:key="{{ index }}">
  30. <image src="{{item.coverImageUrl}}"></image>
  31. <view class="goods-name">{{item.name}}</view>
  32. <view class="desc">{{item.translateOne}}</view>
  33. <view class="desc">{{item.translateTwo}}</view>
  34. </view>
  35. </view>
  36. </view> -->
  37. <!-- 参展企业 -->
  38. <view class="enterprise-w">
  39. <view class="enterprise-header clearfix">
  40. <view class="category-title fl">参展企业</view>
  41. <view class="more fr" bindtap="toExhibitionList">更多></view>
  42. </view>
  43. <view class="enterprise-list">
  44. <view class="enterprise-item" wx:for="{{companyList}}" wx:key="{{index}}" data-vr_link="{{ item.vrLink }}" bindtap="toScene">
  45. <view class="enterprise-logo">
  46. <image src="{{ item.companyLogo }}" bindload="imageLoad" data-index="{{ index }}" style="width:{{ images[index].width }}rpx; height:{{ images[index].height }}rpx;visibility: {{ images[index].width ? 'visible' : 'hidden' }}"></image>
  47. </view>
  48. <view>{{ item.companyName }}</view>
  49. </view>
  50. </view>
  51. </view>
  52. </view>
  53. </scroll-view>
  54. <tab-bar />