art.wxml 1.9 KB

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