|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
<template>
|
|
|
<app-view class="g-detail" v-if="record" style="background-color: #fff;margin-top: 5px;">
|
|
<app-view class="g-detail" v-if="record" style="background-color: #fff;margin-top: 5px;">
|
|
|
- <p style="margin: 10px;" v-html="record.collectiondesc"></p>
|
|
|
|
|
|
|
+ <HtmlContainer class="content" :context="formatHtmlString(record.collectiondesc)" v-if="record.collectiondesc" />
|
|
|
<p v-if="record.pictureurl">
|
|
<p v-if="record.pictureurl">
|
|
|
<img :src="getFileUrl(record.pictureurl)" alt="" />
|
|
<img :src="getFileUrl(record.pictureurl)" alt="" />
|
|
|
</p>
|
|
</p>
|
|
@@ -9,7 +9,8 @@
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
<script lang="ts" setup>
|
|
|
import { PropType } from 'vue'
|
|
import { PropType } from 'vue'
|
|
|
-import { getFileUrl } from '@/filters'
|
|
|
|
|
|
|
+import { getFileUrl, formatHtmlString } from '@/filters'
|
|
|
|
|
+import HtmlContainer from '@mobile/components/base/html-container/index.vue'
|
|
|
|
|
|
|
|
defineProps({
|
|
defineProps({
|
|
|
record: {
|
|
record: {
|