[update 标准解读表] 点击图片可以放大

This commit is contained in:
danshihao
2024-09-02 09:28:46 +08:00
parent 73cb228f47
commit b4a2d7a419
+7 -4
View File
@@ -110,6 +110,7 @@
<div class="content-and-translation" :class="{'hide-translation': isContainerExpand}">
<!--标准内容-->
<div class="sheet-container part-ml" ref="sheetContainerRef"
@click="handleClickContent"
:style="showClauseLabel === showClauseLabelEnums.hideTranslation ? 'width: 100%' : ''">
<!--标准名称-->
<div class="standard-name">
@@ -131,7 +132,6 @@
@click="handleClickClauseContentItem(clause)">
<div class="clause-content-item-title">{{ clause.item_num }} {{ clause.item_title }}</div>
<div class="clause-content-item-content"
@click="handleClickContent"
:class="{'clause-content-item-content-hight': clause.menu_id === hightMenuId}"
v-html="clause.item_content"></div>
</div>
@@ -142,14 +142,15 @@
<!-- @dragstop="(...args) => onDragstop('sheetContainerRef', ...args)"></vue-draggable-resizable>-->
</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}">
<div class="part-title">{{ $t('standardRegulationLibrary.translation') }}</div>
<div class="standard-content translation-content">
<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-content"
@click="handleClickContent"
v-html="clauseLabelInfo.translation"></div>
</div>
<a-list v-else :data-source="[]"></a-list>
@@ -817,7 +818,9 @@ export default {
border: 1px solid;
}
}
/deep/ img {
cursor: zoom-in;
}
/deep/ img.wordImg {
width: auto !important;
max-width: 100%;