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

@@ -113,7 +113,7 @@ export default {
</template>
<style lang="scss">
/deep/ .bind-phone {
::v-deep .bind-phone {
margin-top: 12rpx;
background: rgba(255, 255, 255, 0.3);
border-radius: 30px;
@@ -125,7 +125,7 @@ export default {
line-height: 28rpx;
padding: 6rpx 16rpx;
}
/deep/ .tips::before {
::v-deep .tips::before {
content: '';
position: absolute;
bottom: -6rpx;

View File

@@ -53,14 +53,14 @@ export default {
</template>
<style lang="scss" scoped>
// /deep/ .section-content .uni-badge-left-margin {
// ::v-deep .section-content .uni-badge-left-margin {
// position: absolute;
// top: 0rpx;
// right: 44rpx;
// /deep/.uni-badge--error {
// ::v-deep .uni-badge--error {
// background-color: #fff !important;
// }
// /deep/.uni-badge {
// ::v-deep .uni-badge {
// color: var(--view-theme);
// border: 1px solid var(--view-theme);
// z-index: 29;

View File

@@ -87,7 +87,7 @@ export default {
position: absolute;
top: -20rpx;
right: 26rpx;
/deep/ .uni-badge--error {
::v-deep .uni-badge--error {
background-color: var(--view-theme) !important;
}
.uni-badge {

View File

@@ -77,7 +77,7 @@ export default {
.uni-badge--error {
background-color: #fff !important;
}
/deep/ .uni-badge--error {
::v-deep .uni-badge--error {
background-color: var(--view-theme) !important;
}
.uni-badge {

View File

@@ -662,7 +662,7 @@ export default {
height: 98rpx;
}
.user-page {
padding-bottom: calc(100rpx+ constant(safe-area-inset-bottom));
padding-bottom: calc(100rpx + constant(safe-area-inset-bottom));
padding-bottom: calc(100rpx + env(safe-area-inset-bottom));
padding-bottom: 100rpx;
}