From 49c8065ce5517db63c91ecce8581d7e1d545be78 Mon Sep 17 00:00:00 2001 From: Libon Date: Sun, 29 Sep 2024 14:12:18 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BF=AE=E6=AD=A3=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E8=AF=AD=E7=97=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- docs/guide/vue2/rem.md | 2 +- docs/guide/vue3/viewport.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5f2624f..84be626 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,7 @@ module.exports = { **新手必看,老鸟跳过** -很多小伙伴会问我,适配的问题, 因为我们使用的是 Vant UI,所以必须根据 Vant UI 375 的设计规范走,一般我们的设计会将 UI 图上传到蓝湖,我们就可以需要的尺寸了。下面就大概普及一下 rem。 +很多小伙伴会问我,适配的问题, 因为我们使用的是 Vant UI,所以必须根据 Vant UI 375 的设计规范走,一般我们的设计会将 UI 图上传到蓝湖,我们就可以得到需要的尺寸了。下面就简单普及一下 rem 适配的原理。 我们知道 `1rem` 等于 `html` 根元素设定的 `font-size` 的 `px` 值。Vant UI 设置 `rootValue: 37.5` , 你可以看到在 iPhone 6 下看到 ( `1rem 等于 37.5px` ): @@ -474,5 +474,5 @@ server: {

- + 如果对你有帮助送我一颗珍贵的小星星(づ ̄3 ̄)づ╭❤~ diff --git a/docs/guide/vue2/rem.md b/docs/guide/vue2/rem.md index a361907..00d4db5 100644 --- a/docs/guide/vue2/rem.md +++ b/docs/guide/vue2/rem.md @@ -36,7 +36,7 @@ module.exports = { **新手必看,老鸟跳过** -很多小伙伴会问我,适配的问题,因为我们使用的是 Vant UI,所以必须根据 Vant UI 375 的设计规范走,一般我们的设计会将 UI 图上传到蓝湖,我们就可以需要的尺寸了。下面就大概普及一下 rem。 +很多小伙伴会问我,适配的问题,因为我们使用的是 Vant UI,所以必须根据 Vant UI 375 的设计规范走,一般我们的设计会将 UI 图上传到蓝湖,我们就可以得到需要的尺寸了。下面就简单普及一下 rem 适配的原理。 我们知道 `1rem` 等于`html` 根元素设定的 `font-size` 的 `px` 值。Vant UI 设置 `rootValue: 37.5`,你可以看到在 iPhone 6 下看到 (`1rem 等于 37.5px`): diff --git a/docs/guide/vue3/viewport.md b/docs/guide/vue3/viewport.md index 75a6daf..7b82adf 100644 --- a/docs/guide/vue3/viewport.md +++ b/docs/guide/vue3/viewport.md @@ -36,7 +36,7 @@ module.exports = { **新手必看,老鸟跳过** -很多小伙伴会问我,适配的问题, 因为我们使用的是 Vant UI,所以必须根据 Vant UI 375 的设计规范走,一般我们的设计会将 UI 图上传到蓝湖,我们就可以需要的尺寸了。下面就大概普及一下 rem。 +很多小伙伴会问我,适配的问题, 因为我们使用的是 Vant UI,所以必须根据 Vant UI 375 的设计规范走,一般我们的设计会将 UI 图上传到蓝湖,我们就可以得到需要的尺寸了。下面就简单普及一下 rem 适配的原理。 我们知道 `1rem` 等于 `html` 根元素设定的 `font-size` 的 `px` 值。Vant UI 设置 `rootValue: 37.5` , 你可以看到在 iPhone 6 下看到 ( `1rem 等于 37.5px` ):