|
@@ -6,7 +6,7 @@
|
|
|
*/
|
|
|
|
|
|
import { ref } from 'vue';
|
|
|
-import { ElCol, ElIcon } from 'element-plus';
|
|
|
+import { ElCol, ElDescriptions, ElIcon } from 'element-plus';
|
|
|
import { Picture as IconPicture, Plus, Search } from '@element-plus/icons-vue';
|
|
|
import * as api from '/@/views/computer-information/api';
|
|
|
import { useRouter } from 'vue-router';
|
|
@@ -161,7 +161,7 @@ onMounted(() => {
|
|
|
<hr style="box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2)" />
|
|
|
<div class="card-content">
|
|
|
<div class="text-wrapper">
|
|
|
- <span style="color: #808d97; font-weight: 500">电脑编号: </span>
|
|
|
+ <span style="color: #808d97; font-weight: 500">11编号: </span>
|
|
|
<span style="font-weight: 500">{{ item.computerNumber }}</span>
|
|
|
</div>
|
|
|
<div class="text-wrapper">
|
|
@@ -232,7 +232,7 @@ onMounted(() => {
|
|
|
.card-content {
|
|
|
padding-top: 10px;
|
|
|
font-size: 14px;
|
|
|
- max-height: 76px; /* 根据需要设置最大高度 */
|
|
|
+ max-height: 72px; /* 根据需要设置最大高度 */
|
|
|
overflow: hidden; /* 隐藏超出部分 */
|
|
|
text-overflow: ellipsis; /* 省略号效果 */
|
|
|
display: -webkit-box; /* 适用于多行文本处理 */
|