zshome.wxml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <view style="background: #f5f5f5; padding: 20rpx 0;">
  2. <view class="container">
  3. <!-- 空白区域 -->
  4. <view class="empty-space">
  5. <swiper style="width: 100%; height: 100%;" autoplay="true" interval="3000" circular>
  6. <block wx:for="{{carousellist}}" wx:key="index">
  7. <swiper-item>
  8. <image style="width: 100%; height: 100%;" src="{{item.url}}" mode="aspectFill" />
  9. </swiper-item>
  10. </block>
  11. </swiper>
  12. </view>
  13. <!-- 课程分类按钮 -->
  14. <view class="course-buttons">
  15. <view class="course-button1" style="background-image: url({{homepage_7}}); background-size: cover;" bindtap="goToGoodsList" data-type="1" >
  16. <view class="nr_boxs">
  17. <text>课程卡尔阅读</text>
  18. <text>course</text>
  19. </view>
  20. </view>
  21. <view class="course-buttonstow">
  22. <view class="course-button2" style="background-image: url({{homepage_6}}); background-size: cover;" bindtap="goToGoodsList" data-type="2">
  23. <view class="nr_boxs">
  24. <text>课程卡尔思维</text>
  25. <text>course</text>
  26. </view>
  27. </view>
  28. <view class="course-button2" bindtap="goToGoodsList" data-type="3" style="margin-top: 20rpx; background-image: url({{homepage_5}}); background-size: cover;">
  29. <view class="nr_boxs">
  30. <text>课程动手动脑</text>
  31. <text>course</text>
  32. </view>
  33. </view>
  34. <!-- <view class="course-button3">
  35. <view class="course-button" bindtap="selectGroupOption" data-option="teaching">
  36. <view class="nr_boxs">
  37. <text>课程动手动脑</text>
  38. <text>course</text>
  39. </view>
  40. </view>
  41. <view class="course-button" bindtap="selectGroupOption" data-option="large" style="margin-left: 20rpx;">
  42. <view class="nr_boxs">
  43. <text>展示</text>
  44. <text>course</text>
  45. </view>
  46. </view>
  47. </view> -->
  48. </view>
  49. </view>
  50. </view>
  51. </view>