mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-18 16:35:53 +08:00
refactor: 将深度选择器语法更新为v-deep
-在多个Vue和SCSS文件中用::v-deep替换弃用的/deep/选择器,以便更好地与Vue的范围样式兼容。
This commit is contained in:
@@ -570,7 +570,7 @@ page {
|
||||
font-weight: bold;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
/deep/ .tips {
|
||||
::v-deep .tips {
|
||||
margin: 0 8rpx 0 0;
|
||||
background: $main-color;
|
||||
border-radius: 100px;
|
||||
@@ -604,14 +604,14 @@ page {
|
||||
}
|
||||
|
||||
/* 空白页 */
|
||||
/deep/ .u-number-input {
|
||||
::v-deep .u-number-input {
|
||||
background: #fff !important;
|
||||
border: 1px solid #ededed;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
/deep/ .u-icon-minus,
|
||||
/deep/ .u-icon-plus {
|
||||
::v-deep .u-icon-minus,
|
||||
::v-deep .u-icon-plus {
|
||||
background: #ffffff !important;
|
||||
border: 1px solid #ededed;
|
||||
color: #333 !important;
|
||||
@@ -665,7 +665,7 @@ page {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
/deep/ .number {
|
||||
::v-deep .number {
|
||||
line-height: 1;
|
||||
font-size: 30rpx;
|
||||
> span {
|
||||
@@ -691,7 +691,7 @@ page {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/deep/ .u-col {
|
||||
::v-deep .u-col {
|
||||
padding: 24rpx 0 !important;
|
||||
}
|
||||
|
||||
@@ -735,7 +735,7 @@ page {
|
||||
.goods-config {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
/deep/ .invalid {
|
||||
::v-deep .invalid {
|
||||
display: block;
|
||||
width: 80rpx !important;
|
||||
}
|
||||
@@ -765,7 +765,7 @@ page {
|
||||
height: 40rpx;
|
||||
border-left: 1px solid #eeeeee;
|
||||
|
||||
/deep/ span {
|
||||
::v-deep span {
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
}
|
||||
@@ -814,10 +814,10 @@ page {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
> .sp-price {
|
||||
/deep/ span:nth-of-type(1) {
|
||||
::v-deep span:nth-of-type(1) {
|
||||
font-size: 38rpx;
|
||||
}
|
||||
/deep/ span:nth-of-type(2) {
|
||||
::v-deep span:nth-of-type(2) {
|
||||
font-size: 24rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -211,7 +211,7 @@ uni-scroll-view .uni-scroll-view::-webkit-scrollbar {
|
||||
border-radius: 8px;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
/deep/ .u-image {
|
||||
::v-deep .u-image {
|
||||
width: 140rpx !important;
|
||||
height: 140rpx !important;
|
||||
border-radius: 8px !important;
|
||||
|
||||
@@ -45,7 +45,7 @@ export default {
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.web-view {
|
||||
/deep/ .web-view {
|
||||
::v-deep .web-view {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@@ -219,7 +219,7 @@ body {
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
/deep/ .u-icon,
|
||||
::v-deep .u-icon,
|
||||
.u-icon {
|
||||
margin-top: 106rpx;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user