Pārlūkot izejas kodu

fix(build): quote sass asset function arguments

Developer 1 nedēļu atpakaļ
vecāks
revīzija
5678b32eae

+ 1 - 1
components/CusNotice/index2.vue

@@ -119,7 +119,7 @@
 					&-text{
 						width: 320rpx;
 						height: 54rpx;
-						background: asset-image(dtsm_img3.png) no-repeat;
+						background: asset-image('dtsm_img3.png') no-repeat;
 						background-size: 100% 100%;
 						font-family: PingFang-SC, PingFang-SC;
 						font-weight: bold;

+ 2 - 2
components/CusSelectTeamUser/index.vue

@@ -166,12 +166,12 @@
 						color: #FFFFFF;
 						line-height: 24rpx;
 						&.wzd{
-							background: asset-image(team_user_wzd.png) no-repeat;
+							background: asset-image('team_user_wzd.png') no-repeat;
 							background-size: 100% 100%;
 							color: #193D59;
 						}
 						&.yzd{
-							background: asset-image(team_user_yzd.png) no-repeat;
+							background: asset-image('team_user_yzd.png') no-repeat;
 							background-size: 100% 100%;
 						}
 					}

+ 1 - 1
components/CusTabbar/index.vue

@@ -58,7 +58,7 @@
 .bottom_tabbar {
 		width: 100%;
 		height: 174rpx;
-		background-image: asset-image(tab_bg.png);
+		background-image: asset-image('tab_bg.png');
 		background-position: left bottom;
 		background-repeat: no-repeat;
 		background-size: 100% 100%;

+ 2 - 2
components/CusTeamUser/index.vue

@@ -141,12 +141,12 @@
 						color: #FFFFFF;
 						line-height: 24rpx;
 						&.wzd{
-							background: asset-image(team_user_wzd.png) no-repeat;
+							background: asset-image('team_user_wzd.png') no-repeat;
 							background-size: 100% 100%;
 							color: #193D59;
 						}
 						&.yzd{
-							background: asset-image(team_user_yzd.png) no-repeat;
+							background: asset-image('team_user_yzd.png') no-repeat;
 							background-size: 100% 100%;
 						}
 					}

+ 1 - 1
pages/dialog.vue

@@ -344,7 +344,7 @@
 	}
 	
 	.page{
-		background: asset-image(dialog_bg.png) no-repeat;
+		background: asset-image('dialog_bg.png') no-repeat;
 		background-size: 100% 100%;
 		padding: 0 30rpx 240rpx;
 		box-sizing: border-box;

+ 6 - 6
pages/home.vue

@@ -482,11 +482,11 @@
 					}
 				}
 				&.bp1{
-					background: asset-image(home_box_bg1.png) no-repeat;
+					background: asset-image('home_box_bg1.png') no-repeat;
 					background-size: 100% 100%;
 				}
 				&.bp2{
-					background: asset-image(home_box_bg2.png) no-repeat;
+					background: asset-image('home_box_bg2.png') no-repeat;
 					background-size: 100% 100%;
 				}
 			}
