index.wxml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <view style="background: #f5f5f5; padding: 20rpx 0;">
  2. <view class="container">
  3. <!-- <button bindtap="getData">点击</button> -->
  4. <!-- 搜索 -->
  5. <view class="search-bar" bindtap="goSearchPage">
  6. <input class="search-input" placeholder="搜索课件" disabled />
  7. <image class="search-icon" src="{{souimg}}" />
  8. </view>
  9. <!-- 空白区域 -->
  10. <view class="empty-space">
  11. <swiper style="width: 100%; height: 100%;" autoplay="true" interval="3000" circular>
  12. <block wx:for="{{carousellist}}" wx:key="index">
  13. <swiper-item>
  14. <image style="width: 100%; height: 100%;" src="{{item.url}}" mode="aspectFill" />
  15. </swiper-item>
  16. </block>
  17. </swiper>
  18. </view>
  19. <!-- <button class="pay_button" bindtap="tuikuan">退款</button> -->
  20. <!-- 课程分类按钮 -->
  21. <view class="course-buttons">
  22. <view class="course-button1" bindtap="selectGroupOption" data-option="dahome" style="background-image: url({{homepage_8}}); background-size: cover;">
  23. <view class="nr_boxs">
  24. <text>全脑智能开发答案</text>
  25. <text>course</text>
  26. </view>
  27. </view>
  28. <view class="course-button1" bindtap="selectGroupOption" data-option="imghome" style="margin-left: 20rpx; background-image: url({{homepage_9}}); background-size: cover;">
  29. <view class="nr_boxs">
  30. <text>动手动脑图库</text>
  31. <text>course</text>
  32. </view>
  33. </view>
  34. <!-- <view class="course-buttonstow">
  35. <view class="course-button2" bindtap="selectGroupOption" data-option="training">
  36. <view class="nr_boxs">
  37. <text>培训</text>
  38. <text>course</text>
  39. </view>
  40. </view>
  41. <view class="course-button3">
  42. <view class="course-button" bindtap="selectGroupOption" data-option="teaching">
  43. <view class="nr_boxs">
  44. <text>教学</text>
  45. <text>course</text>
  46. </view>
  47. </view>
  48. <view class="course-button" bindtap="selectGroupOption" data-option="large" style="margin-left: 20rpx;">
  49. <view class="nr_boxs">
  50. <text>展示</text>
  51. <text>course</text>
  52. </view>
  53. </view>
  54. </view>
  55. </view> -->
  56. </view>
  57. <!-- <button bindtap="getData">提交图片</button> -->
  58. </view>
  59. </view>