修改样式
This commit is contained in:
@@ -10,6 +10,11 @@
|
||||
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
|
||||
</script>
|
||||
<title></title>
|
||||
<style>
|
||||
body{
|
||||
background-color: transparent;
|
||||
}
|
||||
</style>
|
||||
<!--preload-links-->
|
||||
<!--app-context-->
|
||||
</head>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id" : "H5E705637",
|
||||
"name" : "app",
|
||||
// "appid" : "",
|
||||
// "appid" : "H5E705637",
|
||||
"description" : "",
|
||||
"versionName" : "1.0.0",
|
||||
"versionCode" : "100",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -24,7 +24,7 @@ onLoad(async(opt) => {
|
||||
onReady(()=>{
|
||||
setTimeout(()=>{
|
||||
uni.setNavigationBarTitle({
|
||||
title:'app中要设置的标题'
|
||||
title:title.value
|
||||
})
|
||||
},2000)
|
||||
})
|
||||
|
||||
@@ -184,7 +184,7 @@ const handleDelete=()=>{
|
||||
|
||||
|
||||
onLoad(async(opt) => {
|
||||
uni.setStorageSync('page_cache',true);
|
||||
// uni.setStorageSync('page_cache',true);
|
||||
// initLoad();
|
||||
})
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ export const initTree = (arr, parentId = '0', id) => {
|
||||
return tree;
|
||||
}
|
||||
|
||||
|
||||
// 安卓异步调用
|
||||
export const requestAndroidPermissionAsync = (systemInfo, permissions) => {
|
||||
return new Promise((resolve, reject) => {
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user