From 8c03ecad2b52b9b485cb3fc1f6e85fd4a7008e54 Mon Sep 17 00:00:00 2001 From: GeekMaster Date: Fri, 8 Aug 2025 16:30:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=8D=B3=E6=A2=A6AI=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=AB=AF=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/assets/css/mobile/jimeng.scss | 41 -- web/src/components/ImageUpload.vue | 9 +- web/src/components/mobile/CustomSelect.vue | 9 +- web/src/store/mobile/jimeng.js | 87 ++- web/src/views/Test.vue | 217 +++++- web/src/views/mobile/JimengCreate.vue | 750 +++++++-------------- web/src/views/mobile/SunoCreate.vue | 36 +- web/src/views/mobile/VideoCreate.vue | 116 ++-- 8 files changed, 626 insertions(+), 639 deletions(-) diff --git a/web/src/assets/css/mobile/jimeng.scss b/web/src/assets/css/mobile/jimeng.scss index 5ce37f62..7134f2c8 100644 --- a/web/src/assets/css/mobile/jimeng.scss +++ b/web/src/assets/css/mobile/jimeng.scss @@ -94,47 +94,6 @@ min-height: 100vh; background-color: #f9fafb; - /* 参数容器样式 - 参考 Jimeng.vue */ - &__params-container { - padding: 16px; - background: #fff; - border-radius: 12px; - margin-top: 16px; - box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); - } - - /* 功能面板样式 - 参考 Jimeng.vue */ - &__function-panel { - .jimeng-create__param-line { - margin-bottom: 16px; - - &:last-child { - margin-bottom: 0; - } - } - } - - /* 参数行样式 - 参考 Jimeng.vue */ - &__param-line { - display: flex; - flex-direction: column; - gap: 8px; - - &.pt { - padding-top: 16px; - } - } - - /* 参数标签样式 - 参考 Jimeng.vue */ - &__param-label { - font-size: 14px; - font-weight: 500; - color: #374151; - display: flex; - align-items: center; - gap: 4px; - } - /* 页面头部样式 */ &__header { position: sticky; diff --git a/web/src/components/ImageUpload.vue b/web/src/components/ImageUpload.vue index 57d2ebcd..e1a3845c 100644 --- a/web/src/components/ImageUpload.vue +++ b/web/src/components/ImageUpload.vue @@ -21,7 +21,7 @@
-
+
{ display: flex; align-items: center; justify-content: center; - opacity: 0; - transition: opacity 0.3s; + opacity: 1; .remove-btn { background: rgba(245, 108, 108, 0.8); @@ -279,10 +278,6 @@ const removeImage = (index) => { color: white; } } - - &:hover .upload-overlay { - opacity: 1; - } } .upload-btn { diff --git a/web/src/components/mobile/CustomSelect.vue b/web/src/components/mobile/CustomSelect.vue index 905fadf3..67d7dd2f 100644 --- a/web/src/components/mobile/CustomSelect.vue +++ b/web/src/components/mobile/CustomSelect.vue @@ -1,6 +1,5 @@