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

@@ -232,7 +232,7 @@ export default {
> text {
margin-right: 10rpx;
}
/deep/ {
::v-deep {
.uicon {
position: relative;
top: -2rpx;

View File

@@ -88,7 +88,7 @@
}
/* #ifdef MP */
.u-table /deep/ t-tr {
.u-table ::v-deep t-tr {
display: flex;
}
/* #endif */

View File

@@ -393,7 +393,7 @@
/* #ifdef H5 */
// 通过样式穿透隐藏H5下scroll-view下的滚动条
scroll-view /deep/ ::-webkit-scrollbar {
scroll-view ::v-deep ::-webkit-scrollbar {
display: none;
width: 0 !important;
height: 0 !important;

View File

@@ -312,7 +312,7 @@
/* #ifdef H5 */
// 通过样式穿透隐藏H5下scroll-view下的滚动条
scroll-view /deep/ ::-webkit-scrollbar {
scroll-view ::v-deep ::-webkit-scrollbar {
display: none;
width: 0 !important;
height: 0 !important;