index.wxml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <view class="main">
  2. <swiper indicator-dots="true" autoplay="true" interval="{{interval}}" duration="{{duration}}" circular="true">
  3. <block wx:for="{{imgUrls}}" wx:key="{{index}}">
  4. <swiper-item>
  5. <image src="{{item}}" class="slide-image" width="100%"/>
  6. </swiper-item>
  7. </block>
  8. </swiper>
  9. <view class="search">
  10. <navigator url="search/search">
  11. <view class="search-text">
  12. <icon class="weui-icon-search_in-box search-icon" type="search" size="14"></icon>
  13. 搜 索
  14. </view>
  15. </navigator>
  16. </view>
  17. <view class="selected">
  18. <view class="select-title"><text>精选主题</text></view>
  19. <view class="select-top">
  20. <view class="select-top-small">
  21. <navigator url="list/list">
  22. <image src="/image/s1.png"></image>
  23. </navigator>
  24. </view>
  25. <view class="select-top-small">
  26. <navigator url="list/list">
  27. <image src="/image/s2.png"></image>
  28. </navigator>
  29. </view>
  30. </view>
  31. <view class="select-bottom">
  32. <navigator url="list/list">
  33. <image src="/image/s3.png"></image>
  34. </navigator>
  35. </view>
  36. </view>
  37. <view class="newest">
  38. <view class="newest-title"><text>最近新品</text></view>
  39. <view class="newest-box">
  40. <view class="newest-list">
  41. <navigator url="details/details">
  42. <image src="/image/s4.png"></image>
  43. <view class="newest-text"><text>瓜子 100g</text></view>
  44. <view class="newest-text"><text>¥ 0.01</text></view>
  45. </navigator>
  46. </view>
  47. <view class="newest-list">
  48. <navigator url="details/details">
  49. <image src="/image/s5.png"></image>
  50. <view class="newest-text"><text>芹菜 半斤</text></view>
  51. <view class="newest-text"><text>¥ 0.02</text></view>
  52. </navigator>
  53. </view>
  54. <view class="newest-list">
  55. <navigator url="details/details">
  56. <image src="/image/s6.png"></image>
  57. <view class="newest-text"><text>素米 375g</text></view>
  58. <view class="newest-text"><text>¥ 0.03</text></view>
  59. </navigator>
  60. </view>
  61. <view class="newest-list">
  62. <navigator url="details/details">
  63. <image src="/image/s4.png"></image>
  64. <view class="newest-text"><text>瓜子 100g</text></view>
  65. <view class="newest-text"><text>¥ 0.01</text></view>
  66. </navigator>
  67. </view>
  68. <view class="newest-list">
  69. <navigator url="details/details">
  70. <image src="/image/s5.png"></image>
  71. <view class="newest-text"><text>芹菜 半斤</text></view>
  72. <view class="newest-text"><text>¥ 0.02</text></view>
  73. </navigator>
  74. </view>
  75. <view class="newest-list">
  76. <navigator url="details/details">
  77. <image src="/image/s6.png"></image>
  78. <view class="newest-text"><text>素米 375g</text></view>
  79. <view class="newest-text"><text>¥ 0.03</text></view>
  80. </navigator>
  81. </view>
  82. <view class="newest-list">
  83. <navigator url="details/details">
  84. <image src="/image/s4.png"></image>
  85. <view class="newest-text"><text>瓜子 100g</text></view>
  86. <view class="newest-text"><text>¥ 0.01</text></view>
  87. </navigator>
  88. </view>
  89. <view class="newest-list">
  90. <navigator url="details/details">
  91. <image src="/image/s5.png"></image>
  92. <view class="newest-text"><text>芹菜 半斤</text></view>
  93. <view class="newest-text"><text>¥ 0.02</text></view>
  94. </navigator>
  95. </view>
  96. <view class="newest-list">
  97. <navigator url="details/details">
  98. <image src="/image/s6.png"></image>
  99. <view class="newest-text"><text>素米 375g</text></view>
  100. <view class="newest-text"><text>¥ 0.03</text></view>
  101. </navigator>
  102. </view>
  103. </view>
  104. </view>
  105. </view>