Handy_Cao преди 1 година
родител
ревизия
c8f12122a6

+ 3 - 1
src/packages/tss/views/order/delivery/components/aftersale/Index.vue

@@ -1,11 +1,13 @@
 <!-- 交收提货-退换货 -->
 <template>
-    <p style="padding: 15px" v-html="documentcontent"></p>
+    <HtmlContainer style="padding: 15px;" class="content" :context="formatHtmlString(documentcontent)" v-if="documentcontent" />
 </template>
 
 <script lang="ts" setup>
 import { useCommonStore } from '@/stores/modules/common';
 import { computed } from 'vue';
+import HtmlContainer from '@mobile/components/base/html-container/index.vue'
+import { formatHtmlString } from '@/filters'
 
 const commonStore = useCommonStore()
 

+ 3 - 1
src/packages/tss/views/rules/benefits/index.vue

@@ -4,13 +4,15 @@
         <template #header>
             <app-navbar :title="$t('tss.benefits')" />
         </template>
-        <p style="padding: 15px" v-html="documentcontent"></p>
+        <HtmlContainer style="padding: 15px;" class="content" :context="formatHtmlString(documentcontent)" v-if="documentcontent" />
     </app-view>
 </template>
 
 <script lang="ts" setup>
 import { useCommonStore } from '@/stores/modules/common';
 import { computed } from 'vue';
+import HtmlContainer from '@mobile/components/base/html-container/index.vue'
+import { formatHtmlString } from '@/filters'
 
 const commonStore = useCommonStore()
 

+ 3 - 1
src/packages/tss/views/rules/fwrx/Index.vue

@@ -3,13 +3,15 @@
         <template #header>
             <app-navbar :title="$t('rules.fwrx')" />
         </template>
-        <p style="padding: 15px" v-html="documentcontent"></p>
+        <HtmlContainer style="padding: 15px;" class="content" :context="formatHtmlString(documentcontent)" v-if="documentcontent" />
     </app-view>
 </template>
 
 <script lang="ts" setup>
 import { useCommonStore } from '@/stores/modules/common';
 import { computed } from 'vue';
+import HtmlContainer from '@mobile/components/base/html-container/index.vue'
+import { formatHtmlString } from '@/filters'
 
 const commonStore = useCommonStore()
 

+ 3 - 1
src/packages/tss/views/rules/gywm/Index.vue

@@ -3,13 +3,15 @@
         <template #header>
             <app-navbar :title="$t('routes.about')" />
         </template>
-        <p style="padding: 15px" v-html="documentcontent"></p>
+        <HtmlContainer style="padding: 15px;" class="content" :context="formatHtmlString(documentcontent)" v-if="documentcontent" />
     </app-view>
 </template>
 
 <script lang="ts" setup>
 import { useCommonStore } from '@/stores/modules/common';
 import { computed } from 'vue';
+import HtmlContainer from '@mobile/components/base/html-container/index.vue'
+import { formatHtmlString } from '@/filters'
 
 const commonStore = useCommonStore()
 

+ 3 - 1
src/packages/tss/views/rules/logistics/index.vue

@@ -4,13 +4,15 @@
         <template #header>
             <app-navbar :title="$t('tss.logistics')" />
         </template>
-        <p style="padding: 15px" v-html="documentcontent"></p>
+        <HtmlContainer style="padding: 15px;" class="content" :context="formatHtmlString(documentcontent)" v-if="documentcontent" />
     </app-view>
 </template>
 
 <script lang="ts" setup>
 import { useCommonStore } from '@/stores/modules/common';
 import { computed } from 'vue';
+import HtmlContainer from '@mobile/components/base/html-container/index.vue'
+import { formatHtmlString } from '@/filters'
 
 const commonStore = useCommonStore()
 

+ 3 - 1
src/packages/tss/views/rules/malls/index.vue

@@ -4,13 +4,15 @@
         <template #header>
             <app-navbar :title="$t('tss.malls')" />
         </template>
-        <p style="padding: 15px" v-html="documentcontent"></p>
+        <HtmlContainer style="padding: 15px;" class="content" :context="formatHtmlString(documentcontent)" v-if="documentcontent" />
     </app-view>
 </template>
 
 <script lang="ts" setup>
 import { useCommonStore } from '@/stores/modules/common';
 import { computed } from 'vue';
+import HtmlContainer from '@mobile/components/base/html-container/index.vue'
+import { formatHtmlString } from '@/filters'
 
 const commonStore = useCommonStore()