|
@@ -10,7 +10,11 @@
|
|
|
<div class="print-model-bottom">
|
|
|
<div class="print-model-bottom-left" id="showWaterMark" ref="printArea">
|
|
|
<div class="print-inner">
|
|
|
- <template v-if="resArr[0] && resArr[0].wordsList">
|
|
|
+ <template
|
|
|
+ v-if="
|
|
|
+ resArr[0] && resArr[0].wordsList && resArr[0].wordsList.length > 0
|
|
|
+ "
|
|
|
+ >
|
|
|
<h2>
|
|
|
<span
|
|
|
v-for="(itemR, indexR) in resArr[0].wordsList"
|
|
@@ -67,6 +71,19 @@
|
|
|
</span>
|
|
|
</h2>
|
|
|
</template>
|
|
|
+ <h2 v-else>
|
|
|
+ <span
|
|
|
+ :style="{
|
|
|
+ color: colorObj.titleColor,
|
|
|
+ fontSize: titleFontsize + 'px',
|
|
|
+ lineHeight: titleFontsize + 8 + 'px',
|
|
|
+ marginRight: '10px',
|
|
|
+ fontWeight: '700',
|
|
|
+ cursor: 'pointer',
|
|
|
+ }"
|
|
|
+ >{{ articleInfo.art_title }}</span
|
|
|
+ >
|
|
|
+ </h2>
|
|
|
<h6
|
|
|
class="nnpe-article-author"
|
|
|
:style="{
|