mirror of
https://github.com/jiangrui1994/CloudSaver.git
synced 2026-01-10 23:28:46 +08:00
63 lines
1.1 KiB
Vue
63 lines
1.1 KiB
Vue
<template>
|
|
<el-config-provider>
|
|
<router-view />
|
|
</el-config-provider>
|
|
</template>
|
|
|
|
<style>
|
|
#app {
|
|
height: 100vh;
|
|
}
|
|
:root {
|
|
--theme-color: #3e3e3e;
|
|
--theme-theme: #133ab3;
|
|
--theme-background: #fafafa;
|
|
--theme-other_background: #ffffff;
|
|
}
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
font-size: 15px;
|
|
font-family:
|
|
v-sans,
|
|
system-ui,
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
Segoe UI,
|
|
sans-serif,
|
|
"Apple Color Emoji",
|
|
"Segoe UI Emoji",
|
|
Segoe UI Symbol;
|
|
line-height: 1.6;
|
|
color: var(--theme-color);
|
|
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>
|