Commit a2a6bbc1 authored by chenqikuai's avatar chenqikuai

fix

parent d9ab41e7
<template> <template>
<van-config-provider :theme-vars="{ skeletonRowBackgroundColor: '#bfbfbf', }"> <van-config-provider :theme-vars="{ skeletonRowBackgroundColor: '#bfbfbf', }">
<div id="nav" class="bg-app-bg min-h-screen"> <div id="nav" class="bg-white min-h-screen">
<router-view /> <router-view />
</div> </div>
</van-config-provider> </van-config-provider>
...@@ -48,7 +48,7 @@ export default defineComponent({ ...@@ -48,7 +48,7 @@ export default defineComponent({
return; return;
} }
fmp fmp
.authorize({ .authorize({
...@@ -77,7 +77,7 @@ export default defineComponent({ ...@@ -77,7 +77,7 @@ export default defineComponent({
}) })
const checkRoute = (n: string) => { const checkRoute = (n: string) => {
switch(n) { switch (n) {
case '/home': case '/home':
return true return true
case '/chatList': case '/chatList':
...@@ -91,12 +91,12 @@ export default defineComponent({ ...@@ -91,12 +91,12 @@ export default defineComponent({
} }
} }
watch(() => route.path,(n) => { watch(() => route.path, (n) => {
console.log(n) console.log(n)
const result = checkRoute(n) const result = checkRoute(n)
console.log(result,' result') console.log(result, ' result')
new Bridge().bridge_quitApp(result) new Bridge().bridge_quitApp(result)
} }
) )
onMounted(() => { onMounted(() => {
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<Navbar <Navbar
:title="navBarTitle" :title="navBarTitle"
:showBackIcon="false" :showBackIcon="false"
style="background-color: #F7F7FA !important;"
/> />
<div class="mx-5"> <div class="mx-5">
<div <div
......
...@@ -50,7 +50,7 @@ module.exports = { ...@@ -50,7 +50,7 @@ module.exports = {
"app-blue": "#3E4FAF", "app-blue": "#3E4FAF",
"app-red": "#F03A30", "app-red": "#F03A30",
"app-white": "#F9FBFF", "app-white": "#F9FBFF",
"app-bg": "#F7F7FA", "app-bg": "white",
"app-line": "#EAEAEB", "app-line": "#EAEAEB",
"app-main-txt": "#516379", "app-main-txt": "#516379",
"app-minor-txt": "#EAEAEB", "app-minor-txt": "#EAEAEB",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment