修改样式

This commit is contained in:
xuli3099
2025-08-15 11:16:08 +08:00
parent b88c64af7e
commit 0678d725ad
8 changed files with 115 additions and 102 deletions

View File

@@ -10,6 +10,11 @@
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<title></title>
<style>
body{
background-color: transparent;
}
</style>
<!--preload-links-->
<!--app-context-->
</head>

View File

@@ -1,7 +1,7 @@
{
"id" : "H5E705637",
"name" : "app",
// "appid" : "",
// "appid" : "H5E705637",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",

View File

@@ -145,7 +145,14 @@
"navigationBarTitleText": "718友晟",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8",
"navigationStyle": "custom"
"navigationStyle": "custom",
// #ifdef APP-PLUS
"style": {
"app-plus": {
"background":"#F5F5F5"
}
}
// #endif
},
"tabBar": {
"color": "#919191",

View File

@@ -58,16 +58,16 @@
<script setup>
import { ref,onMounted } from 'vue'
import { onLoad } from '@dcloudio/uni-app';
import { onLoad,onShow } from '@dcloudio/uni-app';
import customHeader from '@/components/customHeader.vue'
import MescrollUni from 'mescroll-uni/mescroll-uni.vue';
import { getNavBarPaddingTop} from '@/utils/system.js'
import { businessList } from '@/api/business.js';
import {showLoading,hideLoading} from '@/utils/message.js'
import { initTree } from '@/utils/common.js'
import { initTree } from '@/utils/common.js';
onLoad(async(opt) => {
uni.setStorageSync('page_cache',true);
// uni.setStorageSync('page_cache',true);
try {
showLoading("加载中...")
getList();

View File

@@ -24,7 +24,7 @@ onLoad(async(opt) => {
onReady(()=>{
setTimeout(()=>{
uni.setNavigationBarTitle({
title:'app中要设置的标题'
title:title.value
})
},2000)
})

View File

@@ -184,7 +184,7 @@ const handleDelete=()=>{
onLoad(async(opt) => {
uni.setStorageSync('page_cache',true);
// uni.setStorageSync('page_cache',true);
// initLoad();
})

View File

@@ -13,6 +13,7 @@ export const initTree = (arr, parentId = '0', id) => {
return tree;
}
// 安卓异步调用
export const requestAndroidPermissionAsync = (systemInfo, permissions) => {
return new Promise((resolve, reject) => {

View File

@@ -24,12 +24,12 @@ const requestHooks = {
options.header.token = "Bearer "+ token;
options.header.Authorization = "Bearer "+ token;
// }
console.log("request=>",options)
// console.log("request=>",options)
return options;
},
// 响应拦截器
responseInterceptorsHook(response, config) {
console.log("response=>",response)
// console.log("response=>",response)
// console.log("response=>config=>",config)
const { isTransformResponse, isReturnDefaultResponse, isAuth } = config;