postItem.wxml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <template name="postItemTemplate">
  2. <view class="post-list-item-container">
  3. <!-- <view class="posterInfoBox">
  4. <view class='itemLeftBox'>
  5. <image mode="aspectFill" src="{{headIcon}}"></image>
  6. </view>
  7. <view class='itemRightBox'>
  8. <view class='personInfo'>
  9. <view class='postName'>
  10. <text>{{nick}}</text>
  11. </view>
  12. <view class='starsBox'>
  13. <template is="starsTemplate" data="{{stars:stars, score: score}}" />
  14. </view>
  15. </view>
  16. <view class='postTimeAndLocation'>
  17. <text>{{updateTime}}</text>
  18. </view>
  19. </view>
  20. <view class='postTimeAndLocation'>
  21. <text>{{updateTime}}</text>
  22. </view>
  23. </view>-->
  24. <view class="posterInfoBox">
  25. <view class="postContent">
  26. <text>{{orgName}}</text>
  27. </view>
  28. <view>
  29. <text>{{time}}</text>
  30. </view>
  31. </view>
  32. <!-- <view class="postImage">
  33. <block wx:for="{{photoList}}" wx:for-item="photo" wx:key="id">
  34. <image mode="aspectFit" src="{{photo.small}}"></image>
  35. </block>
  36. </view> -->
  37. <view class="report-content">
  38. <text >{{info}}</text>
  39. <!-- <block wx:for="{{replyList}}" wx:for-item="reply" wx:key="id">
  40. <template is="replyItemTemplate" data="{{...reply}}" />
  41. </block> -->
  42. <!-- <block wx:if="{{replySize>2}}">
  43. <view class="viewall" bindtap='viewAllReplyHandle' data-postid="{{id}}">
  44. <text>查看全部{{replySize}}条留言</text>
  45. </view>
  46. </block> -->
  47. </view>
  48. <!-- <view class="bottomBar">
  49. <view class='postTimeAndLocation'>
  50. <text>{{time}}</text>
  51. </view> -->
  52. <!-- <view class="bottomBarBox ">
  53. <button size="mini " bindtap='postReplyHandle' data-postid="{{id}}">留言</button>
  54. <button size="mini " bindtap='workStreamHandle' data-postid="{{id}}">工作标记</button>
  55. </view> -->
  56. <!-- </view> -->
  57. </view>
  58. </template>