|
@@ -30,12 +30,13 @@
|
|
|
:paragraph-list="paragraph_list"
|
|
:paragraph-list="paragraph_list"
|
|
|
:rich-text-list="rich_text_list"
|
|
:rich-text-list="rich_text_list"
|
|
|
:pinyin-position="data.property.pinyin_position"
|
|
:pinyin-position="data.property.pinyin_position"
|
|
|
|
|
+ :body-styles="getBodyStyles()"
|
|
|
:is-preview="true"
|
|
:is-preview="true"
|
|
|
/>
|
|
/>
|
|
|
<span
|
|
<span
|
|
|
v-else
|
|
v-else
|
|
|
class="content rich-text"
|
|
class="content rich-text"
|
|
|
- :style="{ fontSize: type === typeList[0] ? '12pt' : '' }"
|
|
|
|
|
|
|
+ :style="{ fontSize: type === typeList[0] ? '12pt' : '', ...getBodyStyles() }"
|
|
|
v-html="convertText(sanitizeHTML(content))"
|
|
v-html="convertText(sanitizeHTML(content))"
|
|
|
></span>
|
|
></span>
|
|
|
<div v-if="showLang" class="lang">
|
|
<div v-if="showLang" class="lang">
|
|
@@ -86,12 +87,13 @@
|
|
|
:paragraph-list="paragraph_list"
|
|
:paragraph-list="paragraph_list"
|
|
|
:rich-text-list="rich_text_list"
|
|
:rich-text-list="rich_text_list"
|
|
|
:pinyin-position="data.property.pinyin_position"
|
|
:pinyin-position="data.property.pinyin_position"
|
|
|
|
|
+ :body-styles="getBodyStyles()"
|
|
|
:is-preview="true"
|
|
:is-preview="true"
|
|
|
/>
|
|
/>
|
|
|
<span
|
|
<span
|
|
|
v-else
|
|
v-else
|
|
|
class="content rich-text"
|
|
class="content rich-text"
|
|
|
- :style="{ fontSize: type === typeList[0] ? '12pt' : '' }"
|
|
|
|
|
|
|
+ :style="{ fontSize: type === typeList[0] ? '12pt' : '', ...getBodyStyles() }"
|
|
|
v-html="convertText(sanitizeHTML(content))"
|
|
v-html="convertText(sanitizeHTML(content))"
|
|
|
></span>
|
|
></span>
|
|
|
<div v-if="showLang" class="lang">
|
|
<div v-if="showLang" class="lang">
|