From bd16d0eb7b3c87e1cafd7fff4fc5bf1e954dbd62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=9D=B0?= Date: Tue, 14 Oct 2025 13:50:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B7=B1=E5=BA=A6=E4=B9=9D?= =?UTF-8?q?=E6=B2=A1=E6=9C=89token=E6=97=B6=E7=9A=84=E6=96=87=E6=A1=88?= =?UTF-8?q?=EF=BC=9B=E6=9B=B2=E7=BA=BF=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Selectmodel.vue | 30 +++++++++++++++++++++--------- src/views/deepNine.vue | 2 +- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/src/views/Selectmodel.vue b/src/views/Selectmodel.vue index e20e5d1..e7e46f6 100644 --- a/src/views/Selectmodel.vue +++ b/src/views/Selectmodel.vue @@ -127,14 +127,26 @@ const calculatePaths = () => { const isMobile = window.innerWidth <= 768; // 计算曲线突出的程度(根据容器宽度调整) - const curveOffset = isMobile ? containerWidth * 0.15 : containerWidth * 0.1; + // PC端使用更大的弯曲度,使曲线更圆润,呈现四分之一圆的形状 + const curveOffset = isMobile ? containerWidth * 0.15 : containerWidth * 0.25; - // 计算控制点(左边向左突出,右边向右突出) - const leftControlX = topLeft.x - curveOffset; // 左边控制点向左偏移 - const leftControlY = (topLeft.y + bottom.y) / 2; - - const rightControlX = topRight.x + curveOffset; // 右边控制点向右偏移 - const rightControlY = (topRight.y + bottom.y) / 2; + // 计算控制点 + if (isMobile) { + // 移动端保持原来的计算方式 + var leftControlX = topLeft.x - curveOffset; + var leftControlY = (topLeft.y + bottom.y) / 2; + + var rightControlX = topRight.x + curveOffset; + var rightControlY = (topRight.y + bottom.y) / 2; + } else { + // PC端使用四分之一圆形状的控制点计算 + // 对于四分之一圆,控制点应位于起点和终点连线的垂直和水平位置 + var leftControlX = topLeft.x; + var leftControlY = bottom.y; + + var rightControlX = topRight.x; + var rightControlY = bottom.y; + } // 创建路径字符串 pathData.leftPath = `M ${topLeft.x} ${topLeft.y} Q ${leftControlX} ${leftControlY} ${bottom.x} ${bottom.y}`; @@ -246,8 +258,8 @@ const goToDeepNineModel = () => { stroke: #409eff; stroke-width: 2; fill: none; - stroke-dasharray: 5, 5; - animation: dash 1s linear infinite; + stroke-dasharray: none; + animation: none; } @keyframes dash { diff --git a/src/views/deepNine.vue b/src/views/deepNine.vue index 752291f..57ae234 100644 --- a/src/views/deepNine.vue +++ b/src/views/deepNine.vue @@ -1122,7 +1122,7 @@ watch( console.log(AIcontent, "AIcontent"); if (result.code == 406) { - AIcontent.value = `

尊敬的用户您好,您当前的“深度九大模型专属Token”数量为0,无法进行股票查询,可联系客服团队进行充值,感谢您的理解与支持

`; + AIcontent.value = `

尊敬的用户您好,您当前的“深度九大模型专属Token”余额不足,无法进行股票查询,可联系客服团队进行充值,感谢您的理解与支持

`; } const aiMsg = {