国内标准详情页 过程稿件改为两行显示文件名

This commit is contained in:
baoyu
2024-04-12 16:08:29 +08:00
parent 81956c0350
commit 605fc21b9f
@@ -562,7 +562,7 @@
<div <div
v-show="child.attrField !== 'ZBJBD' && child.attrField !== 'KWJ' && child.attrField !== 'FBGYWBD' " v-show="child.attrField !== 'ZBJBD' && child.attrField !== 'KWJ' && child.attrField !== 'FBGYWBD' "
:key="child.id" :key="child.id"
:class="'modular-item half'" :class="'modular-item half'" style="height: 70px"
> >
<label :title="child.attrName" class="modular-content-p-name">{{ child.attrName }}</label> <label :title="child.attrName" class="modular-content-p-name">{{ child.attrName }}</label>
<span <span
@@ -1844,9 +1844,6 @@ export default {
filters: { filters: {
ellipsis(value) { ellipsis(value) {
if (!value) return '' if (!value) return ''
if (value.length > 12) {
return value.slice(0, 12) + '...'
}
return value return value
}, },
ellipsis50(value) { ellipsis50(value) {
@@ -4227,9 +4224,11 @@ export default {
a { a {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
width: calc(~'100% - 40px'); width: calc(~'100% - 40px');
white-space: nowrap; white-space: break-spaces;
display: block;
} }
} }
@@ -4623,7 +4622,7 @@ export default {
width: calc(~'100% - 225px'); width: calc(~'100% - 225px');
& > .files-title { & > .files-title {
width: calc(~'100% - 120px'); width: calc(~'100% - 10px');
//报批稿撑开 //报批稿撑开
//min-height: 50px; //min-height: 50px;
//line-height: 50px; //line-height: 50px;