修改样式
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ onLoad(async(opt) => {
|
|||||||
onReady(()=>{
|
onReady(()=>{
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
uni.setNavigationBarTitle({
|
uni.setNavigationBarTitle({
|
||||||
title:'app中要设置的标题'
|
title:title.value
|
||||||
})
|
})
|
||||||
},2000)
|
},2000)
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -184,7 +184,7 @@ const handleDelete=()=>{
|
|||||||
|
|
||||||
|
|
||||||
onLoad(async(opt) => {
|
onLoad(async(opt) => {
|
||||||
uni.setStorageSync('page_cache',true);
|
// uni.setStorageSync('page_cache',true);
|
||||||
// initLoad();
|
// initLoad();
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -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) => {
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user