diff --git a/package-lock.json b/package-lock.json index a9f9f73..3946601 100755 --- a/package-lock.json +++ b/package-lock.json @@ -5,9 +5,16 @@ "packages": { "": { "dependencies": { + "@qiun/ucharts": "^2.5.0-20230101", "uview-plus": "^3.7.13" } }, + "node_modules/@qiun/ucharts": { + "version": "2.5.0-20230101", + "resolved": "https://registry.npmjs.org/@qiun/ucharts/-/ucharts-2.5.0-20230101.tgz", + "integrity": "sha512-C7ccBgfPuGF6dxTRuMW0NPPMSCf1k/kh3I9zkRVBc5PaivudX/rPL+jd2Wty6gn5ya5L3Ob+YmYe09V5xw66Cw==", + "license": "Apache" + }, "node_modules/uview-plus": { "version": "3.7.13", "resolved": "https://registry.npmjs.org/uview-plus/-/uview-plus-3.7.13.tgz", diff --git a/package.json b/package.json index ef03121..85cfe1d 100755 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "dependencies": { + "@qiun/ucharts": "^2.5.0-20230101", "uview-plus": "^3.7.13" } } diff --git a/pages/detail/detail.vue b/pages/detail/detail.vue index 9e51fb0..f6f4742 100755 --- a/pages/detail/detail.vue +++ b/pages/detail/detail.vue @@ -81,22 +81,13 @@ - - - - - {{ tooltipDate }} - 净值: {{ tooltipNav.toFixed(4) }} - - 收益: {{ tooltipReturn >= 0 ? '+' : '' }}{{ tooltipReturn.toFixed(2) }}% - - + @@ -443,8 +434,9 @@