|
@@ -15,68 +15,7 @@
|
|
|
:style="{ width: isPrint ? '220mm' : '' }"
|
|
|
>
|
|
|
<div class="print-inner">
|
|
|
- <template
|
|
|
- v-if="
|
|
|
- resArr[0] && resArr[0].wordsList && resArr[0].wordsList.length > 0
|
|
|
- "
|
|
|
- >
|
|
|
- <h2>
|
|
|
- <span
|
|
|
- v-for="(itemR, indexR) in resArr[0].wordsList"
|
|
|
- :key="indexR"
|
|
|
- :style="{
|
|
|
- color: colorObj.titleColor,
|
|
|
- fontSize: '44px',
|
|
|
- lineHeight: 44 + 38 + 'px',
|
|
|
- marginRight: '10px',
|
|
|
- fontWeight: '700',
|
|
|
- fontFamily: printForm.fontFamily,
|
|
|
- }"
|
|
|
- :class="[
|
|
|
- itemR.tokens[9] === '' ? 'marginRight' : '',
|
|
|
- itemR.marginRight ? 'marginSingleRight' : '',
|
|
|
- ]"
|
|
|
- >
|
|
|
- <template v-if="itemR.isShow">
|
|
|
- <span
|
|
|
- class="NNPE-chs"
|
|
|
- :class="[
|
|
|
- itemR.type,
|
|
|
- itemR.tokens[9] === '' ? 'marginRight' : '',
|
|
|
- itemR.highIndex ? 'fontWeight' : '',
|
|
|
- itemR.marginRight ? 'marginSingleRight' : '',
|
|
|
- ]"
|
|
|
- >{{ itemR.tokens[2] }}</span
|
|
|
- >
|
|
|
- <span
|
|
|
- class="NNPE-chs NNPE-chs-both"
|
|
|
- v-if="
|
|
|
- resArr[0].wordsList[indexR + 1] &&
|
|
|
- resArr[0].wordsList[indexR + 1].tokens[2] &&
|
|
|
- enFhList.indexOf(
|
|
|
- resArr[0].wordsList[indexR + 1].tokens[2]
|
|
|
- ) > -1
|
|
|
- "
|
|
|
- :class="[
|
|
|
- resArr[0].wordsList[indexR + 1].type,
|
|
|
- resArr[0].wordsList[indexR + 1].tokens[8] === ''
|
|
|
- ? 'marginLeft'
|
|
|
- : '',
|
|
|
- resArr[0].wordsList[indexR + 1].highIndex
|
|
|
- ? 'fontWeight'
|
|
|
- : '',
|
|
|
- resArr[0].wordsList[indexR + 1].marginRight
|
|
|
- ? 'marginSingleRight'
|
|
|
- : '',
|
|
|
- ]"
|
|
|
- >{{ resArr[0].wordsList[indexR + 1].tokens[2] }}</span
|
|
|
- >
|
|
|
- </template>
|
|
|
- <!-- {{itemR.tokens[2]}} -->
|
|
|
- </span>
|
|
|
- </h2>
|
|
|
- </template>
|
|
|
- <h2 v-else>
|
|
|
+ <h2>
|
|
|
<span
|
|
|
:style="{
|
|
|
color: colorObj.titleColor,
|