mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-16 23:45:53 +08:00
refactor: 将深度选择器语法更新为v-deep
-在多个Vue和SCSS文件中用::v-deep替换弃用的/deep/选择器,以便更好地与Vue的范围样式兼容。
This commit is contained in:
@@ -232,7 +232,7 @@ export default {
|
||||
> text {
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
/deep/ {
|
||||
::v-deep {
|
||||
.uicon {
|
||||
position: relative;
|
||||
top: -2rpx;
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
}
|
||||
|
||||
/* #ifdef MP */
|
||||
.u-table /deep/ t-tr {
|
||||
.u-table ::v-deep t-tr {
|
||||
display: flex;
|
||||
}
|
||||
/* #endif */
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user