science.wxml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <!--pages/science/science.wxml-->
  2. <view class="container">
  3. <!-- 标题 -->
  4. <tarbar id="tarbar"/>
  5. <!-- 内容 -->
  6. <view class="content">
  7. <scroll-view scroll-y="true" scroll-with-animation="true" scroll-with-animation="true" enable-back-to-top="true" scroll-into-view="{{position}}">
  8. <!-- 科学 -->
  9. <view class="science">
  10. <target wxObjectives="{{wxObjectives}}"/>
  11. <lessonList
  12. lessonData="{{list}}"
  13. height="{{lessonListHeight}}"/>
  14. <preview
  15. materialData="{{courseData.lessonPage.list}}"
  16. height="{{previewHeight}}"/>
  17. <chat id="upload"
  18. productionData="{{productionData}}"
  19. title="作品分享"
  20. query="分享作品"
  21. type="2"
  22. columnType="5"
  23. bind:myevent="onMyEvent"
  24. data-type="2"
  25. more="{{productionMore}}"/>
  26. <chat id="questions"
  27. productionData="{{questionsData}}"
  28. title="答疑讨论"
  29. query="我有疑问"
  30. type="1"
  31. columnType="5"
  32. bind:myevent="onMyEvent"
  33. data-type="1"
  34. more="{{questionsMore}}"/>
  35. <view class="questions-one" data-id="questions" bindtap="location">
  36. <image src="../image/q_discuss.png" ></image>
  37. <text class="row" wx:if="{{questionsdian > 0}}"></text>
  38. </view>
  39. <view class="upload-one" data-id="upload" bindtap="location">
  40. <image src="../image/works.png" ></image>
  41. </view>
  42. </view>
  43. </scroll-view>
  44. </view>
  45. </view>