refactor: 统一将微信小程序条件编译替换为全小程序平台
将项目中所有`MP-WEIXIN`条件编译标识替换为通用的`MP`,适配所有字节小程序平台,减少重复的平台特化代码。
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
z-index: 100;
|
||||
background: unset;
|
||||
|
||||
// #ifdef MP-WEIXIN
|
||||
// #ifdef MP
|
||||
background-size: 100% 380rpx;
|
||||
// #endif
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
overflow: hidden;
|
||||
margin: 24rpx 28rpx;
|
||||
border-radius: 24rpx;
|
||||
// #ifdef MP-WEIXIN
|
||||
// #ifdef MP
|
||||
padding-top: 160rpx;
|
||||
// #endif
|
||||
height: 352rpx;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
z-index: 100;
|
||||
background: unset;
|
||||
|
||||
// #ifdef MP-WEIXIN
|
||||
// #ifdef MP
|
||||
background-size: 100% 380rpx;
|
||||
// #endif
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
border-radius: 0 0 100% 100%/0 0 70rpx 70rpx;
|
||||
overflow: hidden;
|
||||
|
||||
// #ifdef MP-WEIXIN
|
||||
// #ifdef MP
|
||||
padding-top: 160rpx;
|
||||
// #endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user