From 40fa4484ce4196485ecf7b2b3f676a5f4f05838b Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Thu, 25 May 2023 17:05:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/time.vue | 4 +- src/config/rem.js | 2 +- src/pages/modules/login/login.vue | 1 + .../vehicleinformation/vehiclecontrol.vue | 11 +- src/pages/shells/index/index.vue | 100 +++++++++++------- src/style/common.styl | 33 +++--- src/style/reset.css | 4 +- 7 files changed, 94 insertions(+), 61 deletions(-) diff --git a/src/components/time.vue b/src/components/time.vue index 62f1f03..7c621bc 100644 --- a/src/components/time.vue +++ b/src/components/time.vue @@ -58,7 +58,7 @@ export default { height 61px padding-left 10px .date-wraper - _font(12px, 20px, #909399,,) + _font(16px, 24px, #909399,,) .time-wraper - _font(12px, 20px, #909399,,) + _font(16px, 24px, #909399,,) diff --git a/src/config/rem.js b/src/config/rem.js index 66d660e..21a35f9 100644 --- a/src/config/rem.js +++ b/src/config/rem.js @@ -1,5 +1,5 @@ /** 10.4寸屏,4:3的,1366*768 */ -// apt设备尺寸分辨率1024*768 +// apt设备尺寸分辨率1024*768 现在新设备1920*1080 (function (doc, win) { var docEl = doc.documentElement var resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize' diff --git a/src/pages/modules/login/login.vue b/src/pages/modules/login/login.vue index 8898968..da17727 100644 --- a/src/pages/modules/login/login.vue +++ b/src/pages/modules/login/login.vue @@ -68,6 +68,7 @@ export default { } }, mounted () { + window.localStorage.removeItem('defaultActive') // 点对点项目分辨率 1024 * 768 // alert(document.body.clientWidth, 'a') // alert(document.body.clientHeight, 'b') diff --git a/src/pages/modules/vehicleinformation/vehiclecontrol.vue b/src/pages/modules/vehicleinformation/vehiclecontrol.vue index f4cfb59..3764703 100644 --- a/src/pages/modules/vehicleinformation/vehiclecontrol.vue +++ b/src/pages/modules/vehicleinformation/vehiclecontrol.vue @@ -1,14 +1,14 @@