webpack分块打包优化性能

This commit is contained in:
结发受长生
2019-05-05 22:56:10 +08:00
parent 0724a66403
commit 4117c3b7ff
10 changed files with 82 additions and 100 deletions
@@ -694,10 +694,6 @@
-ms-transition: all 0.8s ease-in;
}
%line-bg {
background: linear-gradient(200deg, #a0cfe4, #e8c37e);
}
%paper-bg {
background: url('./img/checkered-pattern.png') repeat #5d5d5d;
}
@@ -41,12 +41,6 @@ $colorA: #aaa;
$colorC: #ccc;
$colorF: #f5f5f5;
$blue: #007aff !default;
$orange: #ff9500 !default;
$red: #ff3b30 !default;
$green: #4cd964 !default;
$primary: #007aff !default;
// 元素上下间距
//-----------------------------------------------------
@@ -74,11 +68,4 @@ $timingFunction: cubic-bezier(0.42, 0, 0.58, 1);
$activeStateSwitch: true !default;
// z-index
//-----------------------------------------------------
$zIndexHeader: 1000 !default;
$zIndexFooter: 2000 !default;
$zIndexPopup: 3000 !default;
$zIndexOverlay: 4000 !default; // 默认高于header和footer部分
$articlePadding: 7.6923%;