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

@@ -217,7 +217,7 @@ export default {
}
}
/deep/ .u-input__textarea {
::v-deep .u-input__textarea {
padding: 0;
}
.cell-title {

View File

@@ -28,7 +28,7 @@
<view class="complain-speak"> {{ item.complainTopic }} </view>
</view>
<view class="complain-btn">
<u-tag mode="plain" @click="handleClear(item)" class="complain-tag" text="撤销投诉" type="info"
<u-tag mode="plain" @click="handleClear(item)" class="complain-tag" text="撤销投诉" type="info"
v-if="item.complainStatus === 'APPLYING' || item.complainStatus === 'NEW'" />
<u-tag mode="plain" @click="handleInfo(item)" class="complain-tag" text="投诉详情" type="info" />
</view>
@@ -162,7 +162,7 @@ export default {
font-size: 24rpx;
color: #999;
}
/deep/ .seller-name {
::v-deep .seller-name {
width: auto !important;
}
.complain-btn {

View File

@@ -881,7 +881,7 @@ page {
}
.uinput {
/deep/ input {
::v-deep input {
text-align: right;
}
}
@@ -976,7 +976,7 @@ page {
text-align: left;
}
/deep/ .u-col-3 {
::v-deep .u-col-3 {
text-align: right;
}
@@ -1011,7 +1011,7 @@ page {
}
}
/deep/ .u-notice-bar-wrap {
::v-deep .u-notice-bar-wrap {
width: 100% !important;
}
@@ -1128,11 +1128,11 @@ page {
color: #333333;
}
/deep/ .u-col {
::v-deep .u-col {
padding: 36rpx 0 !important;
}
/deep/ .u-col-3,
::v-deep .u-col-3,
.tipsColor {
color: #333;
}