art.wxml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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" 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="{{materialData}}"
  16. height="{{previewHeight}}"/>
  17. <view id="upload-position">
  18. <chat id="upload"
  19. ind="7"
  20. id="chat"
  21. productionData="{{productionData}}"
  22. title="作品展示"
  23. query="上传作品"
  24. type="2"
  25. columnType="6"
  26. bind:myevent="onMyEvent"
  27. bind:getHeight="onGetHeight"
  28. data-type="2"
  29. more="{{productionMore}}"
  30. timeList="{{timeList}}"
  31. teacher="{{teacher}}"
  32. />
  33. </view>
  34. <view id="questions-position">
  35. <chat id="questions"
  36. productionData="{{questionsData}}"
  37. title="答疑讨论"
  38. query="我有疑问"
  39. type="1"
  40. columnType="6"
  41. bind:myevent="onMyEvent"
  42. data-type="1"
  43. more="{{questionsMore}}"
  44. timeList="{{timeList}}"
  45. teacher="{{teacher}}"/>
  46. </view>
  47. <view class="upload-one" data-id="upload-position" bindtap="location">
  48. <image src="../image/works.png" ></image>
  49. </view>
  50. <view class="questions-one" data-id="questions-position" bindtap="location">
  51. <image src="../image/q_discuss.png" ></image>
  52. <text class="row" wx:if="{{questionsdian > 0}}"></text>
  53. </view>
  54. </view>
  55. </scroll-view>
  56. </view>
  57. <view class="canvas-box">
  58. <canvas canvas-id="myCanvas" style="width:100%; height: {{canvasHeight}}px;"></canvas>
  59. </view>
  60. <view hidden="{{flag}}">
  61. <dialog bindmyevent="jurisdiction"/>
  62. </view>
  63. </view>