From 4a6a0ab0a0c6652432ea656c78262d0fd58220df Mon Sep 17 00:00:00 2001 From: Phoenix <64720302+Concur-max@users.noreply.github.com> Date: Thu, 22 May 2025 19:42:33 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=EF=BC=8C=E6=96=B0=E5=A2=9E=E7=94=B5=E5=AD=90?= =?UTF-8?q?=E9=82=AE=E4=BB=B6=E6=8F=90=E9=86=92=E9=A1=B5=E9=9D=A2=EF=BC=9B?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=81=94=E7=B3=BB=E4=BA=BA=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E7=9A=84=E8=83=8C=E6=99=AF=E6=A0=B7=E5=BC=8F=EF=BC=8C=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E7=A7=BB=E5=8A=A8=E7=AB=AF=E5=92=8C=E6=A1=8C=E9=9D=A2?= =?UTF-8?q?=E7=AB=AF=E7=9A=84=E5=B8=83=E5=B1=80=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 6 ++ src/views/contacts/size1920/index.vue | 2 +- src/views/contacts/size375/index.vue | 2 +- src/views/email-alerts/index.vue | 34 ++++++++++ src/views/email-alerts/size1440/index.vue | 22 +++++++ src/views/email-alerts/size1920/index.vue | 80 +++++++++++++++++++++++ src/views/email-alerts/size375/index.vue | 22 +++++++ src/views/email-alerts/size768/index.vue | 22 +++++++ 8 files changed, 188 insertions(+), 2 deletions(-) create mode 100644 src/views/email-alerts/index.vue create mode 100644 src/views/email-alerts/size1440/index.vue create mode 100644 src/views/email-alerts/size1920/index.vue create mode 100644 src/views/email-alerts/size375/index.vue create mode 100644 src/views/email-alerts/size768/index.vue diff --git a/src/router/index.js b/src/router/index.js index ea5f088..b72e60e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -17,11 +17,17 @@ const routes = [ // next() // } }, + { path: '/contacts', name: 'contacts', component: () => import('@/views/contacts/index.vue'), }, + { + path: '/email-alerts', + name: 'email-alerts', + component: () => import('@/views/email-alerts/index.vue'), + }, ]; const router = createRouter({ diff --git a/src/views/contacts/size1920/index.vue b/src/views/contacts/size1920/index.vue index 445717d..78c28b5 100644 --- a/src/views/contacts/size1920/index.vue +++ b/src/views/contacts/size1920/index.vue @@ -11,7 +11,7 @@ function copyEmail() {
-
+

Investor Contacts

FiEE Inc.
diff --git a/src/views/contacts/size375/index.vue b/src/views/contacts/size375/index.vue index 1bd47bc..d2e64bf 100644 --- a/src/views/contacts/size375/index.vue +++ b/src/views/contacts/size375/index.vue @@ -9,7 +9,7 @@ function copyEmail() {
-
+

Investor Contacts

FiEE Inc.
diff --git a/src/views/email-alerts/index.vue b/src/views/email-alerts/index.vue new file mode 100644 index 0000000..fd8f1ff --- /dev/null +++ b/src/views/email-alerts/index.vue @@ -0,0 +1,34 @@ + + + + + diff --git a/src/views/email-alerts/size1440/index.vue b/src/views/email-alerts/size1440/index.vue new file mode 100644 index 0000000..427f3d2 --- /dev/null +++ b/src/views/email-alerts/size1440/index.vue @@ -0,0 +1,22 @@ + + + + + + diff --git a/src/views/email-alerts/size1920/index.vue b/src/views/email-alerts/size1920/index.vue new file mode 100644 index 0000000..8920fad --- /dev/null +++ b/src/views/email-alerts/size1920/index.vue @@ -0,0 +1,80 @@ + + + + + \ No newline at end of file diff --git a/src/views/email-alerts/size375/index.vue b/src/views/email-alerts/size375/index.vue new file mode 100644 index 0000000..f3e7467 --- /dev/null +++ b/src/views/email-alerts/size375/index.vue @@ -0,0 +1,22 @@ + + + + + + diff --git a/src/views/email-alerts/size768/index.vue b/src/views/email-alerts/size768/index.vue new file mode 100644 index 0000000..e7c4364 --- /dev/null +++ b/src/views/email-alerts/size768/index.vue @@ -0,0 +1,22 @@ + + + + + + From 3c0afdde84f9dfc7f03404af7dbb8d77c7099ff0 Mon Sep 17 00:00:00 2001 From: Phoenix <64720302+Concur-max@users.noreply.github.com> Date: Fri, 23 May 2025 09:37:30 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E9=A1=B9=EF=BC=8C=E6=B7=BB=E5=8A=A0=20ECharts=20=E5=BA=93?= =?UTF-8?q?=EF=BC=9B=E5=9C=A8=E8=B7=AF=E7=94=B1=E9=85=8D=E7=BD=AE=E4=B8=AD?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=82=A1=E7=A5=A8=E6=8A=A5=E4=BB=B7=E5=92=8C?= =?UTF-8?q?=E5=8E=86=E5=8F=B2=E8=82=A1=E7=A5=A8=E9=A1=B5=E9=9D=A2=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + pnpm-lock.yaml | 23 +++++ src/router/index.js | 11 ++- src/store/stock-quote/index.js | 19 ++++ src/views/historic-stock/index.vue | 34 ++++++++ src/views/historic-stock/size1440/index.vue | 22 +++++ src/views/historic-stock/size1920/index.vue | 96 +++++++++++++++++++++ src/views/historic-stock/size375/index.vue | 22 +++++ src/views/historic-stock/size768/index.vue | 22 +++++ src/views/stock-quote/index.vue | 34 ++++++++ src/views/stock-quote/size1440/index.vue | 22 +++++ src/views/stock-quote/size1920/index.vue | 62 +++++++++++++ src/views/stock-quote/size375/index.vue | 22 +++++ src/views/stock-quote/size768/index.vue | 22 +++++ 14 files changed, 411 insertions(+), 1 deletion(-) create mode 100644 src/store/stock-quote/index.js create mode 100644 src/views/historic-stock/index.vue create mode 100644 src/views/historic-stock/size1440/index.vue create mode 100644 src/views/historic-stock/size1920/index.vue create mode 100644 src/views/historic-stock/size375/index.vue create mode 100644 src/views/historic-stock/size768/index.vue create mode 100644 src/views/stock-quote/index.vue create mode 100644 src/views/stock-quote/size1440/index.vue create mode 100644 src/views/stock-quote/size1920/index.vue create mode 100644 src/views/stock-quote/size375/index.vue create mode 100644 src/views/stock-quote/size768/index.vue diff --git a/package.json b/package.json index 591cf5c..a13bc48 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "@unocss/reset": "^0.61.9", "axios": "^1.7.3", "cnjm-postcss-px-to-viewport": "^1.0.1", + "echarts": "^5.6.0", "gsap": "^3.12.5", "jsdom": "^24.0.0", "lodash": "^4.17.21", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a469e2e..4d99557 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,6 +20,9 @@ importers: cnjm-postcss-px-to-viewport: specifier: ^1.0.1 version: 1.0.1(postcss@8.4.40) + echarts: + specifier: ^5.6.0 + version: 5.6.0 gsap: specifier: ^3.12.5 version: 3.12.7 @@ -1962,6 +1965,9 @@ packages: duplexer@0.1.2: resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==} + echarts@5.6.0: + resolution: {integrity: sha512-oTbVTsXfKuEhxftHqL5xprgLoc0k7uScAwtryCgWF6hPYFLRwOUHiFmHGCBKP5NPFNkDVopOieyUqYGH8Fa3kA==} + electron-to-chromium@1.5.4: resolution: {integrity: sha512-orzA81VqLyIGUEA77YkVA1D+N+nNfl2isJVjjmOyrlxuooZ19ynb+dOlaDTqd/idKRS9lDCSBmtzM+kyCsMnkA==} @@ -3529,6 +3535,9 @@ packages: resolution: {integrity: sha512-pkonvlKk8/ZuR0D5tLW8ljt5I8kmxp2XKymhepUeOdCEfKpZaktSArkLHZt76OB1ZvO9bssUsDty4SWhLvZpLg==} engines: {node: '>=0.10.0'} + tslib@2.3.0: + resolution: {integrity: sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==} + tslib@2.6.3: resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==} @@ -3820,6 +3829,9 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} + zrender@5.6.1: + resolution: {integrity: sha512-OFXkDJKcrlx5su2XbzJvj/34Q3m6PvyCZkVPHGYpcCJ52ek4U/ymZyfuV1nKE23AyBJ51E/6Yr0mhZ7xGTO4ag==} + snapshots: '@ampproject/remapping@2.3.0': @@ -5944,6 +5956,11 @@ snapshots: duplexer@0.1.2: {} + echarts@5.6.0: + dependencies: + tslib: 2.3.0 + zrender: 5.6.1 + electron-to-chromium@1.5.4: {} end-of-stream@1.4.4: @@ -7579,6 +7596,8 @@ snapshots: dependencies: escape-string-regexp: 1.0.5 + tslib@2.3.0: {} + tslib@2.6.3: {} tsx@4.16.5: @@ -7896,3 +7915,7 @@ snapshots: fd-slicer: 1.1.0 yocto-queue@0.1.0: {} + + zrender@5.6.1: + dependencies: + tslib: 2.3.0 diff --git a/src/router/index.js b/src/router/index.js index b72e60e..dc0b6b4 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -17,7 +17,16 @@ const routes = [ // next() // } }, - + { + path: '/stock-quote', + name: 'stock-quote', + component: () => import('@/views/stock-quote/index.vue'), + }, + { + path: '/historic-stock', + name: 'historic-stock', + component: () => import('@/views/historic-stock/index.vue'), + }, { path: '/contacts', name: 'contacts', diff --git a/src/store/stock-quote/index.js b/src/store/stock-quote/index.js new file mode 100644 index 0000000..4ae5b6c --- /dev/null +++ b/src/store/stock-quote/index.js @@ -0,0 +1,19 @@ +import { ref } from 'vue' +import { createGlobalState, useLocalStorage } from '@vueuse/core' +import axios from 'axios' +export const useStockQuote = createGlobalState(() => { + const stockQuote = useLocalStorage('stockQuote', {}) +const getStockQuate= async()=>{ + const res = await axios.post('http://saas-test.szjixun.cn/api/chart/forward/test') + console.log('res',res); + + stockQuote.value.Open=res.data.nodes?.[2]?.data?.[10] + stockQuote.value.Volume=res.data.nodes?.[1]?.data?.[20] + stockQuote.value.DayRange=[res.data.nodes?.[2]?.data?.[10],res.data.nodes?.[2]?.data?.[11]] + console.log('stockQuote.value',stockQuote.value); +} + return { + getStockQuate, + stockQuote + } +}) diff --git a/src/views/historic-stock/index.vue b/src/views/historic-stock/index.vue new file mode 100644 index 0000000..cfc4094 --- /dev/null +++ b/src/views/historic-stock/index.vue @@ -0,0 +1,34 @@ + + + + + diff --git a/src/views/historic-stock/size1440/index.vue b/src/views/historic-stock/size1440/index.vue new file mode 100644 index 0000000..427f3d2 --- /dev/null +++ b/src/views/historic-stock/size1440/index.vue @@ -0,0 +1,22 @@ + + + + + + diff --git a/src/views/historic-stock/size1920/index.vue b/src/views/historic-stock/size1920/index.vue new file mode 100644 index 0000000..a1c48ed --- /dev/null +++ b/src/views/historic-stock/size1920/index.vue @@ -0,0 +1,96 @@ + + + + + + diff --git a/src/views/historic-stock/size375/index.vue b/src/views/historic-stock/size375/index.vue new file mode 100644 index 0000000..f3e7467 --- /dev/null +++ b/src/views/historic-stock/size375/index.vue @@ -0,0 +1,22 @@ + + + + + + diff --git a/src/views/historic-stock/size768/index.vue b/src/views/historic-stock/size768/index.vue new file mode 100644 index 0000000..e7c4364 --- /dev/null +++ b/src/views/historic-stock/size768/index.vue @@ -0,0 +1,22 @@ + + + + + + diff --git a/src/views/stock-quote/index.vue b/src/views/stock-quote/index.vue new file mode 100644 index 0000000..cfc4094 --- /dev/null +++ b/src/views/stock-quote/index.vue @@ -0,0 +1,34 @@ + + + + + diff --git a/src/views/stock-quote/size1440/index.vue b/src/views/stock-quote/size1440/index.vue new file mode 100644 index 0000000..427f3d2 --- /dev/null +++ b/src/views/stock-quote/size1440/index.vue @@ -0,0 +1,22 @@ + + + + + + diff --git a/src/views/stock-quote/size1920/index.vue b/src/views/stock-quote/size1920/index.vue new file mode 100644 index 0000000..0a8cc29 --- /dev/null +++ b/src/views/stock-quote/size1920/index.vue @@ -0,0 +1,62 @@ + + + + + \ No newline at end of file diff --git a/src/views/stock-quote/size375/index.vue b/src/views/stock-quote/size375/index.vue new file mode 100644 index 0000000..f3e7467 --- /dev/null +++ b/src/views/stock-quote/size375/index.vue @@ -0,0 +1,22 @@ + + + + + + diff --git a/src/views/stock-quote/size768/index.vue b/src/views/stock-quote/size768/index.vue new file mode 100644 index 0000000..e7c4364 --- /dev/null +++ b/src/views/stock-quote/size768/index.vue @@ -0,0 +1,22 @@ + + + + + + From c6872cae30dcb80f78a3f2d1210c151c78afbec9 Mon Sep 17 00:00:00 2001 From: Phoenix <64720302+Concur-max@users.noreply.github.com> Date: Fri, 23 May 2025 09:56:52 +0800 Subject: [PATCH 3/3] 12 --- src/store/stock-quote/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/store/stock-quote/index.js b/src/store/stock-quote/index.js index 4ae5b6c..d4d514d 100644 --- a/src/store/stock-quote/index.js +++ b/src/store/stock-quote/index.js @@ -6,10 +6,11 @@ export const useStockQuote = createGlobalState(() => { const getStockQuate= async()=>{ const res = await axios.post('http://saas-test.szjixun.cn/api/chart/forward/test') console.log('res',res); - stockQuote.value.Open=res.data.nodes?.[2]?.data?.[10] - stockQuote.value.Volume=res.data.nodes?.[1]?.data?.[20] + stockQuote.value.Volume=res.data.nodes?.[1]?.data?.[21] stockQuote.value.DayRange=[res.data.nodes?.[2]?.data?.[10],res.data.nodes?.[2]?.data?.[11]] + stockQuote.value.WeekRange=[res.data.nodes?.[2]?.data?.[31],res.data.nodes?.[1]?.data?.[30]] + console.log('stockQuote.value',stockQuote.value); } return {