index.wxml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <!--index.wxml-->
  2. <view class="pageContainer bgC">
  3. <!--search-->
  4. <view class="search flex">
  5. <text class="centertitle">{{pageTitle.title}}</text>
  6. </view>
  7. <!--banner-->
  8. <view class="art-content">
  9. <view class="auto-text">
  10. <view><text>{{pageTitle.text}}</text></view>
  11. </view>
  12. <view wx:for="{{pageTitle.array}}" wx:for-item="item">
  13. <view class="auto-title">
  14. <view><text>{{item.title}}</text></view>
  15. </view>
  16. <view class="auto-text">
  17. <view><text>{{item.text}}</text></view>
  18. </view>
  19. </view>
  20. </view>
  21. <!--nav-->
  22. <!--ad-->
  23. <view class="ad flex">
  24. <block wx:for="{{ad}}" wx:for-item="item">
  25. <navigator url="{{item.navigator}}">
  26. <image src="{{item.imgurl}}"></image>
  27. </navigator>
  28. </block>
  29. </view>
  30. <!--courses grow-->
  31. <view class="course-grp flex" >
  32. <block wx:for="{{course_grp}}" wx:for-idx="idx" wx:for-item="block_item">
  33. <view class="course-grp-name flex">
  34. <text>{{block_item.title.left}}</text>
  35. </view>
  36. <view class="course-grp-item flex">
  37. <block wx:for="{{block_item.courses}}" wx:for-item="item">
  38. <navigator url="{{item.navigator}}" class="flex flex-col">
  39. <image src="{{item.imgurl}}"></image>
  40. </navigator>
  41. </block>
  42. </view>
  43. </block>
  44. </view>
  45. </view>