art.wxml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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">
  8. <!-- 科学艺术 -->
  9. <view class="art">
  10. <target/>
  11. <lessonList/>
  12. <view class="material">
  13. <view class="this-week">
  14. <image src="../image/study.png"></image>
  15. <view class="lesson-name">
  16. <text>学习资料</text>
  17. <text>本周和历史学习资料</text>
  18. </view>
  19. </view>
  20. <view class="material-con">
  21. <view class="art-img">
  22. <text>钻石戒指</text>
  23. <text>点击预览</text>
  24. </view>
  25. <view class="art-img">
  26. <text>钻石戒指</text>
  27. <text>点击预览</text>
  28. </view>
  29. </view>
  30. </view>
  31. <!--<view class="works">
  32. <view class="title">
  33. <image src="../image/xing.png" class="xing"></image>
  34. <text class="">作品分享</text>
  35. <image src="../image/xing.png" class="xing"></image>
  36. <text class="uploading" bindtap="uploadImage">分享作品</text>
  37. </view>
  38. <view >
  39. <view class="share-con" wx:for="{{productionData.list}}" wx:key="{{index}}">
  40. <view class="head">
  41. <view class="head-img">
  42. <image src="{{item.featureMap.headImgUrl}}"></image>
  43. </view>
  44. <view class="lesson-name">
  45. <text>{{item.featureMap.wechatName}}</text>
  46. <text style="height: 100%">{{item.title}}</text>
  47. </view>
  48. <view class="share-up-box" bindtap="shareImage">
  49. <image class="share_up" src="../image/share_up.png"></image>
  50. </view>
  51. </view>
  52. <view class="picture">
  53. <block wx:for="{{item.imagesList}}" wx:for-item="items" wx:key="{{items.id}}">
  54. <image src="{{items.path}}" bindtap="listenerButtonPreviewImage" data-img="{{items.path}}"></image>
  55. </block>
  56. </view>
  57. <view class="icon">
  58. <view>
  59. <image src="../image/zan.png" class="zan"></image>
  60. <text>{{item.postsAttributeInfo ? item.postsAttributeInfo.favors : '0'}}</text>
  61. </view>
  62. <view>
  63. <image src="../image/weatch.png" class="weatch"></image>
  64. <text>{{item.postsAttributeInfo ? item.postsAttributeInfo.views : '0'}}</text>
  65. </view>
  66. <view>
  67. <image src="../image/discuss.png" class="discuss"></image>
  68. <text>{{item.replyCount}}</text>
  69. </view>
  70. </view>
  71. <chat chatData="{{item.replyList}}" uid="{{item.userId}}" postsId="{{item.id}}"/>
  72. </view>
  73. <view class="more">查看更多</view>
  74. </view>
  75. <view class="no-con" style="display: none;">
  76. <view class="state">你还没有上传作品</view>
  77. <view class="upload-works">
  78. <image src="../image/work_box.png" class="work-box"></image>
  79. <image src="../image/uploading_works.png" class="uploading-works"></image>
  80. <text>上传作品</text>
  81. </view>
  82. </view>
  83. </view>-->
  84. <chat
  85. productionData="{{productionData}}"
  86. title="作品分享"
  87. query="分享作品"
  88. type="2"/>
  89. <chat
  90. productionData="{{questionsData}}"
  91. title="答疑讨论"
  92. query="我有疑问"
  93. type="1"/>
  94. <!-- <view class="share">
  95. <view class="title">
  96. <image src="../image/xing.png" class="xing"></image>
  97. <text class="">答疑讨论</text>
  98. <image src="../image/xing.png" class="xing"></image>
  99. </view>
  100. <view >
  101. <view class="questions">
  102. <view class="head">
  103. <view class="head-img">
  104. <image src="../image/medal.png"></image>
  105. </view>
  106. <view class="lesson-name">
  107. <text>李佳怡</text>
  108. <text style="height: 100%">第一次发作品,请大家多多关注第一次发作品,请大家多多关注,第一次发作品,请大家多多关注,第一次发作品,请大家多多关注</text>
  109. </view>
  110. <view class="dian"></view>
  111. </view>
  112. <view class="icon">
  113. <view>
  114. <image src="../image/zan.png" class="zan"></image>
  115. <text>534</text>
  116. </view>
  117. <view>
  118. <image src="../image/weatch.png" class="weatch"></image>
  119. <text>1534</text>
  120. </view>
  121. <view>
  122. <image src="../image/discuss.png" class="discuss"></image>
  123. <text>534</text>
  124. </view>
  125. </view>
  126. </view>
  127. <view class="more">查看更多</view>
  128. </view>
  129. <view class="no-con" style="display: none;">
  130. <view class="state">你还没有提问过问题</view>
  131. <view class="upload-works">
  132. <image src="../image/work_box.png" class="work-box"></image>
  133. <image src="../image/questions.png" class="uploading-works"></image>
  134. <text>提问问题</text>
  135. </view>
  136. </view>
  137. </view> -->
  138. <view class="questions-one">
  139. <image src="../image/q_discuss.png" ></image>
  140. </view>
  141. <view class="upload-one">
  142. <image src="../image/works.png" ></image>
  143. </view>
  144. </view>
  145. </scroll-view>
  146. </view>
  147. </view>