소스 검색

回显问题

zhangyaowen 1 개월 전
부모
커밋
5444f46dfb
1개의 변경된 파일1개의 추가작업 그리고 7개의 파일을 삭제
  1. 1 7
      pages/goods/components/detail/detail-content-card.vue

+ 1 - 7
pages/goods/components/detail/detail-content-card.vue

@@ -7,15 +7,9 @@
     </view>
     <view class="card-content">
       <template v-if="goodsInfo.userHtml">
-        <!-- #ifdef H5 -->
-        <!--        <iframe :src="goodsInfo.userHtml" style="width: 100%; height: calc(100vh - 94px); border: none;"></iframe>-->
-        <!-- #endif -->
-        <!-- #ifdef MP-WEIXIN -->
-        <!-- <web-view :src="goodsInfo.userHtml" style="width: 100%; height: 800rpx; overflow: auto;"></web-view> -->
-        <!-- #endif -->
+        <view style="padding: 10px;" v-html="goodsInfo.userHtml"></view>
       </template>
       <template v-else>
-        <!-- {{ content }} -->
         <view style="padding: 10px;" v-html="content"></view>
       </template>
     </view>