From d80ad3aedde35c8edd6e992266bff52f8ec0e5c6 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期四, 21 九月 2023 17:34:41 +0800 Subject: [PATCH] 注释掉本期无用字段及样式优化 --- src/views/productManage/product/index.vue | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/productManage/product/index.vue b/src/views/productManage/product/index.vue index 6eb0622..e456017 100644 --- a/src/views/productManage/product/index.vue +++ b/src/views/productManage/product/index.vue @@ -35,7 +35,7 @@ </div> <div class="right"> <div class="label"> - <span>{{ item.name }}</span> + {{ item.name }} </div> <div class="price"> <span>浠锋牸:锟�</span> @@ -323,16 +323,22 @@ font-size: 13px; margin-left: 10px; .label { + // max-height: 30px; color: #212529; - margin-top: -10px; + // margin-top: -5px; margin-right: 15px; word-break: break-all; word-wrap: break-word; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; } .price, .library { color: #495057; - margin-top: 15px; + margin-top: 10px; } } } -- Gitblit v1.8.0