@@ -540,7 +540,7 @@
 			&-box1{
 				width: calc(100% - 180rpx);
 				height: 280rpx;
-				background: asset-image(new_free_title.png) no-repeat;
+				background: asset-image('new_free_title.png') no-repeat;
 				background-size: 100% 100%;
 				padding-left: 53rpx;
 				&-text{
@@ -561,7 +561,7 @@
 				&-price{
 					width: 100%;
 					height: 132rpx;
-					background: asset-image(new_free_price.png) no-repeat;
+					background: asset-image('new_free_price.png') no-repeat;
 					background-size: 100% 100%;
 					padding: 27rpx 34rpx 27rpx 30rpx;
 					box-sizing: border-box;
@@ -605,7 +605,7 @@
 					width: calc(100% - 170rpx);
 					height: 80rpx;
 					border-radius: 40rpx;
-					background: asset-image(new_free_btn.png) no-repeat;
+					background: asset-image('new_free_btn.png') no-repeat;
 					background-size: 100% 100%;
 					font-family: PingFang-SC, PingFang-SC;
 					font-weight: bold;
@@ -636,7 +636,7 @@
 				width: calc(100% - 100rpx);
 				padding: 54rpx 60rpx 48rpx;
 				box-sizing: border-box;
-				background: asset-image(remind_bg.png) no-repeat;
+				background: asset-image('remind_bg.png') no-repeat;
 				background-size: 100% 100%;
 				position: relative;
 				image{

+ 2 - 2
pages/my.vue

@@ -202,7 +202,7 @@
 						&-version{
 							width: 164rpx;
 							height: 40rpx;
-							background: asset-image(my_version_bg2.png) no-repeat;
+							background: asset-image('my_version_bg2.png') no-repeat;
 							background-size: 100% 100%;
 							padding-left: 45rpx;
 							box-sizing: border-box;
@@ -248,7 +248,7 @@
 		
 			.preill{
 				margin-top: 49rpx;
-				background: asset-image(my_pinggu_bg.png) no-repeat;
+				background: asset-image('my_pinggu_bg.png') no-repeat;
 				background-size: 100% 100%;
 				padding: 34rpx 24rpx;
 				&-left{

+ 2 - 2
pages/publish.vue

@@ -173,13 +173,13 @@
 			&-box{
 				width: calc(100% - 48rpx);
 				height: 628rpx;
-				background: asset-image(buy_bg.png) no-repeat;
+				background: asset-image('buy_bg.png') no-repeat;
 				background-size: 100% 100%;
 				padding: 306rpx 31rpx 40rpx;
 				box-sizing: border-box;
 				position: relative;
 				&.zyb{
-					background: asset-image(buy_bg_zyb.png) no-repeat;
+					background: asset-image('buy_bg_zyb.png') no-repeat;
 					background-size: 100% 100%;
 				}
 				&>image{

+ 1 - 1
pages/registerInfo.vue

@@ -119,7 +119,7 @@
 	
 	.default_page{
 		padding: 0 30rpx;
-		background: asset-image(info_bg.png) no-repeat;
+		background: asset-image('info_bg.png') no-repeat;
 		background-repeat: no-repeat;
 		background-size: 100% 100%;
 		

+ 1 - 1
pages/reportAsk.vue

@@ -302,7 +302,7 @@
 	}
 	
 	.page{
-		background: asset-image(dialog_bg.png) no-repeat;
+		background: asset-image('dialog_bg.png') no-repeat;
 		background-size: 100% 100%;
 		padding: 0 30rpx 240rpx;
 		box-sizing: border-box;

+ 2 - 2
pagesHome/components/createList.vue

@@ -769,7 +769,7 @@ export default {
 			padding: 54rpx 99rpx 48rpx;
 			box-sizing: border-box;
 			position: relative;
-			background: asset-image(alert_bg.png) no-repeat;
+			background: asset-image('alert_bg.png') no-repeat;
 			background-size: 100% 100%;
 			&-title {
 				font-family: PingFang-SC, PingFang-SC;
@@ -813,7 +813,7 @@ export default {
 			width: calc(100% - 100rpx);
 			padding: 54rpx 30rpx 40rpx;
 			box-sizing: border-box;
-			background: asset-image(remind_bg.png) no-repeat;
+			background: asset-image('remind_bg.png') no-repeat;
 			background-size: 100% 100%;
 			position: relative;
 			image{

+ 2 - 2
pagesHome/components/receiveList.vue

@@ -261,14 +261,14 @@
 						margin-left: 12rpx;
 					}
 					&.dwc{
-						background: asset-image(questionnaire_dwc.png) no-repeat;
+						background: asset-image('questionnaire_dwc.png') no-repeat;
 						background-size: 100% 100%;
 						text{
 							color: #193D59;
 						}
 					}
 					&.ywc{
-						background: asset-image(questionnaire_ywc.png) no-repeat;
+						background: asset-image('questionnaire_ywc.png') no-repeat;
 						background-size: 100% 100%;
 					}
 				}

+ 1 - 1
pagesHome/components/report/generateList.vue

@@ -439,7 +439,7 @@
 				width: calc(100% - 100rpx);
 				padding: 54rpx 60rpx 48rpx;
 				box-sizing: border-box;
-				background: asset-image(remind_bg.png) no-repeat;
+				background: asset-image('remind_bg.png') no-repeat;
 				background-size: 100% 100%;
 				position: relative;
 				image{

+ 1 - 1
pagesHome/components/report/receiveList.vue

@@ -275,7 +275,7 @@
 				width: calc(100% - 100rpx);
 				padding: 54rpx 60rpx 48rpx;
 				box-sizing: border-box;
-				background: asset-image(remind_bg.png) no-repeat;
+				background: asset-image('remind_bg.png') no-repeat;
 				background-size: 100% 100%;
 				position: relative;
 				image{

+ 1 - 1
pagesMy/forward.vue

@@ -117,7 +117,7 @@
 			padding: 0 30rpx 62rpx;
 			box-sizing: border-box;
 			justify-content: flex-end;
-			background: asset-image(forward_bg.png) no-repeat;
+			background: asset-image('forward_bg.png') no-repeat;
 			background-size: 100% 100%;
 		}
 		

+ 2 - 2
pagesPublish/publishResult.vue

@@ -124,7 +124,7 @@
 					margin-top: 34rpx;
 					width: 100%;
 					height: 322rpx;
-					background: asset-image(publish_result_bg1.png) no-repeat;
+					background: asset-image('publish_result_bg1.png') no-repeat;
 					background-size: 100% 100%;
 					display: flex;
 					flex-direction: column;
@@ -133,7 +133,7 @@
 					&-bottom{
 						width: 100%;
 						height: 84rpx;
-						background: asset-image(publish_result_bg2.png) no-repeat;
+						background: asset-image('publish_result_bg2.png') no-repeat;
 						background-size: 100% 100%;
 						padding: 13rpx 16rpx;
 						box-sizing: border-box;

+ 7 - 7
pagesPublish/rechargeCenter.vue

@@ -357,7 +357,7 @@
 					.version{
 						width: 160rpx;
 						height: 40rpx;
-						background: asset-image(my_version_bg2.png) no-repeat;
+						background: asset-image('my_version_bg2.png') no-repeat;
 						background-size: 100% 100%;
 						padding-left: 45rpx;
 						box-sizing: border-box;
@@ -421,14 +421,14 @@
 				margin-top: 29rpx;
 				&-top{
 					width: 100%;
-					background: asset-image(bug_yhj_box_bg.png) no-repeat;
+					background: asset-image('bug_yhj_box_bg.png') no-repeat;
 					background-size: 100% 100%;
 					position: relative;
 					border-radius: 16rpx;
 					&-xs{
 						width: 144rpx;
 						height: 40rpx;
-						background: asset-image(buy_yhj_bg.png) no-repeat;
+						background: asset-image('buy_yhj_bg.png') no-repeat;
 						background-size: 100% 100%;
 						font-family: PingFangSC, PingFang SC;
 						font-weight: 400;
@@ -443,7 +443,7 @@
 					&-xss{
 						width: 170rpx;
 						height: 40rpx;
-						background: asset-image(buy_yhj_bg.png) no-repeat;
+						background: asset-image('buy_yhj_bg.png') no-repeat;
 						background-size: 100% 100%;
 						font-family: PingFangSC, PingFang SC;
 						font-weight: 400;
@@ -497,7 +497,7 @@
 						width: 100%;
 						padding: 11rpx 16rpx;
 						min-height: 50rpx;
-						background: asset-image(buy_yhj_tip_bg.png) no-repeat;
+						background: asset-image('buy_yhj_tip_bg.png') no-repeat;
 						font-family: PingFangSC, PingFang SC;
 						font-weight: 400;
 						font-size: 24rpx;
@@ -690,13 +690,13 @@
 					}
 					
 					&.active{
-						background: asset-image(price_bg.png) no-repeat;
+						background: asset-image('price_bg.png') no-repeat;
 						background-size: 100% 100%;
 						.box-price-pre-times,.box-price-pre-money{
 							color: #955A1D;
 						}
 						.box-price-pre-bottom{
-							background: asset-image(price_bottom2.png) no-repeat;
+							background: asset-image('price_bottom2.png') no-repeat;
 							color: #795021;
 						}
 					}

+ 3 - 3
static/pdf.scss

@@ -8,7 +8,7 @@
     background-size: 100% 100%;
 
     &.fdy{
-        background: asset-image(fdy_bg.png) no-repeat;
+        background: asset-image('fdy_bg.png') no-repeat;
         background-size: 100% 100%;
         position: relative;
 
@@ -124,7 +124,7 @@
         margin-top: 20px;
     }
     &.fm2{
-        background: asset-image(fm_bg.png) no-repeat;
+        background: asset-image('fm_bg.png') no-repeat;
         background-size: 100% 100%;
         position: relative;
         justify-content: flex-end;
@@ -341,7 +341,7 @@
         .vsix-title{
             width: 234px;
             height: 42px;
-            background: asset-image(intro_box_title_bg.png) no-repeat;
+            background: asset-image('intro_box_title_bg.png') no-repeat;
             background-size: 100% 100%;
             font-family: PingFangSC, PingFang SC;
             font-weight: 600;