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

@@ -101,7 +101,7 @@ page {
color: $price-color;
font-size: 32rpx;
line-height: 1;
/deep/ .price {
::v-deep .price {
font-size: 60rpx;
}
}
@@ -124,7 +124,7 @@ page {
overflow: hidden;
border-radius: 12rpx;
/deep/ .u-image__image {
::v-deep .u-image__image {
// width: 228rpx;
height: 228rpx;
border-radius: 12rpx !important;
@@ -200,7 +200,7 @@ page {
font-size: 30rpx;
transition: all 0.5s;
}
/deep/ .u-navbar {
::v-deep .u-navbar {
padding-left: 10rpx;
}
.nav-item {
@@ -356,7 +356,7 @@ page {
z-index: 8;
width: 100%;
/deep/ .u-row {
::v-deep .u-row {
width: 100%;
}
}
@@ -368,7 +368,7 @@ page {
color: #fff;
padding: 0 20rpx;
/deep/ .price {
::v-deep .price {
font-size: 36rpx;
font-weight: 400;
text-align: left;