feat:完善舆情页面

This commit is contained in:
zjc
2024-12-19 18:21:28 +08:00
parent 42a680c9c3
commit 188e233c7f
25 changed files with 641 additions and 139 deletions

View File

@@ -1,16 +1,16 @@
@use "sass:math";
@use 'sass:math';
//默认设计稿的宽度
$designWidth:3840;
$designWidth: 3822;
//默认设计稿的高度
$designHeight:1080;
$designHeight: 1080;
//px转为vw的函数
@function vw($px) {
@return math.div($px , $designWidth) * 100vw;
@return math.div($px, $designWidth) * 100vw;
}
//px转为vh的函数
@function vh($px) {
@return math.div($px , $designHeight) * 100vh;
@return math.div($px, $designHeight) * 100vh;
}