From b17de63bec1fd61df7bcfcc73d250c19f22ba88a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=8F=B2=E9=B8=BD?= <1020103647@qq.com>
Date: Thu, 28 Mar 2024 19:25:41 +0800
Subject: [PATCH] =?UTF-8?q?refactor:=20platform=20=E7=8E=AF=E5=A2=83?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/index/about.vue | 10 ++++------
src/utils/platform.ts | 17 +++++++++++++++++
2 files changed, 21 insertions(+), 6 deletions(-)
create mode 100644 src/utils/platform.ts
diff --git a/src/pages/index/about.vue b/src/pages/index/about.vue
index d03d8fd..7f11371 100644
--- a/src/pages/index/about.vue
+++ b/src/pages/index/about.vue
@@ -22,7 +22,7 @@
当前平台是:
- {{ platform }}
+ {{ PLATFORM.platform }}
测试设计稿样式
设计稿是750px,css里面全部写rpx 即可
@@ -30,14 +30,12 @@