diff --git a/package.json b/package.json index e4cfed4..461f54b 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "@vicons/utils": "^0.1.4", "axios": "^1.7.3", "cnjm-postcss-px-to-viewport": "^1.0.1", + "countup.js": "^2.8.2", "echarts": "^5.6.0", "gsap": "^3.12.5", "jsdom": "^24.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0e3756e..8f776ca 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -26,6 +26,9 @@ importers: cnjm-postcss-px-to-viewport: specifier: ^1.0.1 version: 1.0.1(postcss@8.4.40) + countup.js: + specifier: ^2.8.2 + version: 2.8.2 echarts: specifier: ^5.6.0 version: 5.6.0 @@ -1810,6 +1813,9 @@ packages: core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} + countup.js@2.8.2: + resolution: {integrity: sha512-UtRoPH6udaru/MOhhZhI/GZHJKAyAxuKItD2Tr7AbrqrOPBX/uejWBBJt8q86169AMqKkE9h9/24kFWbUk/Bag==} + cross-spawn@5.1.0: resolution: {integrity: sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==} @@ -5782,6 +5788,8 @@ snapshots: core-util-is@1.0.3: {} + countup.js@2.8.2: {} + cross-spawn@5.1.0: dependencies: lru-cache: 4.1.5 diff --git a/src/components/NumberScroll.vue b/src/components/NumberScroll.vue new file mode 100644 index 0000000..3dfc672 --- /dev/null +++ b/src/components/NumberScroll.vue @@ -0,0 +1,55 @@ + + + \ No newline at end of file diff --git a/src/views/stock-quote/size1920/index.vue b/src/views/stock-quote/size1920/index.vue index aa9dd4e..b4cd003 100644 --- a/src/views/stock-quote/size1920/index.vue +++ b/src/views/stock-quote/size1920/index.vue @@ -8,38 +8,38 @@ getStockQuate()