diff --git a/common/common.css b/common/common.css index 4572eda..f4744f1 100644 --- a/common/common.css +++ b/common/common.css @@ -417,6 +417,136 @@ html { background-color: #ffffff !important; } +/* #ifdef H5 */ +/* H5端字体和边距调整 - 放大1.5倍 */ +html, body { + font-size: 150% !important; +} + +/* 调整页面基础字体大小 */ +page { + font-size: 42rpx !important; +} + +/* 调整特定类的字体大小 */ +.fs_10 { + font-size: 30rpx !important; +} + +.fs_12 { + font-size: 36rpx !important; +} + +.fs_14 { + font-size: 42rpx !important; +} + +.fs_16 { + font-size: 48rpx !important; +} + +.fs_18 { + font-size: 54rpx !important; +} + +.fs_20 { + font-size: 60rpx !important; +} + +.fs_22 { + font-size: 66rpx !important; +} + +.fs_24 { + font-size: 72rpx !important; +} + +.fs_26 { + font-size: 78rpx !important; +} + +.fs_28 { + font-size: 84rpx !important; +} + +.fs_30 { + font-size: 90rpx !important; +} + +.fs_32 { + font-size: 96rpx !important; +} + +/* 调整边距类 */ +.mar_le30 { + margin-left: 90rpx !important; +} + +.mar_le25 { + margin-left: 75rpx !important; +} + +.mar_le20 { + margin-left: 60rpx !important; +} + +.mar_le15 { + margin-left: 45rpx !important; +} + +.mar_le10 { + margin-left: 30rpx !important; +} + +.mar_le5 { + margin-left: 15rpx !important; +} + +.mar_ri5 { + margin-right: 15rpx !important; +} + +.mar_ri10 { + margin-right: 30rpx !important; +} + +.mar_ri15 { + margin-right: 45rpx !important; +} + +.mar_ri20 { + margin-right: 60rpx !important; +} + +.mar_ri25 { + margin-right: 75rpx !important; +} + +.mar_top0 { + margin-top: 0 !important; +} + +.mar_top5 { + margin-top: 15rpx !important; +} + +.mar_top10 { + margin-top: 30rpx !important; +} + +.mar_top15 { + margin-top: 45rpx !important; +} + +.mar_top20 { + margin-top: 60rpx !important; +} + +.mar_top25 { + margin-top: 75rpx !important; +} +/* #endif */ + /* 弹性布局 */