From 8513246a11bfdff97ef85a01d1a50d9a6c943a9a Mon Sep 17 00:00:00 2001 From: shenyuan Date: Wed, 7 Jun 2023 09:03:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E8=A3=85=E7=B1=BB=E5=9E=8B=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/shopping/assets/common.css | 5 +++- .../src/views/shopping/pages/clothType.vue | 25 +++++++++++++------ 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/ant-design-vue-jeecg/src/views/shopping/assets/common.css b/ant-design-vue-jeecg/src/views/shopping/assets/common.css index f4463678..d121717c 100644 --- a/ant-design-vue-jeecg/src/views/shopping/assets/common.css +++ b/ant-design-vue-jeecg/src/views/shopping/assets/common.css @@ -99,4 +99,7 @@ a { .c_31 { color: #313131; } -.textfield {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;} \ No newline at end of file +.textfield {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;} +*{ + font-family: PingFang SC-Semibold, PingFang SC; +} \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/shopping/pages/clothType.vue b/ant-design-vue-jeecg/src/views/shopping/pages/clothType.vue index bce4c77a..f3615240 100644 --- a/ant-design-vue-jeecg/src/views/shopping/pages/clothType.vue +++ b/ant-design-vue-jeecg/src/views/shopping/pages/clothType.vue @@ -59,10 +59,10 @@

- ¥{{ item.currentPrice }} + ¥{{ item.currentPrice }} ¥{{ item.historicalPrice }}

-

{{ item.title }}

+

{{ item.title }}

热度{{ item.heat }}

@@ -452,17 +452,20 @@ flex-wrap: wrap; align-items: center; .item { - width: 308px; + width: 288px; height: 562px; - margin-bottom: 30px; + padding: 10px; + margin-bottom: 0px; margin-right: 10px; + /*border: 0.5px solid #ccc;*/ + /*background-color: rgba(246, 246, 246, 1);*/ .imgDiv { position: relative; img { /*width: 308px;*/ /*height: 462px;*/ - width: 287px; - height: 450px; + width: 268px; + height: 380px; object-fit: cover; } &:hover .button { @@ -487,17 +490,23 @@ width: 100%; height: 100px; .price { + margin-top: 16px; align-items: center; + margin-bottom: 8px; padding-left: 6px; - .f_16 { + .f_18 { margin-right: 10px; } .f_12 { text-decoration: line-through; } } - & > .f_12 { + & > .f_16 { font-weight: 600; + height: 46px; + margin-bottom: 10px; + /*overflow: hidden;text-overflow: ellipsis;white-space: nowrap;*/ + overflow: hidden;display: -webkit-box;text-overflow: ellipsis;-webkit-line-clamp:2;-webkit-box-orient: vertical;white-space:normal; } } }