提交 d1c60abe authored 作者: coderBryanFu's avatar coderBryanFu

update

上级 b6341181
...@@ -77,6 +77,14 @@ const routes = [ ...@@ -77,6 +77,14 @@ const routes = [
title: "智能写报" title: "智能写报"
} }
}, },
{
path: "/chat",
name: "chat",
component: Chat,
meta: {
title: "智能问答"
}
},
{ {
path: "/", path: "/",
......
...@@ -441,6 +441,7 @@ onUnmounted(() => { ...@@ -441,6 +441,7 @@ onUnmounted(() => {
display: flex; display: flex;
justify-content: center; justify-content: center;
gap: 16px; gap: 16px;
margin-bottom: 10px;
.left { .left {
width: 300px; width: 300px;
height: 880px; height: 880px;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="wrapper"> <div class="wrapper">
<div class="header"> <div class="header">
<!-- <span>首页 </span>> <span>综合检索 </span> --> <!-- <span>首页 </span>> <span>综合检索 </span> -->
<div class="header-item">首页</div> <div class="header-item back-item" @click="handleBackHome">首页</div>
<div class="header-item">></div> <div class="header-item">></div>
<div class="header-item">综合检索</div> <div class="header-item">综合检索</div>
</div> </div>
...@@ -129,6 +129,13 @@ import Img3 from "./assets/images/box3-img3.png"; ...@@ -129,6 +129,13 @@ import Img3 from "./assets/images/box3-img3.png";
import Img4 from "./assets/images/box3-img4.png"; import Img4 from "./assets/images/box3-img4.png";
import Img5 from "./assets/images/box3-img5.png"; import Img5 from "./assets/images/box3-img5.png";
// 返回首页
const handleBackHome = () => {
router.push({
path: "/overview"
});
};
const headerInfoList = ref([ const headerInfoList = ref([
{ {
name: "美国", name: "美国",
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</div> </div>
<div class="divider"></div> <div class="divider"></div>
<div style="display: flex;height: 320px;width: calc(100% - 40px) ;margin: 20px;" id="char9"> <div style="display: flex;height: 360px;width: calc(100% - 40px) ;margin: 20px;" id="char9">
</div> </div>
...@@ -145,6 +145,7 @@ onMounted(() => { ...@@ -145,6 +145,7 @@ onMounted(() => {
.thematic-box { .thematic-box {
margin-top: 64px; margin-top: 64px;
height: 578px; height: 578px;
margin-bottom: 100px;
box-sizing: border-box; box-sizing: border-box;
border: 1px solid rgba(255, 255, 255, 1); border: 1px solid rgba(255, 255, 255, 1);
border-radius: var(---, 10px); border-radius: var(---, 10px);
...@@ -152,7 +153,6 @@ onMounted(() => { ...@@ -152,7 +153,6 @@ onMounted(() => {
box-shadow: 0px 0px 20px 0px rgba(25, 69, 130, 0.1); box-shadow: 0px 0px 20px 0px rgba(25, 69, 130, 0.1);
background: linear-gradient(180.00deg, rgba(246, 250, 255, 1), rgba(246, 250, 255, 0) 100%); background: linear-gradient(180.00deg, rgba(246, 250, 255, 1), rgba(246, 250, 255, 0) 100%);
.divide { .divide {
width: 100%; width: 100%;
margin: 0 auto; margin: 0 auto;
......
...@@ -230,6 +230,7 @@ const warningList = ref([ ...@@ -230,6 +230,7 @@ const warningList = ref([
background: #055fc2; background: #055fc2;
color: #fff; color: #fff;
font-size: 20px; font-size: 20px;
font-weight: 700;
line-height: 48px; line-height: 48px;
text-align: center; text-align: center;
} }
......
...@@ -31,7 +31,7 @@ const getMultiLineChart = (dataX, dataY1, dataY2, dataY3, dataY4, dataY5, dataY6 ...@@ -31,7 +31,7 @@ const getMultiLineChart = (dataX, dataY1, dataY2, dataY3, dataY4, dataY5, dataY6
return { return {
tooltip: { trigger: 'axis', axisPointer: { type: 'cross' } }, tooltip: { trigger: 'axis', axisPointer: { type: 'cross' } },
grid: { top: '5%', right: '20%', bottom: '0%', left: '0%', containLabel: true }, grid: { top: '5%', right: '0%', bottom: '0%', left: '0%', containLabel: true },
xAxis: { type: 'category', boundaryGap: false, data: dataX }, xAxis: { type: 'category', boundaryGap: false, data: dataX },
yAxis: { type: 'value', splitLine: { lineStyle: { color: '#ebebeb' } } }, yAxis: { type: 'value', splitLine: { lineStyle: { color: '#ebebeb' } } },
legend: { show: false }, // 隐藏官方 legend legend: { show: false }, // 隐藏官方 legend
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论