瀏覽代碼

样式修改

gcz 2 年之前
父節點
當前提交
e7db14ab46
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      uni.scss

+ 5 - 1
uni.scss

@@ -204,7 +204,11 @@ page{
 		.original-price{
 			
 		}
-		.sales{margin-left: 30rpx;}
+		.sales{
+			&:not(:first-of-type){
+				margin-left: 30rpx;
+			}
+		}
 		.discount{
 			padding: 4rpx 14rpx;
 			border: 1px solid #FF3C3F;