From e49a3fc3d82ee4c7433d2978b5bb7e99a38146ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=8B=E4=BA=8E=E5=88=9D=E8=A7=81?= <752204717@qq.com> Date: Mon, 17 Mar 2025 10:39:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 5 ++++- manifest.json | 4 ++-- pages.json | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/main.js b/main.js index ed6fe33..39f7a55 100644 --- a/main.js +++ b/main.js @@ -2,6 +2,9 @@ import Vue from 'vue' import App from './App' import qs from 'qs' Vue.prototype.$baseFontSize = function () { + if (uni.getStorageSync("fontSize") != 3.5 && uni.getStorageSync("fontSize") != 4) { + uni.setStorageSync("fontSize", 3.5) //改变字体大小 + } console.log('这是一个全局方法') return uni.getStorageSync("fontSize") } @@ -76,7 +79,7 @@ uni.getSystemInfo({ Vue.prototype.iosHidden = false; //ios临时隐藏听书 Vue.prototype.iosHide = true; - + } else { Vue.prototype.iosHide = true; diff --git a/manifest.json b/manifest.json index 11b2325..f7b0427 100644 --- a/manifest.json +++ b/manifest.json @@ -10,8 +10,8 @@ "sizes": "分辨率,192x192", "src": "图片路径" }], - "versionName": "1.0.31", - "versionCode": 1031, + "versionName": "1.0.32", + "versionCode": 1032, "app-plus": { "nvueCompiler": "weex", "compatible": { diff --git a/pages.json b/pages.json index c6675d5..ea835bb 100644 --- a/pages.json +++ b/pages.json @@ -897,7 +897,7 @@ "navigationBarTitleText": "Hello uniapp", "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#007AFF", - "backgroundColor": "#f0f0f0", + "backgroundColor": "#EDF6F5", // "backgroundColor": "#F8F8F8", "backgroundColorTop": "#F4F5F6", "backgroundColorBottom": "#F4F5F6",