|
@@ -1,3 +1,4 @@
|
|
|
|
+<!-- eslint-disable vue/no-v-html -->
|
|
<template>
|
|
<template>
|
|
<div class="judge-preview" :style="getAreaStyle()">
|
|
<div class="judge-preview" :style="getAreaStyle()">
|
|
<SerialNumberPosition v-if="isEnable(data.property.sn_display_mode)" :property="data.property" />
|
|
<SerialNumberPosition v-if="isEnable(data.property.sn_display_mode)" :property="data.property" />
|
|
@@ -18,7 +19,12 @@
|
|
:pinyin-position="data.property.pinyin_position"
|
|
:pinyin-position="data.property.pinyin_position"
|
|
:is-preview="true"
|
|
:is-preview="true"
|
|
/>
|
|
/>
|
|
- <div v-else class="rich-text" v-html="sanitizeHTML(content)"></div>
|
|
|
|
|
|
+ <div
|
|
|
|
+ v-else
|
|
|
|
+ class="rich-text"
|
|
|
|
+ :style="{ fontSize: type === typeList[0] ? '12pt' : '' }"
|
|
|
|
+ v-html="sanitizeHTML(content)"
|
|
|
|
+ ></div>
|
|
</div>
|
|
</div>
|
|
<div class="option-type">
|
|
<div class="option-type">
|
|
<div
|
|
<div
|