From 732cf3fd87b17eb3186a10819a156524f5848887 Mon Sep 17 00:00:00 2001 From: X1627315083 <1627315083@qq.com> Date: Fri, 31 Oct 2025 10:59:34 +0800 Subject: [PATCH 1/2] fix --- src/views/Workshop/product.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/Workshop/product.vue b/src/views/Workshop/product.vue index 7081801..6898005 100644 --- a/src/views/Workshop/product.vue +++ b/src/views/Workshop/product.vue @@ -170,9 +170,11 @@ const { isLoading } = toRefs(data); margin-top: 2.5rem; > .model{ border: 2px solid #D9D9D9; - height: 110rem; + // height: 110rem; + aspect-ratio: 2 / 3; position: relative; - width: 100%; + width: 93%; + margin: 0 auto; > img{ width: 100%; height: 100%; From 387904e36df3030b74227bc16b3eab3999440088 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E9=B9=8F?= <2916022834@qq.com> Date: Fri, 31 Oct 2025 11:01:14 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E6=AF=94=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Workshop/creation/creation-list.vue | 4 ++-- src/views/Workshop/customize.vue | 12 ++++++------ src/views/Workshop/library.vue | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/views/Workshop/creation/creation-list.vue b/src/views/Workshop/creation/creation-list.vue index f1fa470..ba31482 100644 --- a/src/views/Workshop/creation/creation-list.vue +++ b/src/views/Workshop/creation/creation-list.vue @@ -218,7 +218,7 @@ // justify-content: space-around; .item { width: 47%; - height: 52.9rem; + height: 62.2rem; // overflow: hidden; border-radius: var(--border-radius); background-color: #fff; @@ -228,7 +228,7 @@ > img { width: 100%; height: 100%; - object-fit: contain; + object-fit: cover; border-radius: var(--border-radius); } > .corner { diff --git a/src/views/Workshop/customize.vue b/src/views/Workshop/customize.vue index b70e5de..3e0115b 100644 --- a/src/views/Workshop/customize.vue +++ b/src/views/Workshop/customize.vue @@ -149,7 +149,7 @@ font-size: 8.4rem; text-align: center; line-height: 124%; - margin-top: 3.6rem; + margin-top: 3.2rem; } > .tip { margin-top: 0.56rem; @@ -159,7 +159,7 @@ color: rgba(0, 0, 0, 0.6); } > .input-box { - margin-top: 6rem; + margin-top: 4.5rem; width: 87.5rem; height: 8.3rem; border-radius: 0.5rem; @@ -196,9 +196,9 @@ } } > .card { - margin-top: 6.4rem; - width: 72.9rem; - height: 102.3rem; + margin-top: 5rem; + width: 73rem; + height: 109.5rem; border-radius: 2rem; // box-shadow: 1.3rem 1.4rem 2rem 0.2rem #0000004d; border: 0.2rem solid #d9d9d9; @@ -250,7 +250,7 @@ } } > .btns { - margin-top: 5.6rem; + margin-top: 5rem; width: 100%; display: flex; justify-content: center; diff --git a/src/views/Workshop/library.vue b/src/views/Workshop/library.vue index 41884d0..cd71b8b 100644 --- a/src/views/Workshop/library.vue +++ b/src/views/Workshop/library.vue @@ -26,7 +26,7 @@ const obj = { visitRecordId: v.visitRecordId, defaultImageUrl: v.defaultImageUrl, - datetime: FormatDate(v.visitTime, 'dd-MM-yyyy HH:mm'), + datetime: FormatDate(v.visitTime, 'dd/MM/yyyy HH:mm'), lastopened: FormatDate(v.visitTime, 'HH:mm') } list.push(obj) @@ -146,7 +146,7 @@ margin-top: 0; } > .image { - width: 21.4rem; + width: 22.9rem; height: 100%; overflow: hidden; border-radius: 2rem; @@ -154,7 +154,7 @@ > img { width: 100%; height: 100%; - object-fit: contain; + object-fit: cover; display: block; } }