Browse Source

公告详情适应富文本

zhanghongrui 2 năm trước cách đây
mục cha
commit
df2d92859f
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 3 2
      pages/notice/notice_details.wxml

+ 3 - 2
pages/notice/notice_details.wxml

@@ -18,8 +18,9 @@
 
       
       <view class="notice_new">
-        <span>内容:</span>
-        <i>{{noticeContent}}</i>
+        <!-- <span>内容:</span> -->
+        <!-- <i>{{noticeContent}}</i> -->
+        <rich-text space="nbsp" nodes="{{noticeContent}}"></rich-text>
       </view>
 
 </view>