美甲小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.wxml 1.2 KiB

3 years ago
123456789101112131415161718192021222324252627282930313233343536
  1. <view class="head-box">
  2. <view class="head-search" bindtap="skipSearch">
  3. <i style="padding: 0 10rpx 0 20rpx">
  4. <image class="search-icon" src="/images/search-icon.png"></image>
  5. </i>
  6. <input disabled class="head-input" placeholder="搜索更多美甲产品" placeholder-style="color:#999999" />
  7. </view>
  8. </view>
  9. <view class="swiper-box">
  10. <swiper class="swiper" indicator-dots indicator-color="#D0D0D0" indicator-active-color="#F85E4C" autoplay circular>
  11. <block wx:for="{{ swiperArr }}" wx:key="index">
  12. <swiper-item>
  13. <image class="imageUrl" src="{{ item.img }}"></image>
  14. </swiper-item>
  15. </block>
  16. </swiper>
  17. </view>
  18. <view class="main-box">
  19. <block wx:for="{{mainData}}" wx:key="index">
  20. <view class="mainItem-box" bindtap="skipSerchDetail" data-param="{{item}}">
  21. <view class="imageUrl-box">
  22. <image class="imageUrl" src="{{item.img}}"></image>
  23. </view>
  24. <view class="item-title">{{item.name}}</view>
  25. </view>
  26. </block>
  27. </view>
  28. <block wx:if="{{ mainData.length < paginate.total }}">
  29. <view class="juhua-box">
  30. <image class="juhua" src="/images/juhua.gif"></image>
  31. <text>加载中···</text>
  32. </view>
  33. </block>