修改页面结构
This commit is contained in:
40
uni.scss
40
uni.scss
@@ -1 +1,39 @@
|
||||
/* Global styles entry. Keep minimal to avoid affecting existing pages. */
|
||||
/* Global styles entry. Keep minimal to avoid affecting existing pages. */
|
||||
|
||||
/* ===== SCSS 变量定义 ===== */
|
||||
/* 为旧占位页面提供基础变量,防止编译错误 */
|
||||
|
||||
/* 间距变量 */
|
||||
$space-xs: 8px;
|
||||
$space-sm: 12px;
|
||||
$space-md: 16px;
|
||||
$space-lg: 24px;
|
||||
$space-xl: 32px;
|
||||
|
||||
/* 字体大小 */
|
||||
$font-size-sm: 12px;
|
||||
$font-size-md: 14px;
|
||||
$font-size-lg: 16px;
|
||||
$font-size-xl: 18px;
|
||||
|
||||
/* 字体粗细 */
|
||||
$font-weight-normal: 400;
|
||||
$font-weight-medium: 500;
|
||||
$font-weight-bold: 600;
|
||||
|
||||
/* 圆角 */
|
||||
$radius: 8px;
|
||||
$radius-sm: 4px;
|
||||
$radius-lg: 12px;
|
||||
|
||||
/* 颜色 */
|
||||
$background-primary: #ffffff;
|
||||
$background-secondary: #f5f5f5;
|
||||
$text-primary: #262626;
|
||||
$text-secondary: #8c8c8c;
|
||||
$border-color: #d9d9d9;
|
||||
|
||||
/* 阴影 */
|
||||
$shadow-xs: 0 2px 8px rgba(0, 0, 0, 0.06);
|
||||
$shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
|
||||
$shadow-md: 0 6px 16px rgba(0, 0, 0, 0.12);
|
||||
|
||||
Reference in New Issue
Block a user