修改样式

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' : '') + '" />') (coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script> </script>
<title></title> <title></title>
<style>
body{
background-color: transparent;
}
</style>
<!--preload-links--> <!--preload-links-->
<!--app-context--> <!--app-context-->
</head> </head>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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