diff --git a/package.json b/package.json index 55854e66..49df21b3 100644 --- a/package.json +++ b/package.json @@ -24,8 +24,6 @@ "element-plus": "^2.10.3", "file-saver": "^2.0.5", "git-last-commit": "^1.0.1", - "hover.css": "^2.3.2", - "jquery": "^3.7.1", "libarchive-wasm": "^1.2.0", "localforage": "^1.10.0", "lodash-es": "^4.17.21", @@ -35,7 +33,6 @@ "sentence-splitter": "^4.4.1", "string-comparison": "^1.3.0", "tesseract.js": "^4.1.4", - "vant": "^4.9.20", "vue": "^3.5.17", "vue-activity-calendar": "^1.2.2", "vue-i18n": "^9.14.4", @@ -46,7 +43,7 @@ "@iconify/vue": "^4.3.0", "@types/file-saver": "^2.0.7", "@types/lodash-es": "^4.17.12", - "@unocss/postcss": "^0.60.4", + "@unocss/postcss": "^66.4.0", "@vitejs/plugin-vue": "^6.0.0", "@vitejs/plugin-vue-jsx": "^5.0.1", "@vue/compiler-sfc": "^3.5.17", @@ -59,7 +56,7 @@ "sass": "^1.89.2", "tslib": "^2.8.1", "typescript": "^5.8.3", - "unocss": "^66.3.3", + "unocss": "^66.4.0", "unplugin-auto-import": "^0.16.7", "unplugin-vue-components": "^0.25.2", "unplugin-vue-macros": "^2.14.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fa2dc644..2cc8f49f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -38,12 +38,6 @@ importers: git-last-commit: specifier: ^1.0.1 version: 1.0.1 - hover.css: - specifier: ^2.3.2 - version: 2.3.2 - jquery: - specifier: ^3.7.1 - version: 3.7.1 libarchive-wasm: specifier: ^1.2.0 version: 1.2.0 @@ -71,9 +65,6 @@ importers: tesseract.js: specifier: ^4.1.4 version: 4.1.4 - vant: - specifier: ^4.9.20 - version: 4.9.20(vue@3.5.17(typescript@5.8.3)) vue: specifier: ^3.5.17 version: 3.5.17(typescript@5.8.3) @@ -100,8 +91,8 @@ importers: specifier: ^4.17.12 version: 4.17.12 '@unocss/postcss': - specifier: ^0.60.4 - version: 0.60.4(postcss@8.5.6) + specifier: ^66.4.0 + version: 66.4.0(postcss@8.5.6) '@vitejs/plugin-vue': specifier: ^6.0.0 version: 6.0.0(vite@7.0.3(@types/node@24.0.11)(jiti@2.4.2)(sass@1.89.2))(vue@3.5.17(typescript@5.8.3)) @@ -117,6 +108,9 @@ importers: cz-conventional-changelog: specifier: ^3.3.0 version: 3.3.0(@types/node@24.0.11)(typescript@5.8.3) + daisyui: + specifier: ^5.0.50 + version: 5.0.50 esm: specifier: ^3.2.25 version: 3.2.25 @@ -139,8 +133,8 @@ importers: specifier: ^5.8.3 version: 5.8.3 unocss: - specifier: ^66.3.3 - version: 66.3.3(postcss@8.5.6)(vite@7.0.3(@types/node@24.0.11)(jiti@2.4.2)(sass@1.89.2))(vue@3.5.17(typescript@5.8.3)) + specifier: ^66.4.0 + version: 66.4.0(postcss@8.5.6)(vite@7.0.3(@types/node@24.0.11)(jiti@2.4.2)(sass@1.89.2)) unplugin-auto-import: specifier: ^0.16.7 version: 0.16.7(@vueuse/core@9.13.0(vue@3.5.17(typescript@5.8.3)))(rollup@4.44.2) @@ -888,117 +882,92 @@ packages: '@types/web-bluetooth@0.0.16': resolution: {integrity: sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ==} - '@unocss/astro@66.3.3': - resolution: {integrity: sha512-q26EfadSMmEXZpWDKsJF9anBCfhYDmWljVpDZ2Wo8K48IbZMUXrWfiAiUc6ijE/A/rADfHk8bp3a3GE01t3I9A==} + '@unocss/astro@66.4.0': + resolution: {integrity: sha512-DDc22MhzS5SD7LXiJetNl/WglkBkQEKDDzaay4rUpvINdRu3eME1ISdgUBel4jkchSSenTt2AZlD9l6CecFXEw==} peerDependencies: vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0 || ^7.0.0-0 peerDependenciesMeta: vite: optional: true - '@unocss/cli@66.3.3': - resolution: {integrity: sha512-U0HoDcwi/DetqP5zDT3dfxG94pC3TI0PfxmpdTfPY7xEylIdLbV89fb70CvJVysDSQJIuw6TYwqS1ZlHoYNKTA==} + '@unocss/cli@66.4.0': + resolution: {integrity: sha512-zSdFHrYwgDuHTklFXWnWqp5dJq+aDOFxCZHK0M3hnZtEiaSgMce8Fdje9hOOi/FtCuKr1/BHLyjD1Vj240PVOw==} engines: {node: '>=14'} hasBin: true - '@unocss/config@0.60.4': - resolution: {integrity: sha512-ri9P2+YztD5JdPYSLiNjcLf6NgoBbwJDVutP/tQnfYYrE72DQ+j+4vepyxEBa1YaH/X4qsmLJCj+2tI/ufIiog==} + '@unocss/config@66.4.0': + resolution: {integrity: sha512-0H0dd5sWuFg9Z7oN+nGaL9UV4KitNuEcFcVVMUxPW3l+j3BKGMy6B+2jNS2+ezmpJoh5jaaL/fm5loYvOvaATA==} engines: {node: '>=14'} - '@unocss/config@66.3.3': - resolution: {integrity: sha512-D/UxnAmkabapqWU4tF85dWWhNfCUyNutWmd4AD2VsQRZOykufJedLV74r3Z3XhoPJn4IGr3BKZm5/rflf5viDg==} - engines: {node: '>=14'} + '@unocss/core@66.4.0': + resolution: {integrity: sha512-vrfK8i3EwbKDbrhmR5lJQQltU1U0SvPqr2XVTHqZdCdzTUsg73I4NqFSiadt486i421C8BfTa2MPNHBnv35RuA==} - '@unocss/core@0.60.4': - resolution: {integrity: sha512-6tz8KTzC30oB0YikwRQoIpJ6Y6Dg+ZiK3NfCIsH+UX11bh2J2M53as2EL/5VQCqtiUn3YP0ZEzR2d1AWX78RCA==} + '@unocss/extractor-arbitrary-variants@66.4.0': + resolution: {integrity: sha512-P4bAb/oQ14TP7KZE4jxj4jcgCROkj8Ndnm3WKAmX+gwZLeAATjF0dn40EqLzmhLkXQYttp1DIEyvV77hsDZZOw==} - '@unocss/core@66.3.3': - resolution: {integrity: sha512-6WFLd92TJelVQARtCGaF+EgEoHKIVe43gkGXVoWILu0HUDRWdhv+cpcyX0RTJV22Y976AxeneU7/zmhAh+CXNg==} + '@unocss/inspector@66.4.0': + resolution: {integrity: sha512-wYWvvoiycl06SSLMKD1PAshSRzXnAd1Zk3F3CfviJUVKrp5ugLSbzZe+mnYKpNWTrNwfCNG69YhdsJnSdkb35Q==} - '@unocss/extractor-arbitrary-variants@66.3.3': - resolution: {integrity: sha512-TXzjH6FcITQ8V2x7ETHgVOlAHf3ll/ysxL+W4fMROm8jP/o7jvsg36tRfOwU0sDGo/qoCPux82ix9e6/JW0oqQ==} - - '@unocss/inspector@66.3.3': - resolution: {integrity: sha512-NsK1WRWez2Mzk4+ophtBdXel8nGaPkIDa9lYSFMdKLF/1jNW23txeEL8CsD6/CK8K0BsR11rhLKhUrzyrjfBSQ==} - - '@unocss/postcss@0.60.4': - resolution: {integrity: sha512-mHha4BoOpCWRRL5EFJqsj+BiYxOBPXUZDFbSWmA8oAMBwcA/yqtnaRF2tqI9CK+CDfhmtbYF64KdTLh9pf6BvQ==} + '@unocss/postcss@66.4.0': + resolution: {integrity: sha512-MX6hFo54+tiysvstHKhNP1nQabqKzXDzdX/6Ctqhj++cL/yRfz6vqcv8MSbfBQDciiTin0ikDytBYik0pRgENQ==} engines: {node: '>=14'} peerDependencies: postcss: ^8.4.21 - '@unocss/postcss@66.3.3': - resolution: {integrity: sha512-VKq+BtfPIZbLeAeZFprtKZJAyFBOqA8qpQm+vmWBiBia70JzkwfF2SMNIHiGt022yRo9ZmjnI9uRTxSzqXUsUQ==} - engines: {node: '>=14'} - peerDependencies: - postcss: ^8.4.21 + '@unocss/preset-attributify@66.4.0': + resolution: {integrity: sha512-iH/ZwbAJmbIMIBfeahzNcQ7OmHHzqvyHyC8rGIkInE0xdFsHcfqjsb6hasedy5VTX3EecWZ3RE7FpNjuV3PLAA==} - '@unocss/preset-attributify@66.3.3': - resolution: {integrity: sha512-22+0Cqqu09q+xHfZ3Wk8Coxe5m6PmpgWz4U5xrEC8056UfG3Q1KEqoCxy2wySJIq8SqxQ30Nlll7oMa31B8Krw==} + '@unocss/preset-icons@66.4.0': + resolution: {integrity: sha512-Fm4/wgNfnVrJgmFrWs9JUjJy+il57hM+4qilSo7zR0QaeyES1z+VnIavGAPI02neBSztIHR8Rh6+6/bhVmByzg==} - '@unocss/preset-icons@66.3.3': - resolution: {integrity: sha512-Bmhiev05BN/horlgnyZ8gzQWZKd7oVpUBWD66X7U/dgkLdO6B5GIIsdO5Fi7JLeMDmyXm6vlYk0YQhiTbx8l9w==} + '@unocss/preset-mini@66.4.0': + resolution: {integrity: sha512-gOdTB9qo5PIusB8WTyCnkwc/GQT7ifAYzn4a+wuk51Ml3i+JxxN90l25dRlgw6hsyx2LgX/CHMzoKXYzuqsnPg==} - '@unocss/preset-mini@66.3.3': - resolution: {integrity: sha512-pz8rgvHRYS/6fsZNtG7iArLzwANnLy5GkHY/lbuqkWhO2S2Nf7kpJCbR/uV/XeuFsLnYcZW3NLOmelfvZvJamA==} + '@unocss/preset-tagify@66.4.0': + resolution: {integrity: sha512-DeIwGoW39iGI4BHz53PWJk2HTOqzJKWQnGBwYb0qw3+PknGRFg18ERRwm4KBGQjyAjt46sIrGm9Zxu5Y9wYh+w==} - '@unocss/preset-tagify@66.3.3': - resolution: {integrity: sha512-L1Ez7Y4uBaW+wiv1BOQygpfhseSt3EZ53jqkl7fxl1EKVsJy6SuZgJxlXEHUYp9xYdSp6EHq2CfL8UevaR+loA==} + '@unocss/preset-typography@66.4.0': + resolution: {integrity: sha512-iWPsCzmUBzwHQRq7cHbtkWAy6V1S4QyzitT6cLf4241njeHnjMJHWwrpyfYNCrdeESjgO9HuoGiyevvqcQ9mRw==} - '@unocss/preset-typography@66.3.3': - resolution: {integrity: sha512-aQXiGCObvWD9grfUpm0d5nzN+Cpvag0rHP39UjUKb0xSTzY09VzwDrua4kWVO5wJLNK6/L70osyhEgmC3qToxA==} + '@unocss/preset-uno@66.4.0': + resolution: {integrity: sha512-1Ep9gkxsW6hfEeZUjJTNofNbZ2/SgFohKb41U9DwBoXCOhGYTE2nmjr6EgoooF6XQNicPNa0tO6xVM/8n9z/NQ==} - '@unocss/preset-uno@66.3.3': - resolution: {integrity: sha512-Tiho4LidpuMHrB19GHTU6XrL0A5eFELHk9ebQ/3WeTy+K/9a6Hn5zsHJe5UCtOsEcUdKB33oZx0hXUp93hb/YQ==} + '@unocss/preset-web-fonts@66.4.0': + resolution: {integrity: sha512-pq9lOuR0VoshLaWlZNqM8A3V9DtsGZEmnX6qAzXCBF7LKO72gFKBn+K2IB6TxET0fMV0pagwhezzU5Jnu9nbMw==} - '@unocss/preset-web-fonts@66.3.3': - resolution: {integrity: sha512-ysKZeC7TXxRiqnNL9GxZFGMKFAHXrcaqozPaEOIJ40dvzbJt8IMLyFndZkcFMcgDCV0pFh/y37mGxxxARO9+pQ==} + '@unocss/preset-wind3@66.4.0': + resolution: {integrity: sha512-9Qo8W3TBcSDtQDV/J1sJrsTa4AHss+wxzZj1ngyHUpgZTE45KEaHH0zEjxM04oC5hrOU9FqRZgwV8Q03UR4v8w==} - '@unocss/preset-wind3@66.3.3': - resolution: {integrity: sha512-iXmjvPqvmPTo4z7epQDqHxzlGRsbLJEgfETqTrRJeagvFG7Gs+ajS8cQhbf6wL01dSRHjvhVXi3MsIvqfHHXOw==} + '@unocss/preset-wind4@66.4.0': + resolution: {integrity: sha512-Ut0B8JRt+aDjHJxZpwm4RtiBBEHE//XBhFFWMz2iljPZLPgN/uhbwr/M53yvpoA07Bz4IhtkaSsgOTLCSEsN0w==} - '@unocss/preset-wind4@66.3.3': - resolution: {integrity: sha512-JSJTXVJel6kX+u4Ktt6JGnukYWYhKxmjgORTwclUpokRHgEoD+xsh0Rz4YGJ1fWSnzNslNQhWP9yDRByVPHWwA==} + '@unocss/preset-wind@66.4.0': + resolution: {integrity: sha512-M1RrLvr827F6jNZsWjvM8FqhJgLR+bJKouhfPhixQFk00dqmS0NiFMKhMEt4kMtByh0fR+CBsEmB0um/vw+T3A==} - '@unocss/preset-wind@66.3.3': - resolution: {integrity: sha512-3Mxl/TDPcv8nNKdFe3WKdlXE6de+lCaaizEH86BILW3ZeyPU9aKzWcZIoxohla0a6zMxDQ2+Gf+7EwaOvpqo7Q==} + '@unocss/reset@66.4.0': + resolution: {integrity: sha512-zbH648K61/Umjy2tCj481ETMuaOlKjyzlXCvVO+U5dF1LhoWM2B7/mdBAiz/cmsKTeE2SfpUmusTRQr6X3n0/Q==} - '@unocss/reset@66.3.3': - resolution: {integrity: sha512-VIeR/mIcCL89/1uA1KM1QCYca4aeIGqEHMTJL1nCD4v+7wk6XhNXhsp5gMIHo+V804SUSmATWaeHTiKpiFu7AQ==} - - '@unocss/rule-utils@0.60.4': - resolution: {integrity: sha512-7qUN33NM4T/IwWavm9VIOCZ2+4hLBc0YUGxcMNTDZSFQRQLkWe3N5dOlgwKXtMyMKatZfbIRUKVDUgvEefoCTA==} + '@unocss/rule-utils@66.4.0': + resolution: {integrity: sha512-cWqs6Vre54iwbeYmJIjx1I912M3zNXYQ+lvytkn3NMysNsJlYYhyM4T0L6Jt3dz74X7I4vTcN0sQvVeE2TS3Fg==} engines: {node: '>=14'} - '@unocss/rule-utils@66.3.3': - resolution: {integrity: sha512-QKgVGV5nRRnK44/reUKFLAc5UGyl98vz3hrfk8JI8pVza58vmQWTdAB2rIpNJ5a5j+EkWfDOUlGQaOrIeYGLdg==} - engines: {node: '>=14'} + '@unocss/transformer-attributify-jsx@66.4.0': + resolution: {integrity: sha512-jDCzDAqGft3WR0cYGJWdghRJnSnu0dqnMNyii0avp/v2qH2J+X6Lmbn6y11sdW9krkPTtXnuF29nd/XWbK7leg==} - '@unocss/transformer-attributify-jsx@66.3.3': - resolution: {integrity: sha512-ENNYFk5wrI4jlxn0tWGeR9QGxflAfZue3X2ABg0KSVOiYyIOsrHqtdoiLYkuCA9idRlBZPQxePJKcPWt1r/tYA==} + '@unocss/transformer-compile-class@66.4.0': + resolution: {integrity: sha512-QETg2SAzmU15e5QmM9lPoWE6Yq8O/pcjLkSrL4HhkARnrEFCiRO3nohXXA/bdnu1bRLxgYp43Q1JwVGPooeb4Q==} - '@unocss/transformer-compile-class@66.3.3': - resolution: {integrity: sha512-VTEFuwp3iajGWyEFwmO5LRvOjgZM1TK+4rX5Q79xyTAPkLAKgOa03Ne8+kU8oG0TQEa4mXVw6ul9McM7UBJh1w==} + '@unocss/transformer-directives@66.4.0': + resolution: {integrity: sha512-QOKQNEEuG/WRdD5thYgMWh/RFQtBpk0T1g5bobWzxi4Z0HxIpUKhu7bgmN9pUzeiN5rW8O42aNHMzIR9thP/1g==} - '@unocss/transformer-directives@66.3.3': - resolution: {integrity: sha512-11T7fmYk/XZcqFDn4qiIvs04mJhUtAoha5Y99bVE+L3byWa6BT4jb5aSAKk+24q5aynwgB++4RgfQxarj69WTw==} + '@unocss/transformer-variant-group@66.4.0': + resolution: {integrity: sha512-6GEtDyVuac06MVeVmAlZHQ4KvWivplHasYWcRll1517XnnCcTJq7qScHv8OoiL6MOYLyTt0hWlecWubESP3MPg==} - '@unocss/transformer-variant-group@66.3.3': - resolution: {integrity: sha512-uhK81pbJfXJFYaXxOoIFVEG8/Kx1iaAkTwRB6c+WNUfl9GiKyYQcrI7bETgCPPbg230Z68jVICBgBATeLJ31vQ==} - - '@unocss/vite@66.3.3': - resolution: {integrity: sha512-uu3smeEW6q36ri6vydRx2GiTGF5O/J80Fr4GLmLiwfpt2YnPHraO7XHVR5/mwG2Oz5Kov0uGvxVsdgxZABKRgw==} + '@unocss/vite@66.4.0': + resolution: {integrity: sha512-TCfHwjU6L5ddtTsRe2RmYy6y9zTsu7SD+lFiD5fidUh3FJ80M9wcE3+xNAdjYEdbow4bkF8IzZPbImr2C9imFw==} peerDependencies: vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0 || ^7.0.0-0 - '@vant/popperjs@1.3.0': - resolution: {integrity: sha512-hB+czUG+aHtjhaEmCJDuXOep0YTZjdlRR+4MSmIFnkCQIxJaXLQdSsR90XWvAI2yvKUI7TCGqR8pQg2RtvkMHw==} - - '@vant/use@1.6.0': - resolution: {integrity: sha512-PHHxeAASgiOpSmMjceweIrv2AxDZIkWXyaczksMoWvKV2YAYEhoizRuk/xFnKF+emUIi46TsQ+rvlm/t2BBCfA==} - peerDependencies: - vue: ^3.0.0 - '@vitejs/plugin-vue-jsx@5.0.1': resolution: {integrity: sha512-X7qmQMXbdDh+sfHUttXokPD0cjPkMFoae7SgbkF9vi3idGUKmxLcnU2Ug49FHwiKXebfzQRIm5yK3sfCJzNBbg==} engines: {node: ^20.19.0 || >=22.12.0} @@ -1724,10 +1693,6 @@ packages: crypt@0.0.2: resolution: {integrity: sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==} - css-tree@2.3.1: - resolution: {integrity: sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==} - engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} - css-tree@3.1.0: resolution: {integrity: sha512-0eW44TGN5SQXU1mWSkKwFstI/22X2bG1nYzZTYMAWjylYURhse752YgbE4Cx46AC+bAvI+/dYTPRk1LqSUnu6w==} engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} @@ -1743,6 +1708,9 @@ packages: resolution: {integrity: sha512-MOqHvMWF9/9MX6nza0KgvFH4HpMU0EF5uUDXqX/BtxtU8NfB0QzRtJ8Oe/6SuS4kbhyzVJwjd97EA4PKrzJ8bw==} engines: {node: '>=0.12'} + daisyui@5.0.50: + resolution: {integrity: sha512-c1PweK5RI1C76q58FKvbS4jzgyNJSP6CGTQ+KkZYzADdJoERnOxFoeLfDHmQgxLpjEzlYhFMXCeodQNLCC9bow==} + dayjs@1.11.13: resolution: {integrity: sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==} @@ -2279,9 +2247,6 @@ packages: hosted-git-info@2.8.9: resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} - hover.css@2.3.2: - resolution: {integrity: sha512-eXch700vfcoSSAcEcU154lTHBYQy2cjGT+yJZtkKWxASBBiPVkqYOdMAa0sz4cYj2YIrl1FRE2s5O4EgOaIpig==} - husky@8.0.3: resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==} engines: {node: '>=14'} @@ -2489,17 +2454,10 @@ packages: resolution: {integrity: sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==} engines: {node: '>=0.10.0'} - jiti@1.21.7: - resolution: {integrity: sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==} - hasBin: true - jiti@2.4.2: resolution: {integrity: sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==} hasBin: true - jquery@3.7.1: - resolution: {integrity: sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==} - js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} @@ -2677,9 +2635,6 @@ packages: md5@2.3.0: resolution: {integrity: sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==} - mdn-data@2.0.30: - resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==} - mdn-data@2.12.2: resolution: {integrity: sha512-IEn+pegP1aManZuckezWCO+XZQDplx1366JoVhTpMpBB1sPey/SbveZQUosKiKiGYjg1wH4pMlNgXbCiYgihQA==} @@ -3493,9 +3448,6 @@ packages: resolution: {integrity: sha512-eXL4nmJT7oCpkZsHZUOJo8hcX3GbsiDOa0Qu9F646fi8dT3XuSVopVqAcEiVzSKKH7UoDti23wNX3qGFxcW5Qg==} engines: {node: '>=0.10.0'} - unconfig@0.3.13: - resolution: {integrity: sha512-N9Ph5NC4+sqtcOjPfHrRcHekBCadCXWTBzp2VYYbySOHW0PfD9XLCeXshTXjkPYwLrBr9AtSeU0CZmkYECJhng==} - unconfig@7.3.2: resolution: {integrity: sha512-nqG5NNL2wFVGZ0NA/aCFw0oJ2pxSf1lwg4Z5ill8wd7K4KX/rQbHlwbh+bjctXL5Ly1xtzHenHGOK0b+lG6JVg==} @@ -3524,11 +3476,11 @@ packages: resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} engines: {node: '>= 10.0.0'} - unocss@66.3.3: - resolution: {integrity: sha512-HSB+K4/EbouwYmxpPU52cg0exua7PUr2IAJZBV3iai6tPdMcJ0c8jXaw7G+2L+ffruVFTcS0e2kE4OrR8BKDLg==} + unocss@66.4.0: + resolution: {integrity: sha512-rT88p+Q0O3BX9WmWE1EQi4eNXdRhrFxQRBSvjGXFuWSMZWGWM66jF68OBNf7C5uWtVlv1fT9oFJCwW8cvaBQaA==} engines: {node: '>=14'} peerDependencies: - '@unocss/webpack': 66.3.3 + '@unocss/webpack': 66.4.0 vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0 || ^7.0.0-0 peerDependenciesMeta: '@unocss/webpack': @@ -3642,11 +3594,6 @@ packages: resolution: {integrity: sha512-jdBB2FrWvQC/pnPtIqcLsMaQgjhdb6B7tk1MMyTKapox+tQZbdRP4uLxu/JY0t7fbfDCUMnuelzEYv5GsxHhdg==} engines: {node: '>= 0.10'} - vant@4.9.20: - resolution: {integrity: sha512-QOv8i6/qBXSYO1DsjaxM+U7Hlgc+pIaChF21t/N4zW4pR4DmVNbEri9vchlzWFMz3R7wnCDfV9usOeXCyjHgPQ==} - peerDependencies: - vue: ^3.0.0 - vinyl-fs@3.0.3: resolution: {integrity: sha512-vIu34EkyNyJxmP0jscNzWBSygh7VWhqun6RmqVfXePrOwi9lhvRs//dOaGOTRUQr4tx7/zd26Tk5WeSVZitgng==} engines: {node: '>= 0.10'} @@ -3725,10 +3672,8 @@ packages: '@vue/composition-api': optional: true - vue-flow-layout@0.1.1: - resolution: {integrity: sha512-JdgRRUVrN0Y2GosA0M68DEbKlXMqJ7FQgsK8CjQD2vxvNSqAU6PZEpi4cfcTVtfM2GVOMjHo7GKKLbXxOBqDqA==} - peerDependencies: - vue: ^3.4.37 + vue-flow-layout@0.2.0: + resolution: {integrity: sha512-zKgsWWkXq0xrus7H4Mc+uFs1ESrmdTXlO0YNbR6wMdPaFvosL3fMB8N7uTV308UhGy9UvTrGhIY7mVz9eN+L0Q==} vue-i18n@9.14.4: resolution: {integrity: sha512-B934C8yUyWLT0EMud3DySrwSUJI7ZNiWYsEEz2gknTthqKiG4dzWE/WSa8AzCuSQzwBEv4HtG1jZDhgzPfWSKQ==} @@ -4493,22 +4438,20 @@ snapshots: '@types/web-bluetooth@0.0.16': {} - '@unocss/astro@66.3.3(vite@7.0.3(@types/node@24.0.11)(jiti@2.4.2)(sass@1.89.2))(vue@3.5.17(typescript@5.8.3))': + '@unocss/astro@66.4.0(vite@7.0.3(@types/node@24.0.11)(jiti@2.4.2)(sass@1.89.2))': dependencies: - '@unocss/core': 66.3.3 - '@unocss/reset': 66.3.3 - '@unocss/vite': 66.3.3(vite@7.0.3(@types/node@24.0.11)(jiti@2.4.2)(sass@1.89.2))(vue@3.5.17(typescript@5.8.3)) + '@unocss/core': 66.4.0 + '@unocss/reset': 66.4.0 + '@unocss/vite': 66.4.0(vite@7.0.3(@types/node@24.0.11)(jiti@2.4.2)(sass@1.89.2)) optionalDependencies: vite: 7.0.3(@types/node@24.0.11)(jiti@2.4.2)(sass@1.89.2) - transitivePeerDependencies: - - vue - '@unocss/cli@66.3.3': + '@unocss/cli@66.4.0': dependencies: '@ampproject/remapping': 2.3.0 - '@unocss/config': 66.3.3 - '@unocss/core': 66.3.3 - '@unocss/preset-uno': 66.3.3 + '@unocss/config': 66.4.0 + '@unocss/core': 66.4.0 + '@unocss/preset-uno': 66.4.0 cac: 6.7.14 chokidar: 3.6.0 colorette: 2.0.20 @@ -4519,159 +4462,131 @@ snapshots: tinyglobby: 0.2.14 unplugin-utils: 0.2.4 - '@unocss/config@0.60.4': + '@unocss/config@66.4.0': dependencies: - '@unocss/core': 0.60.4 - unconfig: 0.3.13 - - '@unocss/config@66.3.3': - dependencies: - '@unocss/core': 66.3.3 + '@unocss/core': 66.4.0 unconfig: 7.3.2 - '@unocss/core@0.60.4': {} + '@unocss/core@66.4.0': {} - '@unocss/core@66.3.3': {} - - '@unocss/extractor-arbitrary-variants@66.3.3': + '@unocss/extractor-arbitrary-variants@66.4.0': dependencies: - '@unocss/core': 66.3.3 + '@unocss/core': 66.4.0 - '@unocss/inspector@66.3.3(vue@3.5.17(typescript@5.8.3))': + '@unocss/inspector@66.4.0': dependencies: - '@unocss/core': 66.3.3 - '@unocss/rule-utils': 66.3.3 + '@unocss/core': 66.4.0 + '@unocss/rule-utils': 66.4.0 colorette: 2.0.20 gzip-size: 6.0.0 sirv: 3.0.1 - vue-flow-layout: 0.1.1(vue@3.5.17(typescript@5.8.3)) - transitivePeerDependencies: - - vue + vue-flow-layout: 0.2.0 - '@unocss/postcss@0.60.4(postcss@8.5.6)': + '@unocss/postcss@66.4.0(postcss@8.5.6)': dependencies: - '@unocss/config': 0.60.4 - '@unocss/core': 0.60.4 - '@unocss/rule-utils': 0.60.4 - css-tree: 2.3.1 - fast-glob: 3.3.3 - magic-string: 0.30.17 - postcss: 8.5.6 - - '@unocss/postcss@66.3.3(postcss@8.5.6)': - dependencies: - '@unocss/config': 66.3.3 - '@unocss/core': 66.3.3 - '@unocss/rule-utils': 66.3.3 + '@unocss/config': 66.4.0 + '@unocss/core': 66.4.0 + '@unocss/rule-utils': 66.4.0 css-tree: 3.1.0 postcss: 8.5.6 tinyglobby: 0.2.14 - '@unocss/preset-attributify@66.3.3': + '@unocss/preset-attributify@66.4.0': dependencies: - '@unocss/core': 66.3.3 + '@unocss/core': 66.4.0 - '@unocss/preset-icons@66.3.3': + '@unocss/preset-icons@66.4.0': dependencies: '@iconify/utils': 2.3.0 - '@unocss/core': 66.3.3 + '@unocss/core': 66.4.0 ofetch: 1.4.1 transitivePeerDependencies: - supports-color - '@unocss/preset-mini@66.3.3': + '@unocss/preset-mini@66.4.0': dependencies: - '@unocss/core': 66.3.3 - '@unocss/extractor-arbitrary-variants': 66.3.3 - '@unocss/rule-utils': 66.3.3 + '@unocss/core': 66.4.0 + '@unocss/extractor-arbitrary-variants': 66.4.0 + '@unocss/rule-utils': 66.4.0 - '@unocss/preset-tagify@66.3.3': + '@unocss/preset-tagify@66.4.0': dependencies: - '@unocss/core': 66.3.3 + '@unocss/core': 66.4.0 - '@unocss/preset-typography@66.3.3': + '@unocss/preset-typography@66.4.0': dependencies: - '@unocss/core': 66.3.3 - '@unocss/preset-mini': 66.3.3 - '@unocss/rule-utils': 66.3.3 + '@unocss/core': 66.4.0 + '@unocss/preset-mini': 66.4.0 + '@unocss/rule-utils': 66.4.0 - '@unocss/preset-uno@66.3.3': + '@unocss/preset-uno@66.4.0': dependencies: - '@unocss/core': 66.3.3 - '@unocss/preset-wind3': 66.3.3 + '@unocss/core': 66.4.0 + '@unocss/preset-wind3': 66.4.0 - '@unocss/preset-web-fonts@66.3.3': + '@unocss/preset-web-fonts@66.4.0': dependencies: - '@unocss/core': 66.3.3 + '@unocss/core': 66.4.0 ofetch: 1.4.1 - '@unocss/preset-wind3@66.3.3': + '@unocss/preset-wind3@66.4.0': dependencies: - '@unocss/core': 66.3.3 - '@unocss/preset-mini': 66.3.3 - '@unocss/rule-utils': 66.3.3 + '@unocss/core': 66.4.0 + '@unocss/preset-mini': 66.4.0 + '@unocss/rule-utils': 66.4.0 - '@unocss/preset-wind4@66.3.3': + '@unocss/preset-wind4@66.4.0': dependencies: - '@unocss/core': 66.3.3 - '@unocss/extractor-arbitrary-variants': 66.3.3 - '@unocss/rule-utils': 66.3.3 + '@unocss/core': 66.4.0 + '@unocss/extractor-arbitrary-variants': 66.4.0 + '@unocss/rule-utils': 66.4.0 - '@unocss/preset-wind@66.3.3': + '@unocss/preset-wind@66.4.0': dependencies: - '@unocss/core': 66.3.3 - '@unocss/preset-wind3': 66.3.3 + '@unocss/core': 66.4.0 + '@unocss/preset-wind3': 66.4.0 - '@unocss/reset@66.3.3': {} + '@unocss/reset@66.4.0': {} - '@unocss/rule-utils@0.60.4': + '@unocss/rule-utils@66.4.0': dependencies: - '@unocss/core': 0.60.4 + '@unocss/core': 66.4.0 magic-string: 0.30.17 - '@unocss/rule-utils@66.3.3': + '@unocss/transformer-attributify-jsx@66.4.0': dependencies: - '@unocss/core': 66.3.3 - magic-string: 0.30.17 + '@babel/parser': 7.28.0 + '@babel/traverse': 7.28.0 + '@unocss/core': 66.4.0 + transitivePeerDependencies: + - supports-color - '@unocss/transformer-attributify-jsx@66.3.3': + '@unocss/transformer-compile-class@66.4.0': dependencies: - '@unocss/core': 66.3.3 + '@unocss/core': 66.4.0 - '@unocss/transformer-compile-class@66.3.3': + '@unocss/transformer-directives@66.4.0': dependencies: - '@unocss/core': 66.3.3 - - '@unocss/transformer-directives@66.3.3': - dependencies: - '@unocss/core': 66.3.3 - '@unocss/rule-utils': 66.3.3 + '@unocss/core': 66.4.0 + '@unocss/rule-utils': 66.4.0 css-tree: 3.1.0 - '@unocss/transformer-variant-group@66.3.3': + '@unocss/transformer-variant-group@66.4.0': dependencies: - '@unocss/core': 66.3.3 + '@unocss/core': 66.4.0 - '@unocss/vite@66.3.3(vite@7.0.3(@types/node@24.0.11)(jiti@2.4.2)(sass@1.89.2))(vue@3.5.17(typescript@5.8.3))': + '@unocss/vite@66.4.0(vite@7.0.3(@types/node@24.0.11)(jiti@2.4.2)(sass@1.89.2))': dependencies: '@ampproject/remapping': 2.3.0 - '@unocss/config': 66.3.3 - '@unocss/core': 66.3.3 - '@unocss/inspector': 66.3.3(vue@3.5.17(typescript@5.8.3)) + '@unocss/config': 66.4.0 + '@unocss/core': 66.4.0 + '@unocss/inspector': 66.4.0 chokidar: 3.6.0 magic-string: 0.30.17 pathe: 2.0.3 tinyglobby: 0.2.14 unplugin-utils: 0.2.4 vite: 7.0.3(@types/node@24.0.11)(jiti@2.4.2)(sass@1.89.2) - transitivePeerDependencies: - - vue - - '@vant/popperjs@1.3.0': {} - - '@vant/use@1.6.0(vue@3.5.17(typescript@5.8.3))': - dependencies: - vue: 3.5.17(typescript@5.8.3) '@vitejs/plugin-vue-jsx@5.0.1(vite@7.0.3(@types/node@24.0.11)(jiti@2.4.2)(sass@1.89.2))(vue@3.5.17(typescript@5.8.3))': dependencies: @@ -5585,11 +5500,6 @@ snapshots: crypt@0.0.2: {} - css-tree@2.3.1: - dependencies: - mdn-data: 2.0.30 - source-map-js: 1.2.1 - css-tree@3.1.0: dependencies: mdn-data: 2.12.2 @@ -5616,6 +5526,8 @@ snapshots: es5-ext: 0.10.64 type: 2.7.3 + daisyui@5.0.50: {} + dayjs@1.11.13: {} de-indent@1.0.2: {} @@ -6254,8 +6166,6 @@ snapshots: hosted-git-info@2.8.9: {} - hover.css@2.3.2: {} - husky@8.0.3: {} iconv-lite@0.4.24: @@ -6434,12 +6344,8 @@ snapshots: isobject@3.0.1: {} - jiti@1.21.7: {} - jiti@2.4.2: {} - jquery@3.7.1: {} - js-tokens@4.0.0: {} js-tokens@9.0.1: {} @@ -6623,8 +6529,6 @@ snapshots: crypt: 0.0.2 is-buffer: 1.1.6 - mdn-data@2.0.30: {} - mdn-data@2.12.2: {} memoize-one@6.0.0: {} @@ -7498,12 +7402,6 @@ snapshots: unc-path-regex@0.1.2: {} - unconfig@0.3.13: - dependencies: - '@antfu/utils': 0.7.10 - defu: 6.1.4 - jiti: 1.21.7 - unconfig@7.3.2: dependencies: '@quansync/fs': 0.1.3 @@ -7562,33 +7460,32 @@ snapshots: universalify@2.0.1: {} - unocss@66.3.3(postcss@8.5.6)(vite@7.0.3(@types/node@24.0.11)(jiti@2.4.2)(sass@1.89.2))(vue@3.5.17(typescript@5.8.3)): + unocss@66.4.0(postcss@8.5.6)(vite@7.0.3(@types/node@24.0.11)(jiti@2.4.2)(sass@1.89.2)): dependencies: - '@unocss/astro': 66.3.3(vite@7.0.3(@types/node@24.0.11)(jiti@2.4.2)(sass@1.89.2))(vue@3.5.17(typescript@5.8.3)) - '@unocss/cli': 66.3.3 - '@unocss/core': 66.3.3 - '@unocss/postcss': 66.3.3(postcss@8.5.6) - '@unocss/preset-attributify': 66.3.3 - '@unocss/preset-icons': 66.3.3 - '@unocss/preset-mini': 66.3.3 - '@unocss/preset-tagify': 66.3.3 - '@unocss/preset-typography': 66.3.3 - '@unocss/preset-uno': 66.3.3 - '@unocss/preset-web-fonts': 66.3.3 - '@unocss/preset-wind': 66.3.3 - '@unocss/preset-wind3': 66.3.3 - '@unocss/preset-wind4': 66.3.3 - '@unocss/transformer-attributify-jsx': 66.3.3 - '@unocss/transformer-compile-class': 66.3.3 - '@unocss/transformer-directives': 66.3.3 - '@unocss/transformer-variant-group': 66.3.3 - '@unocss/vite': 66.3.3(vite@7.0.3(@types/node@24.0.11)(jiti@2.4.2)(sass@1.89.2))(vue@3.5.17(typescript@5.8.3)) + '@unocss/astro': 66.4.0(vite@7.0.3(@types/node@24.0.11)(jiti@2.4.2)(sass@1.89.2)) + '@unocss/cli': 66.4.0 + '@unocss/core': 66.4.0 + '@unocss/postcss': 66.4.0(postcss@8.5.6) + '@unocss/preset-attributify': 66.4.0 + '@unocss/preset-icons': 66.4.0 + '@unocss/preset-mini': 66.4.0 + '@unocss/preset-tagify': 66.4.0 + '@unocss/preset-typography': 66.4.0 + '@unocss/preset-uno': 66.4.0 + '@unocss/preset-web-fonts': 66.4.0 + '@unocss/preset-wind': 66.4.0 + '@unocss/preset-wind3': 66.4.0 + '@unocss/preset-wind4': 66.4.0 + '@unocss/transformer-attributify-jsx': 66.4.0 + '@unocss/transformer-compile-class': 66.4.0 + '@unocss/transformer-directives': 66.4.0 + '@unocss/transformer-variant-group': 66.4.0 + '@unocss/vite': 66.4.0(vite@7.0.3(@types/node@24.0.11)(jiti@2.4.2)(sass@1.89.2)) optionalDependencies: vite: 7.0.3(@types/node@24.0.11)(jiti@2.4.2)(sass@1.89.2) transitivePeerDependencies: - postcss - supports-color - - vue unplugin-auto-import@0.16.7(@vueuse/core@9.13.0(vue@3.5.17(typescript@5.8.3)))(rollup@4.44.2): dependencies: @@ -7725,13 +7622,6 @@ snapshots: value-or-function@3.0.0: {} - vant@4.9.20(vue@3.5.17(typescript@5.8.3)): - dependencies: - '@vant/popperjs': 1.3.0 - '@vant/use': 1.6.0(vue@3.5.17(typescript@5.8.3)) - '@vue/shared': 3.5.17 - vue: 3.5.17(typescript@5.8.3) - vinyl-fs@3.0.3: dependencies: fs-mkdirp-stream: 1.0.0 @@ -7809,9 +7699,7 @@ snapshots: dependencies: vue: 3.5.17(typescript@5.8.3) - vue-flow-layout@0.1.1(vue@3.5.17(typescript@5.8.3)): - dependencies: - vue: 3.5.17(typescript@5.8.3) + vue-flow-layout@0.2.0: {} vue-i18n@9.14.4(vue@3.5.17(typescript@5.8.3)): dependencies: diff --git a/src/Mobile.vue b/src/Mobile.vue deleted file mode 100644 index 91bde2a3..00000000 --- a/src/Mobile.vue +++ /dev/null @@ -1,461 +0,0 @@ - - - - - diff --git a/src/assets/css/style.scss b/src/assets/css/style.scss index 5d6f4d26..dca9bbd2 100644 --- a/src/assets/css/style.scss +++ b/src/assets/css/style.scss @@ -1,5 +1,4 @@ //@import '/node_modules/element-plus/dist/index.css'; -//@use "/node_modules/hover.css" as *; @use "anim" as *; @use 'element-plus/theme-chalk/dark/css-vars' as *; @@ -7,30 +6,18 @@ //修改element-ui的进度条底色 --el-border-color-lighter: #d1d1d1 !important; - --color-background: #E6E8EB; - //--color-main-bg: #E6E8EB; - --color-main-bg: rgb(238, 240, 244); - --color-second-bg: rgb(247, 247, 247); - --color-third-bg: rgb(213, 215, 217); - --color-item-bg: rgb(228, 230, 232); --color-item-hover: white; //--color-item-active: rgb(75, 110, 175); --color-item-active: rgb(253, 246, 236); --color-item-border: rgb(226, 226, 226); - --color-header-bg: white; --color-tooltip-bg: white; --color-tooltip-shadow: #d9d9d9; - --color-font-1: rgb(91, 91, 91); --color-font-2: rgb(46, 46, 46); --color-font-3: rgb(75, 85, 99); --color-font-active-1: white; - --color-font-active-2: whitesmoke; - --color-main-active: rgb(12, 140, 233); - --color-primary: rgb(12, 140, 233); --color-scrollbar: rgb(147, 173, 227); - --color-gray: gray; --color-sub-gray: #c0bfbf; --practice-wrapper-translateX: 1px; @@ -39,11 +26,10 @@ --toolbar-height: 3.2rem; --panel-width: 24rem; --space: 1rem; - --radius: .5rem; --shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px; --panel-margin-left: calc(50% + var(--toolbar-width) / 2 + 1rem); --article-panel-margin-left: calc(50% + var(--article-width) / 2 + 3.5rem); - --anim-time: 0.5s; + --anim-time: 0.3s; --color-input-bg: white; --color-input-border: #bfbfbf; @@ -62,29 +48,47 @@ --btn-primary: rgb(75, 85, 99); --btn-info: #909399; + --color-primary: #E6E8EB; + --color-second: rgb(247, 247, 247); + --color-third: rgb(226 232 240 / 1); + + --color-card-active: #FED7AA; + --color-list-item-active: rgb(253, 246, 236); + --color-icon-hightlight: #E6A23C; + //--color-icon-hightlight: rgb(12, 140, 233); + --color-sub-text: gray; + --color-main-text: rgb(91, 91, 91); + --color-select-bg: rgb(12, 140, 233); + --color-select-text: white; + + --color-notice-bg: rgb(247, 247, 247); } html.dark { - --color-main-bg: rgba(14, 18, 23, 1); - --color-second-bg: rgb(30, 31, 34); - --color-third-bg: rgb(43, 45, 48); + --color-primary: #0E1217; + --color-second: rgb(30, 31, 34); + --color-third: rgb(43, 45, 48); + --color-card-active: rgb(84, 84, 84); + --color-list-item-active: rgb(84, 84, 84); + --color-icon-hightlight: #E6A23C; + --color-sub-text: #b8b8b8; + --color-main-text: rgba(249, 250, 251, 0.8); + --color-select-bg: rgb(147, 173, 227); + --color-select-text: black; + --color-notice-bg: rgb(43, 45, 48); --color-item-bg: rgb(43, 45, 48); --color-item-hover: rgb(67, 69, 74); --color-item-active: rgb(84, 84, 84); --color-item-border: rgb(41, 41, 41); - --color-header-bg: rgb(51, 51, 51); --color-tooltip-bg: #252525; --color-tooltip-shadow: #3b3b3b; - --color-font-1: rgba(249, 250, 251, 0.8); --color-font-2: rgba(255, 255, 255, 0.5); --color-font-3: rgba(255, 255, 255, 0.3); - --color-gray: #bebebe; --color-sub-gray: #383737; - --color-main-active: rgb(147, 173, 227); --color-scrollbar: rgb(92, 93, 94); --color-input-bg: rgba(14, 18, 23, 1); @@ -164,7 +168,7 @@ html, body { padding: 0; margin: 0; overflow-x: hidden; - color: var(--color-font-1); + color: var(--color-main-text); font-family: var(--font-family); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; @@ -226,7 +230,7 @@ a { background: var(--color-textarea-bg); &:focus { - border: 1px solid var(--color-main-active); + border: 1px solid var(--color-select-bg); } &[readonly] { @@ -340,7 +344,7 @@ footer { width: 100%; box-sizing: border-box; background: var(--color-item-bg); - color: var(--color-font-1); + color: var(--color-main-text); font-size: 1.1rem; border-radius: .5rem; display: flex; @@ -373,32 +377,32 @@ footer { opacity: 0; } + &.active { + background: var(--color-list-item-active); + + .item-sub-title { + color: var(--color-sub-text); + } + + .volume, .collect, .easy, .fill { + color: var(--color-icon-hightlight); + } + } + &:hover { - background: var(--color-item-hover); + @extend .active; .volume, .collect, .easy { opacity: 1; } } - &.active { - background: var(--color-item-active); - $c: #E6A23C; - - .phonetic, .item-sub-title { - //color: var(--color-gray) !important; - } - - .volume, .collect, .easy, .fill { - color: $c; - } - } .item-title { display: flex; align-items: center; gap: .5rem; - color: var(--color-font-1); + color: var(--color-main-text); .word { font-size: 1.2rem; @@ -415,7 +419,6 @@ footer { font-size: 1rem; color: gray; } - } .word-shadow { @@ -427,7 +430,7 @@ footer { .common-title { min-height: 2.8rem; font-size: 1.1rem; - color: var(--color-font-1); + color: var(--color-main-text); display: flex; justify-content: center; align-items: center; @@ -463,7 +466,8 @@ footer { } .card { - @apply rounded-xl bg-white p-4 mb-5 box-border relative; + @apply rounded-xl p-4 mb-5 box-border relative; + background: var(--color-second); } .center { @@ -476,7 +480,7 @@ footer { .book { @extend .anim; - @apply p-4 rounded-md bg-slate-200 relative cursor-pointer h-40 hover:bg-orange-200 flex flex-col justify-between; + @apply p-4 rounded-md relative cursor-pointer h-40 bg-third hover:bg-card-active flex flex-col justify-between; } .line { diff --git a/src/components/BaseButton.vue b/src/components/BaseButton.vue index 90303132..dc56d339 100644 --- a/src/components/BaseButton.vue +++ b/src/components/BaseButton.vue @@ -59,7 +59,7 @@ defineEmits(['click']) transition: all .3s; //background: #999; //background: rgb(60, 63, 65); - //background: var(--color-second-bg); + //background: var(--color-second); height: 2.5rem; line-height: 1; position: relative; diff --git a/src/components/BaseIcon.vue b/src/components/BaseIcon.vue index 007a6e0d..4588ad15 100644 --- a/src/components/BaseIcon.vue +++ b/src/components/BaseIcon.vue @@ -41,7 +41,6 @@ $w: 1.4rem; border-radius: .3rem; background: transparent; transition: all .3s; - //color: var(--color-main-active); &:hover:not(.disabled) { background: var(--color-primary); @@ -58,4 +57,4 @@ $w: 1.4rem; height: $w; } } - \ No newline at end of file + diff --git a/src/main.ts b/src/main.ts index f870b895..09484bd1 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,14 +1,13 @@ import {createApp} from 'vue' import './assets/css/style.scss' +import 'virtual:uno.css'; import App from './App.vue' -// import Mobile from './Mobile.vue' import {createPinia} from "pinia" import ZH from "@/locales/zh-CN.ts"; import {createI18n} from 'vue-i18n' import router from "@/router.ts"; import VueVirtualScroller from 'vue-virtual-scroller' import 'vue-virtual-scroller/dist/vue-virtual-scroller.css' -import 'virtual:uno.css'; import './global.d.ts' const i18n = createI18n({ @@ -20,7 +19,6 @@ const i18n = createI18n({ }) const pinia = createPinia() -// const app = createApp(Mobile) const app = createApp(App) app.use(VueVirtualScroller) diff --git a/src/pages/pc/Setting.vue b/src/pages/pc/Setting.vue index a3635056..a8f7ccf8 100644 --- a/src/pages/pc/Setting.vue +++ b/src/pages/pc/Setting.vue @@ -453,17 +453,17 @@ function importData(e) { -
+

