science.wxml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. id="chat"
  19. productionData="{{productionData}}"
  20. title="作品展示"
  21. query="上传作品"
  22. type="2"
  23. columnType="5"
  24. bind:getHeight="onGetHeight"
  25. bind:myevent="onMyEvent"
  26. data-type="2"
  27. more="{{productionMore}}"/>
  28. <chat id="questions"
  29. productionData="{{questionsData}}"
  30. title="答疑讨论"
  31. query="我有疑问"
  32. type="1"
  33. columnType="5"
  34. bind:myevent="onMyEvent"
  35. data-type="1"
  36. more="{{questionsMore}}"/>
  37. <view class="questions-one" data-id="questions" bindtap="location">
  38. <image src="../image/q_discuss.png" ></image>
  39. <text class="row" wx:if="{{questionsdian > 0}}"></text>
  40. </view>
  41. <view class="upload-one" data-id="upload" bindtap="location">
  42. <image src="../image/works.png" ></image>
  43. </view>
  44. <view class="canvas-box">
  45. <canvas canvas-id="myCanvas" style="width:100%; height: {{canvasHeight}}px;"></canvas>
  46. </view>
  47. </view>
  48. </scroll-view>
  49. </view>
  50. </view>