diff --git a/index.html b/index.html index bf56ac5..a47964d 100644 --- a/index.html +++ b/index.html @@ -14,7 +14,7 @@ - + 问心 diff --git a/package.json b/package.json index d961925..4b90292 100644 --- a/package.json +++ b/package.json @@ -22,10 +22,10 @@ "@mdui/icons": "^1.0.2", "@types/node": "^22.10.1", "@vite-pwa/assets-generator": "^0.2.6", - "typedoc": "^0.27.2", - "typedoc-plugin-markdown": "^4.3.0", + "typedoc": "^0.27.5", + "typedoc-plugin-markdown": "^4.3.3", "typescript": "^5.7.2", - "vite": "^6.0.1", + "vite": "^6.0.6", "vite-plugin-html": "^3.2.2", "vite-plugin-pwa": "^0.21.1", "workbox-core": "^7.3.0", diff --git a/pwa-assets.config.ts b/pwa-assets.config.ts index ac3f65c..f02352c 100644 --- a/pwa-assets.config.ts +++ b/pwa-assets.config.ts @@ -9,4 +9,4 @@ export default defineConfig({ }, preset, images: ['public/icon-512.png'], -}) +}); \ No newline at end of file diff --git a/settings.html b/settings.html index 54871c8..c155124 100644 --- a/settings.html +++ b/settings.html @@ -2,7 +2,7 @@ - 跟随系统设置 + 跟随系统 关闭 开启 @@ -25,7 +25,7 @@

本项目所有的量表均为收集互联网上的信息并整理,不对网站内任何量表具有版权。如侵权请联系我,我会及时删除。

所有量表的测量结果仅供参考,不作为任何医学诊断的依据。 - +

由 Super12138 开发,网站本体遵循 GPL 3.0 协议在 GitHub 上开源

量表内容的版权归研究者所有

diff --git a/src/index.css b/src/index.css index 83e0ec9..5769d17 100644 --- a/src/index.css +++ b/src/index.css @@ -2,7 +2,7 @@ body { opacity: 0; height: 100%; - margin: 8px; + margin: 0; } body.ready { @@ -15,6 +15,7 @@ h5 { font-size: var(--mdui-typescale-headline-medium-size); letter-spacing: var(--mdui-typescale-headline-medium-tracking); font-weight: var(--mdui-typescale-headline-medium-weight); + margin: 0; } p { @@ -74,7 +75,7 @@ mdui-list-subheader { /* 充满页面 */ mdui-layout { - height: calc(100vh - 17px); + height: 100vh; } mdui-list-item { @@ -91,6 +92,14 @@ mdui-radio { width: 100%; } +mdui-top-app-bar { + padding: 1rem 0.9rem; +} + +mdui-navigation-rail { + padding: 1rem 0.9rem; +} + .items-container { display: flex; flex-wrap: wrap; @@ -115,9 +124,8 @@ mdui-radio { } /* 页面描述 */ -.questionnaire-description { - /* */ - margin-bottom: 2px; +#questionnaireDescription { + margin: 1rem 0 1rem 0; } /* 页面提示 */ @@ -141,7 +149,7 @@ mdui-radio { display: flex; justify-content: space-between; align-items: center; - margin-bottom: 10px; + margin-bottom: 1rem; } .progress-bar { @@ -149,7 +157,7 @@ mdui-radio { } .tip-card { - margin-bottom: 15px; + margin-bottom: 1rem; padding: 15px; display: flex; align-items: center; @@ -165,6 +173,10 @@ mdui-radio { letter-spacing: var(--mdui-typescale-body-large-tracking); } +mdui-divider { + margin: 1rem 0 1rem 0; +} + .red { color: #B10000; } @@ -195,7 +207,7 @@ mdui-radio { } #controlArea { - margin: 5% 2% 22% 2%; + margin: 3rem 1rem 5rem 1rem; } #loadingTip { @@ -209,6 +221,11 @@ mdui-radio { transition: 0.1s opacity; } +#searchBar { + width: calc(100% - 16px); + margin: 8px 8px 0 8px; +} + #nullTip { display: none; width: 100%; diff --git a/src/test/index.ts b/src/test/index.ts index 24d5ce3..3e53ac5 100644 --- a/src/test/index.ts +++ b/src/test/index.ts @@ -251,7 +251,7 @@ document.addEventListener('testPageLoaded', async () => { }); if (json.resultTips !== undefined) { - document.querySelector('.result-tips')!.innerHTML = `结果解读说明(仅供参考,不作为诊断依据)
${json.resultTips}`; + document.querySelector('.result-tips')!.innerHTML = `结果解读说明(仅供参考,不作为诊断依据)
${json.resultTips}`; } // 展示结果区域 show(resultArea); diff --git a/test.html b/test.html index 06cdf97..eb3255f 100644 --- a/test.html +++ b/test.html @@ -11,9 +11,9 @@
- +
-
参考信息
+
参考信息