[update 标准解读表] 点击图片可以放大
This commit is contained in:
@@ -110,6 +110,7 @@
|
|||||||
<div class="content-and-translation" :class="{'hide-translation': isContainerExpand}">
|
<div class="content-and-translation" :class="{'hide-translation': isContainerExpand}">
|
||||||
<!--标准内容-->
|
<!--标准内容-->
|
||||||
<div class="sheet-container part-ml" ref="sheetContainerRef"
|
<div class="sheet-container part-ml" ref="sheetContainerRef"
|
||||||
|
@click="handleClickContent"
|
||||||
:style="showClauseLabel === showClauseLabelEnums.hideTranslation ? 'width: 100%' : ''">
|
:style="showClauseLabel === showClauseLabelEnums.hideTranslation ? 'width: 100%' : ''">
|
||||||
<!--标准名称-->
|
<!--标准名称-->
|
||||||
<div class="standard-name">
|
<div class="standard-name">
|
||||||
@@ -131,7 +132,6 @@
|
|||||||
@click="handleClickClauseContentItem(clause)">
|
@click="handleClickClauseContentItem(clause)">
|
||||||
<div class="clause-content-item-title">{{ clause.item_num }} {{ clause.item_title }}</div>
|
<div class="clause-content-item-title">{{ clause.item_num }} {{ clause.item_title }}</div>
|
||||||
<div class="clause-content-item-content"
|
<div class="clause-content-item-content"
|
||||||
@click="handleClickContent"
|
|
||||||
:class="{'clause-content-item-content-hight': clause.menu_id === hightMenuId}"
|
:class="{'clause-content-item-content-hight': clause.menu_id === hightMenuId}"
|
||||||
v-html="clause.item_content"></div>
|
v-html="clause.item_content"></div>
|
||||||
</div>
|
</div>
|
||||||
@@ -142,14 +142,15 @@
|
|||||||
<!-- @dragstop="(...args) => onDragstop('sheetContainerRef', ...args)"></vue-draggable-resizable>-->
|
<!-- @dragstop="(...args) => onDragstop('sheetContainerRef', ...args)"></vue-draggable-resizable>-->
|
||||||
</div>
|
</div>
|
||||||
<!--译文-->
|
<!--译文-->
|
||||||
<div v-if="showClauseLabel !== showClauseLabelEnums.hideTranslation" class="translation-text part-ml part-common" ref="translationRef"
|
<div v-if="showClauseLabel !== showClauseLabelEnums.hideTranslation"
|
||||||
|
class="translation-text part-ml part-common" ref="translationRef"
|
||||||
|
@click="handleClickContent"
|
||||||
:class="{'hide-translation-text': isContainerExpand}">
|
:class="{'hide-translation-text': isContainerExpand}">
|
||||||
<div class="part-title">{{ $t('standardRegulationLibrary.translation') }}</div>
|
<div class="part-title">{{ $t('standardRegulationLibrary.translation') }}</div>
|
||||||
<div class="standard-content translation-content">
|
<div class="standard-content translation-content">
|
||||||
<div class="clause-content-item" v-if="Object.keys(clauseLabelInfo).length">
|
<div class="clause-content-item" v-if="Object.keys(clauseLabelInfo).length">
|
||||||
<div class="clause-content-item-title">{{ clauseLabelInfo.item_num }} {{ clauseLabelInfo.item_title }}</div>
|
<div class="clause-content-item-title">{{ clauseLabelInfo.item_num }} {{ clauseLabelInfo.item_title }}</div>
|
||||||
<div class="clause-content-item-content"
|
<div class="clause-content-item-content"
|
||||||
@click="handleClickContent"
|
|
||||||
v-html="clauseLabelInfo.translation"></div>
|
v-html="clauseLabelInfo.translation"></div>
|
||||||
</div>
|
</div>
|
||||||
<a-list v-else :data-source="[]"></a-list>
|
<a-list v-else :data-source="[]"></a-list>
|
||||||
@@ -817,7 +818,9 @@ export default {
|
|||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/deep/ img {
|
||||||
|
cursor: zoom-in;
|
||||||
|
}
|
||||||
/deep/ img.wordImg {
|
/deep/ img.wordImg {
|
||||||
width: auto !important;
|
width: auto !important;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user