refactor:优化移动端页面

This commit is contained in:
jiangrui
2025-03-04 23:37:16 +08:00
parent 301ed5648e
commit 680108f499
18 changed files with 14977 additions and 4666 deletions

View File

@@ -33,4 +33,30 @@ body {
background-color: var(--theme-background);
word-wrap: break-word;
}
/* 移动端全局样式 */
@media screen and (max-width: 768px) {
#app {
max-width: 100vw;
overflow-x: hidden;
}
/* 统一按钮样式 */
.van-button {
height: 40px;
font-size: var(--font-size-base);
border-radius: var(--border-radius-base);
}
/* 统一输入框样式 */
.van-field {
font-size: var(--font-size-base);
}
/* 统一卡片样式 */
.van-card {
border-radius: var(--border-radius-base);
margin: var(--spacing-base) 0;
}
}
</style>