|
|
@@ -50,7 +50,12 @@
|
|
|
</div>
|
|
|
<template v-if="!config.isHasEN || (config.isHasEN && !config.isShowEN)">
|
|
|
<template v-if="resArr.length > 0">
|
|
|
- <div class="NPC-sentences-list">
|
|
|
+ <div
|
|
|
+ class="NPC-sentences-list"
|
|
|
+ :style="{
|
|
|
+ height: curQue.property.content_height ? curQue.property.content_height + 'px' : '',
|
|
|
+ }"
|
|
|
+ >
|
|
|
<div class="NPC-article-empty">
|
|
|
<div :class="['empty-left', isHasRemark ? 'hasRemark' : '']"></div>
|
|
|
<div class="empty-right"></div>
|
|
|
@@ -524,7 +529,12 @@
|
|
|
<template v-if="resObj">
|
|
|
<!-- 段落对齐方式和备注在此模式里没有写,如果段落里添加了英文后需要在此添加段落对齐和备注 -->
|
|
|
|
|
|
- <div class="NPC-sentences-list">
|
|
|
+ <div
|
|
|
+ class="NPC-sentences-list"
|
|
|
+ :style="{
|
|
|
+ height: curQue.property.content_height ? curQue.property.content_height + 'px' : '',
|
|
|
+ }"
|
|
|
+ >
|
|
|
<div v-for="(item, index) in resObj.sentList" :key="'detail' + index" :class="['NNPE-detail-box']">
|
|
|
<div :class="['NNPE-details']">
|
|
|
<div
|
|
|
@@ -1188,6 +1198,7 @@ export default {
|
|
|
let leg = this.curQue.detail.length;
|
|
|
let curQue = JSON.parse(JSON.stringify(this.curQue));
|
|
|
let dhaspinyin = false; // 每段是否有拼音
|
|
|
+ this.isHasRemark = false;
|
|
|
curQue.detail.forEach((dItem, dIndex) => {
|
|
|
dhaspinyin = false;
|
|
|
let remarkDetail = dItem.remark;
|
|
|
@@ -1767,6 +1778,7 @@ export default {
|
|
|
|
|
|
.NPC-sentences-list {
|
|
|
// padding: 24px 0;
|
|
|
+ overflow: auto;
|
|
|
|
|
|
.NPC-article-empty {
|
|
|
display: flex;
|