one.wxml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <!--compontents/chat/chat.wxml-->
  2. <view class="works">
  3. <view class="title">
  4. <image src="../../pages/image/xing.png" class="xing"></image>
  5. <text class="">{{title}}</text>
  6. <image src="../../pages/image/xing.png" class="xing"></image>
  7. </view>
  8. <view class="share-con" wx:key="{{index}}">
  9. <view class="head">
  10. <view class="head-img">
  11. <image src="{{productionData.featureMap.headImgUrl}}"></image>
  12. </view>
  13. <view class="lesson-name">
  14. <text>{{productionData.featureMap.wechatName}}</text>
  15. <text style="height: 100%">{{productionData.title}}</text>
  16. </view>
  17. </view>
  18. <view class="picture" wx:if="{{type == 2}}">
  19. <block wx:for="{{productionData.imagesList}}" wx:for-item="items" wx:key="{{items.id}}">
  20. <image src="{{items.path}}" bindtap="listenerButtonPreviewImage" data-img="{{items.path}}"></image>
  21. </block>
  22. </view>
  23. <view class="icon">
  24. <view>
  25. <image src="../../pages/image/zan.png" class="zan"></image>
  26. <text>{{productionData.postsAttributeInfo ? productionData.postsAttributeInfo.favors : '0'}}</text>
  27. </view>
  28. <view>
  29. <image src="../../pages/image/weatch.png" class="weatch"></image>
  30. <text>{{productionData.postsAttributeInfo ? productionData.postsAttributeInfo.views : '0'}}</text>
  31. </view>
  32. <view>
  33. <image src="../../pages/image/discuss.png" class="discuss"></image>
  34. <text>{{productionData.replyCount}}</text>
  35. </view>
  36. </view>
  37. <discuss discussData="{{productionData.replyList}}" uid="{{productionData.userId}}" postsId="{{productionData.id}}" id="discuss" type="{{type}}"/>
  38. </view>
  39. </view>