transmit.wxml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <!--pages/transmit/transmit.wxml-->
  2. <view class="container">
  3. <!-- 标题 -->
  4. <tarbar id="tarbar"/>
  5. <!-- 内容 -->
  6. <view class="content">
  7. <scroll-view scroll-y="true" bindscroll="lower" scroll-with-animation="true" scroll-with-animation="true" enable-back-to-top="true">
  8. <!-- 科学艺术 -->
  9. <view class="art">
  10. <view class="works">
  11. <view class="title">
  12. <image src="../../pages/image/xing.png" class="xing"></image>
  13. <text class="">分享作品</text>
  14. <image src="../../pages/image/xing.png" class="xing"></image>
  15. </view>
  16. <view class="share-con" bindtap="particulars" data-postsId="{{productionData.id}}">
  17. <view class="head">
  18. <view class="head-img">
  19. <image src="{{productionData.featureMap.headImgUrl}}"></image>
  20. </view>
  21. <view class="lesson-name">
  22. <text>{{productionData.featureMap.wechatName}}</text>
  23. <text style="height: 100%">{{productionData.title}}</text>
  24. </view>
  25. </view>
  26. <view class="picture">
  27. <block wx:for="{{productionData.imagesList}}" wx:for-item="items" wx:key="{{items}}">
  28. <image src="{{items}}" catchtap="listenerButtonPreviewImage" data-img="{{items}}"></image>
  29. </block>
  30. </view>
  31. <view class="icon">
  32. <view catchtap="like">
  33. <image src="../../pages/image/zan.png" class="zan" wx:if="{{like}}"></image>
  34. <image src="../../pages/image/nozan.png" class="zan" wx:else></image>
  35. <text>{{favors ? favors : '0'}}</text>
  36. </view>
  37. <view>
  38. <image src="../../pages/image/weatch.png" class="weatch"></image>
  39. <text>{{productionData.postsAttributeInfo ? productionData.postsAttributeInfo.views : '0'}}</text>
  40. </view>
  41. <view>
  42. <image src="../../pages/image/discuss.png" class="discuss"></image>
  43. <text>{{productionData.replyCount}}</text>
  44. </view>
  45. </view>
  46. </view>
  47. </view>
  48. </view>
  49. </scroll-view>
  50. </view>
  51. </view>