index.wxml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <view class="container">
  2. <view bindtap="__e" class="input-box flex" data-event-opts="{{[ [ 'tap',[ [ 'clickSearch',['$event'] ] ] ] ]}}">
  3. <view class=" input-content flex">
  4. <view class="iconfont iconsearch"></view>
  5. <view class="input">
  6. <input disabled="{{true}}" placeholder="请输入搜索内容" type="text"></input>
  7. </view>
  8. </view>
  9. </view>
  10. <view class="mp-height"></view>
  11. <view class="carousel-section">
  12. <view class="titleNview-placing"></view>
  13. <view class="titleNview-background" style="{{'background-color:'+'#5DBC7C'+';'}}"></view>
  14. <swiper autoplay="true" bindchange="__e" class="carousel" data-event-opts="{{[ [ 'change',[ [ 'swiperChange',['$event'] ] ] ] ]}}" duration="400" interval="5000">
  15. <swiper-item class="carousel-item" wx:for="{{carouselList}}" wx:key="index">
  16. <image bindtap="__e" data-event-opts="{{[ [ 'tap',[ [ 'bannerNavToUrl',['$0'],[ [ ['carouselList','',index] ] ] ] ] ] ]}}" mode="aspectFill" src="{{item.pic}}"></image>
  17. </swiper-item>
  18. </swiper>
  19. </view>
  20. <view class="explosion-box">
  21. <view class="titleBgBox">
  22. <image class="titBg" mode="widthFix" src="../../static/img/indexItembg.png"></image>
  23. </view>
  24. <view bindtap="__e" class="explosion-frame" data-event-opts="{{[ [ 'tap',[ [ 'goProduct',['$0'],[ [ ['pinkTuanList','',index,'id'] ] ] ] ] ] ]}}" wx:for="{{pinkTuanList}}" wx:key="index">
  25. <image class="explo-good-img" mode="aspectFit" src="{{item.image}}"></image>
  26. <view class="explo-good-box">
  27. <view class="explo-good-tit">{{item.store_name}}</view>
  28. <view class="explo-good-bottom">
  29. <view class="explo-jf-box">
  30. <text class="explo-zeng">¥</text>
  31. <text class="explo-price">{{item.price}}</text>
  32. </view>
  33. <view class="explo-price-box">
  34. <text class="explo-jfText">立即购买</text>
  35. </view>
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. </view>