refactor: 统一将微信小程序条件编译替换为全小程序平台

将项目中所有`MP-WEIXIN`条件编译标识替换为通用的`MP`,适配所有字节小程序平台,减少重复的平台特化代码。
This commit is contained in:
2026-06-04 16:41:13 +08:00
parent 6690788a17
commit 5a0c903346
8 changed files with 16 additions and 16 deletions

View File

@@ -25,7 +25,7 @@ view {
background-size: 100% 260rpx;
background-repeat: no-repeat;
// #ifdef MP-WEIXIN
// #ifdef MP
background-size: 100% 380rpx;
// #endif
@@ -52,7 +52,7 @@ view {
background: linear-gradient(180deg, $base-color 10%, $color-bg 100%);
background-size: 100% 260rpx;
// #ifdef MP-WEIXIN
// #ifdef MP
background-size: 100% 380rpx;
// #endif