index.wxml 694 B

12345678910111213141516171819202122
  1. <!-- 搜索框 -->
  2. <view class="search_container">
  3. <view class="inputContent">
  4. <van-icon name="search" />
  5. <input type="text" bindinput="onInput" bindconfirm="onInput" placeholder="搜索商品名称" />
  6. <button bindtap="onSearch" bintap="onSearch">搜索</button>
  7. </view>
  8. <!-- 主页轮播图 -->
  9. <swiper class="swiper" indicator-dots indicator-color="#CBCBCB" indicator-active-color="#F9872C" autoplay interval="2000" circular>
  10. <swiper-item>
  11. <image src="/images/image/swiper1-index.png"></image>
  12. </swiper-item>
  13. <swiper-item>
  14. <image src="/images/image/swiper1-index.png"></image>
  15. </swiper-item>
  16. </swiper>
  17. <!-- 商品标签页 -->
  18. </view>