Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_front_2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenqikuai
fns_front_2
Commits
a2a6bbc1
Commit
a2a6bbc1
authored
Sep 29, 2021
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d9ab41e7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
11 deletions
+10
-11
App.vue
src/App.vue
+9
-9
index.vue
src/views/withMenu/ChatList/index.vue
+0
-1
tailwind.config.js
tailwind.config.js
+1
-1
No files found.
src/App.vue
View file @
a2a6bbc1
<
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
(()
=>
{
...
...
src/views/withMenu/ChatList/index.vue
View file @
a2a6bbc1
...
@@ -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
...
...
tailwind.config.js
View file @
a2a6bbc1
...
@@ -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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment