Browse Source

修改深度九没有token时的文案;曲线样式修改;

songjie/feature-20250924120152-大财神功能开发分支
宋杰 7 days ago
parent
commit
bd16d0eb7b
  1. 30
      src/views/Selectmodel.vue
  2. 2
      src/views/deepNine.vue

30
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 {

2
src/views/deepNine.vue

@ -1122,7 +1122,7 @@ watch(
console.log(AIcontent, "AIcontent");
if (result.code == 406) {
AIcontent.value = `<p>尊敬的用户您好,您当前的“深度九大模型专属Token”数量为0,无法进行股票查询,可联系客服团队进行充值,感谢您的理解与支持</p>`;
AIcontent.value = `<p>尊敬的用户您好,您当前的“深度九大模型专属Token”余额不足,无法进行股票查询,可联系客服团队进行充值,感谢您的理解与支持</p>`;
}
const aiMsg = {

Loading…
Cancel
Save