Browse Source

Merge branch 'feature_20241120_图像识别' into uat(dev)

zhujindu 9 months ago
parent
commit
a7f00b8aeb
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/assets/styles/variable.scss

+ 5 - 1
src/assets/styles/variable.scss

@@ -1,4 +1,8 @@
+
+
+@use "sass:math";
 $vw_base: 750; //设计稿宽度
 @function vw($px) {
-	@return ($px / $vw_base) * 100vw;
+	// @return ($px / $vw_base) * 100vw;
+	@return (math.div( $px , $vw_base ))*100vw;
 }