mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-19 00:45:54 +08:00
refactor: 将深度选择器语法更新为v-deep
-在多个Vue和SCSS文件中用::v-deep替换弃用的/deep/选择器,以便更好地与Vue的范围样式兼容。
This commit is contained in:
@@ -290,7 +290,7 @@ page {
|
||||
}
|
||||
|
||||
.index-item-img {
|
||||
/deep/ .u-image {
|
||||
::v-deep .u-image {
|
||||
width: 346rpx !important;
|
||||
height: 320rpx !important;
|
||||
border-radius: 10rpx !important;
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
color: #999999;
|
||||
margin: 0 20rpx;
|
||||
|
||||
/deep/ view {
|
||||
::v-deep view {
|
||||
line-height: 1.75;
|
||||
}
|
||||
}
|
||||
@@ -121,7 +121,7 @@
|
||||
text-align: center;
|
||||
padding: 6rpx 16rpx;
|
||||
}
|
||||
/deep/ .empty {
|
||||
::v-deep .empty {
|
||||
position: relative;
|
||||
padding-top: 20%;
|
||||
> .empty-content {
|
||||
|
||||
Reference in New Issue
Block a user