From 0715f26652963b153d4bc618edef36af8ad18dc3 Mon Sep 17 00:00:00 2001 From: zhangjiahao <1627043995@qq.com> Date: Mon, 21 Jul 2025 13:45:02 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E6=8B=89=E5=8F=96=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E7=AB=AF=E7=85=A7=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vercel/project.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 .vercel/project.json diff --git a/.vercel/project.json b/.vercel/project.json new file mode 100644 index 0000000..e318d68 --- /dev/null +++ b/.vercel/project.json @@ -0,0 +1 @@ +{"projectName":"trae_zf0uu3bt"} \ No newline at end of file From fd6c272f623590b72edd4ecda1c5105f41d3857a Mon Sep 17 00:00:00 2001 From: zhangjiahao <1627043995@qq.com> Date: Mon, 21 Jul 2025 15:31:39 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E9=80=82=E9=85=8D=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E7=AB=AF=E9=83=A8=E5=88=86=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/zhongchou/index.vue | 122 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 115 insertions(+), 7 deletions(-) diff --git a/src/views/zhongchou/index.vue b/src/views/zhongchou/index.vue index 83df5dd..0d6696b 100644 --- a/src/views/zhongchou/index.vue +++ b/src/views/zhongchou/index.vue @@ -975,11 +975,28 @@ const hideRules = () => { gap: 30px; } + /* 股票信息标题样式 */ + .stock-info h3 { + margin: 5px 0; + font-size: 1.7rem; + line-height: 1.2; + word-wrap: break-word; + /* 允许长单词换行 */ + overflow-wrap: break-word; + /* 现代浏览器支持 */ + hyphens: auto; + /* 自动断字 */ + } + .stock-area { - width: 50vw; /* 从58vw调整为50vw */ - height: 40vw; /* 从50vw调整为40vw */ - min-width: 350px; /* 从480px降低到350px */ - min-height: 300px; /* 从440px降低到300px */ + width: 50vw; + /* 从58vw调整为50vw */ + height: 40vw; + /* 从50vw调整为40vw */ + min-width: 350px; + /* 从480px降低到350px */ + min-height: 300px; + /* 从440px降低到300px */ } .left-area { @@ -1018,15 +1035,106 @@ const hideRules = () => { } @media (max-width: 480px) { + .rules-btn { + display: flex; + flex-direction: column; + margin-right: 3%; + cursor: pointer; + /* 确保按钮在屏幕缩放时保持比例 */ + transform-origin: center; + transition: transform 0.2s ease; + margin-top: 35px; +} + + /* 助力按钮区域样式 */ + .boost-section { + display: flex; + flex-direction: column; + align-items: center; + position: relative; + width: 100%; + margin-top: 20px; + } + + .interactive-container { + width: 100vw; + height: 100vh; + background: url('@/assets/img/zhongchou/手机bg.png') no-repeat center center; + background-size: 100% 100%; + position: fixed; + top: 0; + left: 0; + overflow: hidden; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + } + + .stock-area { + width: 40vw; + /* 从58vw调整为50vw */ + height: 30vw; + /* 从50vw调整为40vw */ + min-width: 300px; + /* 从480px降低到350px */ + min-height: 250px; + /* 从440px降低到300px */ + } + + /* 股票卡片样式 */ + .stock-card { + width: 110%; + height: 470px; + background-size: 100% 100%; + background-position: center; + background-repeat: no-repeat; + margin-top: 50px; + } + + + .main-title { - margin-left: 0; + margin-left: 18%; text-align: center; justify-content: center; align-items: center; } - + .main-title img { - max-height: 50px; + max-width: 100%; + height: auto; + width: auto; + max-height: 100px; + object-fit: contain; + content: url('@/assets/img/zhongchou/手机助力美股享实时数据.png'); + margin-top: 60px; + } + + .rules-btn img { + height: 30px; + } + + .rules-text { + font-size: 0.8rem; + } + + + + + /* 手机端股票卡片背景替换 */ + .us-card { + background-image: url('@/assets/img/zhongchou/手机组2.png'); + } + + .activity-period { + display: none; + + } + + /* 手机端隐藏火箭图片 */ + .rocket-body img { + display: none; } /* 极小屏幕活动时间容器适配 */ From bbdda16b53fdfff96e295fdaac44119a4749e0fb Mon Sep 17 00:00:00 2001 From: zhangjiahao <1627043995@qq.com> Date: Mon, 21 Jul 2025 16:00:03 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E9=80=82=E9=85=8D=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E7=AB=AF=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/zhongchou/index.vue | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/src/views/zhongchou/index.vue b/src/views/zhongchou/index.vue index 0d6696b..c083ae9 100644 --- a/src/views/zhongchou/index.vue +++ b/src/views/zhongchou/index.vue @@ -585,7 +585,7 @@ const hideRules = () => { /* 股票卡片样式 */ .stock-card { width: 100%; - height: 475px; + height: 55vh; background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -678,7 +678,8 @@ const hideRules = () => { position: relative; overflow: visible; min-width: 20px; - min-height: 30rem; + /* 更改为响应式高度 */ + min-height: 50vh; } /* 美股进度条容器 - 蓝色主题背景 */ @@ -707,7 +708,8 @@ const hideRules = () => { height: auto; justify-content: space-between; align-items: center; - min-height: 30rem; + /* 更改为响应式高度 */ + min-height: 50vh; } /* 股票内容容器 */ @@ -1036,15 +1038,15 @@ const hideRules = () => { @media (max-width: 480px) { .rules-btn { - display: flex; - flex-direction: column; - margin-right: 3%; - cursor: pointer; - /* 确保按钮在屏幕缩放时保持比例 */ - transform-origin: center; - transition: transform 0.2s ease; - margin-top: 35px; -} + display: flex; + flex-direction: column; + margin-right: 3%; + cursor: pointer; + /* 确保按钮在屏幕缩放时保持比例 */ + transform-origin: center; + transition: transform 0.2s ease; + margin-top: 35px; + } /* 助力按钮区域样式 */ .boost-section { @@ -1085,7 +1087,7 @@ const hideRules = () => { /* 股票卡片样式 */ .stock-card { width: 110%; - height: 470px; + height: 60vh; background-size: 100% 100%; background-position: center; background-repeat: no-repeat; @@ -1105,7 +1107,7 @@ const hideRules = () => { max-width: 100%; height: auto; width: auto; - max-height: 100px; + max-height: 15vh; object-fit: contain; content: url('@/assets/img/zhongchou/手机助力美股享实时数据.png'); margin-top: 60px; From 924609188d5157fc338d35ca27676fcaf65d9d4f Mon Sep 17 00:00:00 2001 From: zhangjiahao <1627043995@qq.com> Date: Mon, 21 Jul 2025 16:02:16 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E9=80=82=E9=85=8D=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E7=AB=AF=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/zhongchou/index.vue | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/src/views/zhongchou/index.vue b/src/views/zhongchou/index.vue index c083ae9..8992c18 100644 --- a/src/views/zhongchou/index.vue +++ b/src/views/zhongchou/index.vue @@ -1073,29 +1073,6 @@ const hideRules = () => { justify-content: center; } - .stock-area { - width: 40vw; - /* 从58vw调整为50vw */ - height: 30vw; - /* 从50vw调整为40vw */ - min-width: 300px; - /* 从480px降低到350px */ - min-height: 250px; - /* 从440px降低到300px */ - } - - /* 股票卡片样式 */ - .stock-card { - width: 110%; - height: 60vh; - background-size: 100% 100%; - background-position: center; - background-repeat: no-repeat; - margin-top: 50px; - } - - - .main-title { margin-left: 18%; text-align: center; @@ -1121,9 +1098,6 @@ const hideRules = () => { font-size: 0.8rem; } - - - /* 手机端股票卡片背景替换 */ .us-card { background-image: url('@/assets/img/zhongchou/手机组2.png'); From e933f5378b65163d584459cfe983e1e6783d05f8 Mon Sep 17 00:00:00 2001 From: zhangjiahao <1627043995@qq.com> Date: Mon, 21 Jul 2025 16:08:35 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=8A=95=E7=A5=A8?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=8E=A5=E5=8F=A3=E4=BF=AE=E6=94=B9=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/zhongchouApi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/zhongchouApi.js b/src/api/zhongchouApi.js index 42e6bc5..b618c8f 100644 --- a/src/api/zhongchouApi.js +++ b/src/api/zhongchouApi.js @@ -13,7 +13,7 @@ export function addRecordAPI(data) { // 新增:获取活动信息接口 export function getActivity1API() { return request({ - url: `Api/api/funding/getActivity1`, + url: `Api/api/funding/getActivity`, method: 'post' }) } \ No newline at end of file