This commit is contained in:
2025-03-17 10:39:28 +08:00
parent f0b144f4d7
commit e49a3fc3d8
3 changed files with 7 additions and 4 deletions

View File

@@ -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")
}

View File

@@ -10,8 +10,8 @@
"sizes": "分辨率192x192",
"src": "图片路径"
}],
"versionName": "1.0.31",
"versionCode": 1031,
"versionName": "1.0.32",
"versionCode": 1032,
"app-plus": {
"nvueCompiler": "weex",
"compatible": {

View File

@@ -897,7 +897,7 @@
"navigationBarTitleText": "Hello uniapp",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#007AFF",
"backgroundColor": "#f0f0f0",
"backgroundColor": "#EDF6F5",
// "backgroundColor": "#F8F8F8",
"backgroundColorTop": "#F4F5F6",
"backgroundColorBottom": "#F4F5F6",