diff --git a/src/assets/image/icon/echarts_markPointer.png b/src/assets/image/icon/echarts_markPointer.png new file mode 100644 index 0000000..ce823f9 Binary files /dev/null and b/src/assets/image/icon/echarts_markPointer.png differ diff --git a/src/components/customEcharts/index.vue b/src/components/customEcharts/index.vue index 0ce9db2..6bbbfb8 100644 --- a/src/components/customEcharts/index.vue +++ b/src/components/customEcharts/index.vue @@ -1,137 +1,34 @@ - - - + + + + + diff --git a/src/components/customEcharts/size1920/index.vue b/src/components/customEcharts/size1920/index.vue new file mode 100644 index 0000000..1708411 --- /dev/null +++ b/src/components/customEcharts/size1920/index.vue @@ -0,0 +1,593 @@ + + + diff --git a/src/components/customEcharts/size375/index.vue b/src/components/customEcharts/size375/index.vue new file mode 100644 index 0000000..dc53cd4 --- /dev/null +++ b/src/components/customEcharts/size375/index.vue @@ -0,0 +1,595 @@ + + + diff --git a/src/store/stock-quote/index.js b/src/store/stock-quote/index.js index 6dea12f..2c197a8 100644 --- a/src/store/stock-quote/index.js +++ b/src/store/stock-quote/index.js @@ -67,8 +67,15 @@ const getLastTradingDay = () => { const formatted = ref(getLastTradingDay()) const getStockQuate= async()=>{ - const res = await axios.get('https://saas-test.szjixun.cn/api/fiee/chart/forward/test') - stockQuote.value=res.data + // const res = await axios.get('https://saas-test.szjixun.cn/api/fiee/chart/forward/test') + const res = await axios.get('https://common.szjixun.cn/api/stock/company/data') + console.error(res) + if(res.status === 200){ + if(res.data.status === 0){ + stockQuote.value=res.data.data + console.error(stockQuote.value) + } + } } return { formatted, diff --git a/src/views/historic-stock/size1440/index.vue b/src/views/historic-stock/size1440/index.vue index ebd8e56..c9173ab 100644 --- a/src/views/historic-stock/size1440/index.vue +++ b/src/views/historic-stock/size1440/index.vue @@ -1,15 +1,18 @@