refactor: 将深度选择器语法更新为v-deep

-在多个Vue和SCSS文件中用::v-deep替换弃用的/deep/选择器,以便更好地与Vue的范围样式兼容。
This commit is contained in:
Yer11214
2025-10-21 10:33:59 +08:00
parent 3219f6d576
commit 1fcc016ccd
44 changed files with 83 additions and 81 deletions

View File

@@ -437,7 +437,7 @@ export default {
box-shadow: 0 2px 6px 0 rgba(255, 65, 66, 0.2);
}
/deep/.u-icon-plus,
::v-deep.u-icon-plus,
.u-icon-minus,
.u-icon-disabled {
height: 30rpx !important;
@@ -457,7 +457,7 @@ export default {
}
}
/deep/ .uni-scroll-view {
::v-deep .uni-scroll-view {
overflow: hidden !important;
}
@@ -546,7 +546,7 @@ export default {
color: #999;
margin-left: 10rpx;
/deep/ span {
::v-deep span {
font-size: 30rpx;
}
}

View File

@@ -268,7 +268,7 @@ export default {
color: $main-color;
font-weight: bold;
/deep/ span:nth-of-type(1) {
::v-deep span:nth-of-type(1) {
font-size: 38rpx;
}
}

View File

@@ -331,7 +331,7 @@
color: $main-color;
font-weight: bold;
/deep/ span:nth-of-type(1) {
::v-deep span:nth-of-type(1) {
font-size: 38rpx;
}
}

View File

@@ -162,7 +162,7 @@
color: $main-color;
font-weight: bold;
/deep/ span:nth-of-type(1) {
::v-deep span:nth-of-type(1) {
font-size: 48rpx;
}
}

View File

@@ -164,7 +164,7 @@ export default {
width: 100%;
//border-bottom: 1px #f5f5f5 solid; //HM修改 去掉边框
box-sizing: border-box;
font-size: $uni-font-size-base;
font-size: 24rpx;
.left-box {
display: flex;