From b718fa634b4419ef3e33cf0f24b57d1fe9693b17 Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Sun, 7 Nov 2021 17:07:00 +0800 Subject: [PATCH] feat: There is no way the, --- .../details/otherStandardDetails/index.vue | 38 ++++++++++++++++++- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index 7c2ccdc1c..42e4a956c 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -76,6 +76,15 @@ /> + 标准分解单 +

{{ @@ -1360,8 +1369,8 @@ filters: { ellipsis (value) { if (!value) return '' - if (value.length > 25) { - return value.slice(0,25) + '...' + if (value.length > 18) { + return value.slice(0,18) + '...' } return value } @@ -3142,6 +3151,31 @@ @import '~@/assets/styles/mixins'; @import '~@/assets/styles/style'; + /deep/ .decomposition-btn { + position: absolute; + top: 6px; + right: 0; + padding: 0 10px; + height: 30px; + line-height: 30px; + font-size: 14px; + color: #07C160; + border: 1px solid #07C160; + background: rgba(1, 193, 96, 0.1); + + /deep/ .icon-separate { + display: inline-block; + margin-right: 3px; + width: 16px; + height: 16px; + background-repeat: no-repeat; + background-size: 100% 100%; + background-position: center center; + vertical-align: sub; + background-image: url("~assets/images/shangqi/standardDetails/separate.png"); + } + } + /deep/ .el-collapse-item__content { padding-bottom: 0px; font-size: 13px;