From 2f24eedcf093b494a94db5af2e78ed0ff5683ca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=B2=E9=B8=BD?= <1020103647@qq.com> Date: Fri, 23 Feb 2024 09:56:18 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20unocss=20=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uno.config.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/uno.config.ts b/uno.config.ts index 127582c..5ba5250 100644 --- a/uno.config.ts +++ b/uno.config.ts @@ -70,3 +70,9 @@ export default defineConfig({ ['pb-safe', { 'padding-bottom': 'env(safe-area-inset-bottom)' }], ], }) + +/** + * 最终这一套组合下来会得到: + * mp 里面:mt-4 => margin-top: 32rpx + * h5 里面:mt-4 => margin-top: 1rem + */