// 这里定义全局变量 @primaryColor: #5d9dfe; @header-height: 46px; @footer-height: 50px; // 视口高度偏移量,用于移动端浏览器地址栏的处理 :root { --vh-offset: 0px; }