瀏覽代碼

广告详情页面使用富文本

CarlYang 3 年之前
父節點
當前提交
9da88fe90a
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      pages.json
  2. 1 1
      pages/bannerDetails/bannerDetails.vue

+ 1 - 1
pages.json

@@ -137,7 +137,7 @@
             "path" : "pages/center/monthly/monthly",
             "style" :                                                                                    
             {
-				"navigationStyle":"custom",
+				// "navigationStyle":"custom",
                 "navigationBarTitleText": "我的包月",
                 "navigationBarBackgroundColor": "#008CFF",
                 "navigationBarTextStyle": "white"

+ 1 - 1
pages/bannerDetails/bannerDetails.vue

@@ -1,7 +1,7 @@
 <template>
 	<!-- 轮播详情 -->
 	<view>
-		<view v-html="dom"></view>
+		<u-parse :html="dom"></u-parse>
 		<u-toast ref="uToast" />
 	</view>
 </template>