media.wxml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <view class="wrapper">
  2. <view class="app_page-header-search">
  3. <view class="app_page-header-search-warp app_width-690">
  4. <label for="header-search">
  5. <image src=""></image>
  6. </label>
  7. <input
  8. placeholder-class="app_header-search-placeholder"
  9. value=""
  10. placeholder="搜索信息"></input>
  11. </view>
  12. </view>
  13. <view class="page-section">
  14. <swiper
  15. indicator-color="rgba(145, 179, 121, 0.6)"
  16. indicator-active-color="rgba(145, 179, 121, 1)"
  17. interval="{{2000}}"
  18. autoplay="{{false}}"
  19. bind:change="handleSwiperChange">
  20. <block
  21. wx:for="{{background}}"
  22. wx:key="*this">
  23. <swiper-item
  24. class="swiper-item-wrap">
  25. <view class="swiper-item {{item}}">
  26. <image class="photo" src=""></image>
  27. <view class="info">
  28. <view class="label-wrap">
  29. <image class="icon" src=""></image>
  30. <text class="label">频道:</text>
  31. </view>
  32. <view class="value-wrap">
  33. <view class="name">村长说农货</view>
  34. <view class="address">浙江省嵊州菜园</view>
  35. </view>
  36. </view>
  37. </view>
  38. </swiper-item>
  39. </block>
  40. </swiper>
  41. <view class="swiper-dots">
  42. <view
  43. class="{{swiperActiveDot === index ? 'active' : ''}}"
  44. wx:for="{{background}}"
  45. wx:key="index"></view>
  46. </view>
  47. </view>
  48. <customer-tab
  49. nav="{{nav}}"
  50. active="{{active}}"
  51. bind:change="handleNav"/>
  52. <view class="main">
  53. <view
  54. class="list"
  55. wx:for="{{4}}"
  56. wx:key="item">
  57. <video-item-normal/>
  58. </view>
  59. </view>
  60. </view>