news.wxml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <wxs src="../../utils/util.wxs" module="tools" />
  2. <view class="{{show?'fixed':''}}">
  3. <image class='banner' src="{{info.img}}"></image>
  4. <view class="info">
  5. <view>{{info.name}}
  6. <text wx:if='{{info.is_collected}}' class="collect" data-id='1' bindtap="collect">取消收藏</text>
  7. <text wx:else class="collect" bindtap="collect">收藏</text>
  8. </view>
  9. <text>来源:{{info.journal_name}}</text>
  10. <!-- <text>主讲人:{{info.speaker}}</text> -->
  11. <text>发布时间:{{info.ctime}}</text>
  12. <!-- <text>地址:{{info.city}}{{info.address}}</text> -->
  13. </view>
  14. <view class="content">
  15. <view class="tt">资讯简介</view>
  16. <view id='content' class="p {{zk1==1?'':'sq'}}">
  17. {{info.desc}}
  18. </view>
  19. <block wx:if='{{show1}}'>
  20. <text bindtap="sq1" class="zksq" wx:if='{{zk1}}'>收起</text>
  21. <text bindtap="zk1" class="zksq" wx:if='{{!zk1}}'>展开</text>
  22. </block>
  23. </view>
  24. <view class="content">
  25. <view class="tt">{{info.organizer_info.name}}</view>
  26. <view id='content1' class="p {{zk2==1?'':'sq'}}">
  27. {{info.organizer_info.desc}}
  28. </view>
  29. <block wx:if='{{show2}}'>
  30. <text bindtap="sq2" class="zksq" wx:if='{{zk2}}'>收起</text>
  31. <text bindtap="zk2" class="zksq" wx:if='{{!zk2}}'>展开</text>
  32. </block>
  33. </view>
  34. <view>
  35. <view class="tt">资讯内容</view>
  36. <!-- <editor style="margin:10px 0;padding:0 10px;" read-only="{{true}}" id="editor" class="ql-container">
  37. </editor> -->
  38. <view class="content">
  39. <rich-text nodes='{{info.content}}'></rich-text>
  40. </view>
  41. <view class="tt" wx:if='{{info.speaker_list.length>0}}'>主讲人</view>
  42. <view class="list" wx:for='{{info.speaker_list}}'>
  43. <image mode="widthFix" src="{{item.img}}"></image>
  44. <view>
  45. <view class="tt">{{item.name}} </view>
  46. <text>{{item.intruduce}}</text>
  47. </view>
  48. </view>
  49. </view>
  50. </view>