science.wxml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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>
  45. </scroll-view>
  46. </view>
  47. <view class="canvas-box">
  48. <canvas canvas-id="myCanvas" style="width:100%; height: {{canvasHeight}}px;"></canvas>
  49. </view>
  50. <view hidden="{{flag}}">
  51. <dialog bindmyevent="jurisdiction"/>
  52. </view>
  53. </view>