Fix uniapp v2 login and sass compatibility

This commit is contained in:
danaisuiyuan
2026-05-03 15:56:26 +08:00
parent 8472bb4639
commit 79436c011c
75 changed files with 188 additions and 147 deletions

View File

@@ -330,7 +330,7 @@
min-height: 0;
box-sizing: border-box;
/deep/.shoppingCart {
::v-deep .shoppingCart {
position: absolute;
top: 0;
right: 0;

View File

@@ -162,15 +162,15 @@
</script>
<style lang="scss" scoped>
/deep/ checkbox .wx-checkbox-input.wx-checkbox-input-checked {
::v-deep checkbox .wx-checkbox-input.wx-checkbox-input-checked {
border: 1px solid $primary-admin;
background-color: $primary-admin;
color: #fff;
}
/deep/checkbox{
::v-deep checkbox{
margin-right: 13rpx;
}
/deep/uni-checkbox .uni-checkbox-input{
::v-deep uni-checkbox .uni-checkbox-input{
border-radius: 4rpx;
width: 28rpx;
height: 28rpx;

View File

@@ -413,14 +413,14 @@
</script>
<style lang="scss" scoped>
/deep/checkbox .wx-checkbox-input.wx-checkbox-input-checked {
::v-deep checkbox .wx-checkbox-input.wx-checkbox-input-checked {
border: 1px solid $primary-admin !important;
background-color: $primary-admin !important;
}
/deep/uni-checkbox .uni-checkbox-input{
::v-deep uni-checkbox .uni-checkbox-input{
margin-top: -4rpx;
}
/deep/checkbox:not([disabled]) .uni-checkbox-input:hover {
::v-deep checkbox:not([disabled]) .uni-checkbox-input:hover {
border-color: #d1d1d1 !important;
}
.empty-box{
@@ -522,11 +522,11 @@
.list{
padding-bottom: 20rpx;
padding: 0 20rpx 20rpx 20rpx;
/deep/uni-checkbox .uni-checkbox-input{
::v-deep uni-checkbox .uni-checkbox-input{
background-color: #f5f5f5;
margin: 0 20rpx 20rpx 0;
}
/deep/wx-checkbox .wx-checkbox-input{
::v-deep wx-checkbox .wx-checkbox-input{
background-color: #f5f5f5;
margin: 0 20rpx 20rpx 0;
}

View File

@@ -221,11 +221,11 @@ export default {
</script>
<style lang="scss" scoped>
/deep/checkbox .uni-checkbox-input.uni-checkbox-input-checked {
::v-deep checkbox .uni-checkbox-input.uni-checkbox-input-checked {
border: 1px solid $primary-admin !important;
background-color: $primary-admin !important;
}
/deep/checkbox .wx-checkbox-input.wx-checkbox-input-checked {
::v-deep checkbox .wx-checkbox-input.wx-checkbox-input-checked {
border: 1px solid $primary-admin !important;
background-color: $primary-admin !important;
}

View File

@@ -695,7 +695,7 @@
}
.height-add {
height: calc(120rpx+ constant(safe-area-inset-bottom)); ///兼容 IOS<11.2/
height: calc(120rpx + constant(safe-area-inset-bottom)); ///兼容 IOS<11.2/
height: calc(120rpx + env(safe-area-inset-bottom)); ///兼容 IOS>11.2/
}

View File

@@ -582,7 +582,7 @@
<style lang="scss" scoped>
.pos-order-list {
/deep/.navbar {
::v-deep .navbar {
.content {
background: #F5F5F5 !important;
}
@@ -685,7 +685,7 @@
border-radius: 24rpx;
background-color: #fff;
/deep/.time {
::v-deep .time {
.title {
color: #FF7E00;
}

View File

@@ -175,7 +175,7 @@ export default {
font-family: Regular;
color: #FF7E00;
}
/deep/.uni-input-input{
::v-deep .uni-input-input{
padding-right: 10rpx;
}
.placeholder{

View File

@@ -165,7 +165,7 @@ export default {
font-family: Regular;
color: #FF7E00;
}
/deep/.uni-input-input{
::v-deep .uni-input-input{
padding-right: 10rpx;
}
.placeholder{

View File

@@ -431,14 +431,14 @@
</script>
<style lang="scss" scoped>
/deep/checkbox .wx-checkbox-input.wx-checkbox-input-checked {
::v-deep checkbox .wx-checkbox-input.wx-checkbox-input-checked {
border: 1px solid $primary-admin !important;
background-color: $primary-admin !important;
}
/deep/checkbox:not([disabled]) .uni-checkbox-input:hover {
::v-deep checkbox:not([disabled]) .uni-checkbox-input:hover {
border-color: #d1d1d1 !important;
}
/deep/.empty-page{
::v-deep .empty-page{
margin-top: 20rpx;
}
.accountTitle{
@@ -507,10 +507,10 @@
.list{
padding-bottom: 20rpx;
margin-top: 32rpx;
/deep/uni-checkbox .uni-checkbox-input{
::v-deep uni-checkbox .uni-checkbox-input{
margin: 0 20rpx 20rpx 0;
}
/deep/wx-checkbox .wx-checkbox-input{
::v-deep wx-checkbox .wx-checkbox-input{
margin: 0 20rpx 20rpx 0;
}
.item {
@@ -643,7 +643,7 @@
width: 100%;
left: 0;
/deep/uni-checkbox .uni-checkbox-input{
::v-deep uni-checkbox .uni-checkbox-input{
margin-bottom: 6rpx;
}