Explorar o código

公告详情适应富文本

zhanghongrui %!s(int64=2) %!d(string=hai) anos
pai
achega
df2d92859f
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  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>