From 32692d947c77c9a58c54958150d982bd5a37b239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?home=E5=AD=99?= <1162067978@qq.com> Date: Mon, 28 Jul 2025 14:27:05 +0800 Subject: [PATCH] 07/28 --- src/assets/css/main.css | 11 +++++++---- src/assets/css/main.scss | 15 +++++++++------ src/views/officialWebsite/banner.vue | 16 ++++++++-------- src/views/officialWebsite/case.vue | 18 +++++++++--------- src/views/officialWebsite/detail.vue | 22 +++++++++++----------- src/views/officialWebsite/new.vue | 16 ++++++++-------- src/views/officialWebsite/product.vue | 26 +++++++++++++------------- 7 files changed, 65 insertions(+), 59 deletions(-) diff --git a/src/assets/css/main.css b/src/assets/css/main.css index 40802646..a71de57a 100644 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -3438,6 +3438,10 @@ textarea { margin-bottom: 10px; } +.manage-textarea.h-180 textarea { + height: 180px; +} + .manage-textarea textarea { width: 100%; padding: 10px; @@ -3650,9 +3654,10 @@ textarea { .vrcode-model.manage-model .manage-img { width: 380px; position: relative; + height: 260px; background: rgba(0, 132, 255, 0.15); border: 2px solid rgba(0, 132, 255, 0.35); - min-height: 200px; + max-height: 260px; display: flex; align-items: center; justify-content: center; @@ -3661,9 +3666,7 @@ textarea { .vrcode-model.manage-model .manage-img img { width: 360px; - height: auto; - min-height: 200px; - max-height: 360px; + height: 240px; } .vrcode-model.manage-model .manage-img .upload-img { diff --git a/src/assets/css/main.scss b/src/assets/css/main.scss index a6b37904..7efeca93 100644 --- a/src/assets/css/main.scss +++ b/src/assets/css/main.scss @@ -3661,7 +3661,11 @@ textarea { color: #FFFFFF; margin-bottom: 10px; } - + &.h-180{ + textarea{ + height: 180px; + } + } textarea { width: 100%; padding: 10px; @@ -3881,19 +3885,18 @@ textarea { .manage-img { width: 380px; position: relative; - // height: 290px; + height: 260px; background: rgba(0, 132, 255, 0.15); border: 2px solid rgba(0, 132, 255, 0.35); - min-height: 200px; + + max-height: 260px; display: flex; align-items: center; justify-content: center; img { width: 360px; - height: auto; - min-height: 200px; - max-height: 360px; + height: 240px; } .upload-img { diff --git a/src/views/officialWebsite/banner.vue b/src/views/officialWebsite/banner.vue index 14a33480..7f676257 100644 --- a/src/views/officialWebsite/banner.vue +++ b/src/views/officialWebsite/banner.vue @@ -47,7 +47,7 @@ title="提示" top="10vh" :visible.sync="addModel" - width="700px" + width="900px" class="vrcode-model manage-model" :append-to-body="true" > @@ -56,7 +56,7 @@