Prechádzať zdrojové kódy

修改sass不支持/deep/问题

noob 3 rokov pred
rodič
commit
65e1739af6

+ 1 - 1
src/components/p-menu.vue

@@ -148,7 +148,7 @@
 			height: 100%;
 			max-height: 100%;
 
-			/deep/ .el-card__body {
+			::v-deep .el-card__body {
 				padding: 0px;
 			}
 		}

+ 3 - 3
src/pages/login/login.vue

@@ -479,17 +479,17 @@
 					}
 
 					.remenber {
-						/deep/.el-form-item__content {
+						::v-deep.el-form-item__content {
 							line-height: 14px;
 						}
 					}
 
 					.checkbox {
-						/deep/.el-checkbox__inner {
+						::v-deep.el-checkbox__inner {
 							border-radius: 50%;
 						}
 
-						/deep/.el-checkbox__label {
+						::v-deep.el-checkbox__label {
 							padding-left: 5px;
 						}
 					}

+ 3 - 3
src/pages/main/advertising/acceptance.vue

@@ -628,12 +628,12 @@ a {
         margin-right: 40px;
     }
 }
-/deep/.online .el-form-item__content {
+::v-deep.online .el-form-item__content {
     width: 100%;
     margin-left: 0 !important;
 }
 
-/deep/.el-upload {
+::v-deep.el-upload {
     width: 100% !important;
     padding: 0 !important;
 }
@@ -680,7 +680,7 @@ a {
         margin-bottom: 5px;
     }
 }
-/deep/.container .el-upload-dragger {
+::v-deep.container .el-upload-dragger {
     height: 120px !important;
 }
 .upload-demo {

+ 2 - 2
src/pages/main/advertising/materialApplicationadd.vue

@@ -1556,12 +1556,12 @@ export default {
         margin-right: 40px;
     }
 }
-/deep/.online .el-form-item__content {
+::v-deep.online .el-form-item__content {
     width: 98%;
     margin-left: 0 !important;
 }
 
-/deep/.el-upload {
+::v-deep.el-upload {
     width: 98% !important;
     padding: 0 !important;
 }