Type Words

-

- 本项目完全开源!好用请大家多多点Star! +

+ 感谢使用本项目!本项目是开源项目,如果觉得有帮助,请在 GitHub 点个 Star,您的支持是我持续改进的动力。

- GitHub地址:https://github.com/zyronon/typing-word + GitHub地址:https://github.com/zyronon/TypeWords

反馈:https://github.com/zyronon/typing-word/issues + href="https://github.com/zyronon/TypeWords/issues" target="_blank">https://github.com/zyronon/TypeWords/issues

Build {{ gitLastCommitHash }} @@ -503,8 +503,8 @@ function importData(e) { gap: .6rem; &.active { - background: var(--color-main-active); - color: var(--color-input-bg); + background: var(--color-select-bg); + color: var(--color-select-text); } } } @@ -551,7 +551,7 @@ function importData(e) { border: 1px solid gray; border-radius: .2rem; padding: 0 .3rem; - background: var(--color-second-bg); + background: var(--color-second); color: var(--color-font-1); } } diff --git a/src/pages/pc/article/ArticleHomePage.vue b/src/pages/pc/article/ArticleHomePage.vue index 0d5802e7..3ff24912 100644 --- a/src/pages/pc/article/ArticleHomePage.vue +++ b/src/pages/pc/article/ArticleHomePage.vue @@ -119,7 +119,7 @@ function startStudy() {
-
+
选择一本书籍
@@ -131,7 +131,7 @@ function startStudy() { :show-close="false" @close="searchKey = ''" :header="false"> -
+
@@ -146,7 +146,7 @@ function startStudy() {
-
+
请输入书籍名称搜索
或直接在书籍列表选中
diff --git a/src/pages/pc/article/BatchEditArticlePage.vue b/src/pages/pc/article/BatchEditArticlePage.vue index c9920f28..f03fb0fb 100644 --- a/src/pages/pc/article/BatchEditArticlePage.vue +++ b/src/pages/pc/article/BatchEditArticlePage.vue @@ -227,7 +227,7 @@ useWindowClick(() => showExport = false) height: 100vh; box-sizing: border-box; color: var(--color-font-1); - background: var(--color-second-bg); + background: var(--color-second); display: flex; .close { diff --git a/src/pages/pc/article/components/EditArticle.old b/src/pages/pc/article/components/EditArticle.old deleted file mode 100644 index 8c90f293..00000000 --- a/src/pages/pc/article/components/EditArticle.old +++ /dev/null @@ -1,661 +0,0 @@ - - - - - diff --git a/src/pages/pc/article/components/EditArticle2.vue b/src/pages/pc/article/components/EditArticle2.vue index 17ec17de..3936ee50 100644 --- a/src/pages/pc/article/components/EditArticle2.vue +++ b/src/pages/pc/article/components/EditArticle2.vue @@ -306,7 +306,7 @@ function setStartTime(val: Sentence, i: number, j: number) { 分句 - 应用 + 应用
@@ -474,7 +474,7 @@ function setStartTime(val: Sentence, i: number, j: number) { @close="showEditAudioDialog = false" @ok="saveLrcPosition" > -
+
教程:点击音频播放按钮,当播放到句子开始时,点击开始时间的 记录 按钮;当播放到句子结束时,点击结束时间的 记录 按钮,最后再试听是否正确 @@ -539,8 +539,6 @@ function setStartTime(val: Sentence, i: number, j: number) { diff --git a/src/pages/pc/article/practice-article/TypingArticle.vue b/src/pages/pc/article/practice-article/TypingArticle.vue index b933cdef..bdb1eed9 100644 --- a/src/pages/pc/article/practice-article/TypingArticle.vue +++ b/src/pages/pc/article/practice-article/TypingArticle.vue @@ -6,7 +6,6 @@ import {usePracticeStore} from "@/stores/practice.ts"; import {useSettingStore} from "@/stores/setting.ts"; import {usePlayBeep, usePlayCorrect, usePlayKeyboardAudio, usePlayWordAudio} from "@/hooks/sound.ts"; import {emitter, EventKey} from "@/utils/eventBus.ts"; -import jq from 'jquery' import {_nextTick} from "@/utils"; import '@imengyu/vue3-context-menu/lib/vue3-context-menu.css' import ContextMenu from '@imengyu/vue3-context-menu' @@ -75,7 +74,6 @@ const store = useBaseStore() const statisticsStore = usePracticeStore() const settingStore = useSettingStore() -window.$ = jq watch([() => sectionIndex, () => sentenceIndex, () => wordIndex, () => stringIndex], ([a, b, c,]) => { checkCursorPosition(a, b, c) }) @@ -97,18 +95,20 @@ watch(() => settingStore.translate, () => { function checkCursorPosition(a = sectionIndex, b = sentenceIndex, c = wordIndex) { // console.log('checkCursorPosition') _nextTick(() => { - let currentWord = jq(`.section:nth(${a}) .sentence:nth(${b}) .word:nth(${c})`) - // console.log(a, b, c, currentWord) - if (currentWord.length) { - let end = currentWord.find('.word-end') - // console.log(end) - if (end.length) { - let articleRect = articleWrapperRef.getBoundingClientRect() + // 选中目标元素 + const currentWord = document.querySelector(`.section:nth-of-type(${a + 1}) .sentence:nth-of-type(${b + 1}) .word:nth-of-type(${c + 1})`); + if (currentWord) { + // 在 currentWord 内找 .word-end + const end = currentWord.querySelector('.word-end'); + if (end) { + // 获取 articleWrapper 的位置 + const articleRect = articleWrapperRef.getBoundingClientRect(); + const endRect = end.getBoundingClientRect(); + // 计算相对位置 cursor = { - top: end.offset().top - articleRect.top, - left: end.offset().left - articleRect.left, - } - // console.log(cursor) + top: endRect.top - articleRect.top, + left: endRect.left - articleRect.left, + }; } } },) @@ -548,7 +548,7 @@ let showQuestions = $ref(false) } .hover-show { - background: var(--color-main-active); + background: var(--color-select-bg); color: white !important; .wrote { @@ -654,7 +654,7 @@ let showQuestions = $ref(false) } .word-start { - color: var(--color-main-active); + color: var(--color-select-bg); } .wrong { diff --git a/src/pages/pc/article/practice-article/index.vue b/src/pages/pc/article/practice-article/index.vue index b4e5f704..93858319 100644 --- a/src/pages/pc/article/practice-article/index.vue +++ b/src/pages/pc/article/practice-article/index.vue @@ -53,6 +53,7 @@ function next() { } function init() { + //todo 这个页面,直接访问白屏 if (!store.currentBook.articles.length) return articleData.articles = cloneDeep(store.currentBook.articles) getCurrentPractice() @@ -436,8 +437,6 @@ const {playSentenceAudio} = usePlaySentenceAudio() flex-direction: column; justify-content: space-between; align-items: center; - //padding-right: var(--practice-wrapper-padding-right); - transform: translateX(var(--practice-wrapper-translateX)); } .swiper-wrapper { @@ -501,7 +500,7 @@ const {playSentenceAudio} = usePlaySentenceAudio() width: 100%; box-sizing: border-box; border-radius: .6rem; - background: var(--color-second-bg); + background: var(--color-second); padding: .2rem var(--space) .4rem var(--space); z-index: 2; border: 1px solid var(--color-item-border); diff --git a/src/pages/pc/components/AItem.vue b/src/pages/pc/components/AItem.vue deleted file mode 100644 index 61f53715..00000000 --- a/src/pages/pc/components/AItem.vue +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - diff --git a/src/pages/pc/components/BasePage.vue b/src/pages/pc/components/BasePage.vue index 1df8a14a..caf80e03 100644 --- a/src/pages/pc/components/BasePage.vue +++ b/src/pages/pc/components/BasePage.vue @@ -4,7 +4,7 @@