From 74e990a4adad92f51b5769a7bbef8ca905fa1536 Mon Sep 17 00:00:00 2001 From: wangyifeng <812766448@qq.com> Date: Fri, 23 May 2025 14:46:38 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=A4=B4=E8=84=9A?= =?UTF-8?q?=E9=AB=98=E5=BA=A6=E5=B8=83=E5=B1=80=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../customFooter/size1920/index.vue | 3 - src/components/customFooter/size375/index.vue | 2 - .../customHeader/size1920/index.vue | 63 +++++++++---------- src/components/customHeader/size375/index.vue | 5 -- src/views/index/size1920/index.vue | 19 +++--- src/views/index/size375/index.vue | 34 +++------- 6 files changed, 43 insertions(+), 83 deletions(-) diff --git a/src/components/customFooter/size1920/index.vue b/src/components/customFooter/size1920/index.vue index 4e81dea..08cd066 100644 --- a/src/components/customFooter/size1920/index.vue +++ b/src/components/customFooter/size1920/index.vue @@ -17,9 +17,6 @@ background: #f7f8fa; letter-spacing: 1px; border-top: 1px solid #ececec; - position: fixed; - left: 0; - bottom: 0; z-index: 100; } diff --git a/src/components/customFooter/size375/index.vue b/src/components/customFooter/size375/index.vue index 8c59ead..e302404 100644 --- a/src/components/customFooter/size375/index.vue +++ b/src/components/customFooter/size375/index.vue @@ -17,8 +17,6 @@ background: #f7f8fa; letter-spacing: 5px; border-top: 5px solid #ececec; - left: 0; - bottom: 0; z-index: 100; } diff --git a/src/components/customHeader/size1920/index.vue b/src/components/customHeader/size1920/index.vue index 4d0d2a7..27490d4 100644 --- a/src/components/customHeader/size1920/index.vue +++ b/src/components/customHeader/size1920/index.vue @@ -22,72 +22,67 @@ + diff --git a/src/views/index/size375/index.vue b/src/views/index/size375/index.vue index 67bc522..4f492cb 100644 --- a/src/views/index/size375/index.vue +++ b/src/views/index/size375/index.vue @@ -1,38 +1,18 @@ - + From 9c7aa5b29f5252248ba964fa55732d3ba5933862 Mon Sep 17 00:00:00 2001 From: Phoenix <64720302+Concur-max@users.noreply.github.com> Date: Fri, 23 May 2025 14:55:12 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=82=A1=E7=A5=A8?= =?UTF-8?q?=E6=8A=A5=E4=BB=B7API=E7=9A=84=E8=AF=B7=E6=B1=82=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=EF=BC=8C=E4=BB=8EHTTP=E6=9B=B4=E6=94=B9=E4=B8=BAHTTPS?= =?UTF-8?q?=EF=BC=8C=E4=BB=A5=E6=8F=90=E9=AB=98=E5=AE=89=E5=85=A8=E6=80=A7?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/stock-quote/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/stock-quote/index.js b/src/store/stock-quote/index.js index aba919e..64b07f1 100644 --- a/src/store/stock-quote/index.js +++ b/src/store/stock-quote/index.js @@ -15,7 +15,7 @@ export const useStockQuote = createGlobalState(() => { ] }) const getStockQuate= async()=>{ - const res = await axios.get('http://saas-test.szjixun.cn/api/chart/forward/test') + const res = await axios.get('https://saas-test.szjixun.cn/api/chart/forward/test') stockQuote.value=res.data } return { From c0f5cc52ed96a23d21c10e8647651acd28c08939 Mon Sep 17 00:00:00 2001 From: wangyifeng <812766448@qq.com> Date: Fri, 23 May 2025 15:23:56 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=96=87=E6=B5=A9?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E8=AE=B0=E5=BD=95[df8995070d72b9ee8b275e697c?= =?UTF-8?q?3313dc96fb82d]=E5=AF=BC=E8=87=B4=E7=9A=84en.js=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E3=80=81router.js=E6=96=87=E4=BB=B6=E7=AD=89=E5=85=AC?= =?UTF-8?q?=E5=85=B1=E6=96=87=E4=BB=B6=E5=AF=BC=E8=87=B4=E7=9A=84=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E9=94=99=E6=BC=8F=E9=97=AE=E9=A2=98=EF=BC=9B=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E8=B7=AF=E7=94=B1=E9=87=8D=E5=AE=9A=E5=90=91=E8=A7=A3?= =?UTF-8?q?=E5=86=B3=E6=A0=B9=E8=B7=AF=E7=94=B1=E3=80=81=E4=B8=8D=E5=AD=98?= =?UTF-8?q?=E5=9C=A8=E8=B7=AF=E7=94=B1=E6=B2=A1=E6=9C=89=E6=AD=A3=E7=A1=AE?= =?UTF-8?q?=E9=87=8D=E5=AE=9A=E5=90=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/headerMenuConfig.js | 10 ++++++---- src/router/index.js | 20 +++++++++----------- src/views/historic-stock/size1920/index.vue | 2 -- src/views/historic-stock/size375/index.vue | 2 -- 4 files changed, 15 insertions(+), 19 deletions(-) diff --git a/src/config/headerMenuConfig.js b/src/config/headerMenuConfig.js index e8e3676..7b98ac3 100644 --- a/src/config/headerMenuConfig.js +++ b/src/config/headerMenuConfig.js @@ -38,10 +38,10 @@ export const useHeaderMenuConfig = () => { key: "governance", href: "/govern", }, - { - label: t("header_menu.corporate_information.corporate_video"), - key: "corporate_video", - }, + // { + // label: t("header_menu.corporate_information.corporate_video"), + // key: "corporate_video", + // },//暂时隐藏本菜单 ], }, { @@ -72,6 +72,7 @@ export const useHeaderMenuConfig = () => { { label: t("header_menu.stock_information.historic_stock_price"), key: "historic_stock_price", + href:'/historic-stock' }, { label: t("header_menu.stock_information.investment_calculator"), @@ -92,6 +93,7 @@ export const useHeaderMenuConfig = () => { { label: t("header_menu.news_releases.events_calendar"), key: "events_calendar", + href: "/events-calendar", }, ], }, diff --git a/src/router/index.js b/src/router/index.js index b7da01e..d881317 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3,6 +3,10 @@ import { createRouter, createWebHistory } from "vue-router"; import { setupRouterGuards } from "./router-guards"; const routes = [ + { + path: "/", + redirect: '/myhome' + }, { path: "/", name: "index", @@ -23,16 +27,6 @@ const routes = [ name: "calculator", component: () => import("@/views/calculator/index.vue"), }, - { - path: "/home", - name: "home", - component: () => import("@/views/home/index.vue"), - // beforeEnter: (to, from, next) => { - - // localStorage.clear() - // next() - // } - }, { path: "/stock-quote", name: "stock-quote", @@ -112,7 +106,7 @@ const routes = [ }, ], }, - + // { // path: '/companyprofil', // name: 'Companyprofil', @@ -138,6 +132,10 @@ const routes = [ // name: 'Investorhandbook', // component: () => import('@/views/investorhandbook/index.vue'), // }, + { + path: '/:pathMatch(.*)*', + redirect: '/myhome' + } ]; const router = createRouter({ diff --git a/src/views/historic-stock/size1920/index.vue b/src/views/historic-stock/size1920/index.vue index 4c54aef..da106fe 100644 --- a/src/views/historic-stock/size1920/index.vue +++ b/src/views/historic-stock/size1920/index.vue @@ -308,7 +308,6 @@ const getPageData = async () => { let url = `https://stockanalysis.com/api/symbol/a/OTC-MINM/history?period=${state.selectedPeriod}&range=${range}`; const res = await axios.get(url); if (res.data.status === 200) { - console.error(res.data.data); // 转换为日期格式:"Nov 26, 2024" let resultData = res.data.data.map((item) => { return { @@ -326,7 +325,6 @@ const getPageData = async () => { volume: item.v, }; }); - console.error(resultData, "resultData"); state.tableData = resultData; } }; diff --git a/src/views/historic-stock/size375/index.vue b/src/views/historic-stock/size375/index.vue index 403d55e..9fa34be 100644 --- a/src/views/historic-stock/size375/index.vue +++ b/src/views/historic-stock/size375/index.vue @@ -307,7 +307,6 @@ const getPageData = async () => { let url = `https://stockanalysis.com/api/symbol/a/OTC-MINM/history?period=${state.selectedPeriod}&range=${range}`; const res = await axios.get(url); if (res.data.status === 200) { - console.error(res.data.data); // 转换为日期格式:"Nov 26, 2024" let resultData = res.data.data.map((item) => { return { @@ -325,7 +324,6 @@ const getPageData = async () => { volume: item.v, }; }); - console.error(resultData, "resultData"); state.tableData = resultData; } };