Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
campSite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨梦雪
campSite
Commits
264c2466
Commit
264c2466
authored
Jun 01, 2024
by
wuwangwolihui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nankai-修改
parent
2dfc0c20
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
10 deletions
+12
-10
src/components/Header.vue
src/components/Header.vue
+2
-2
src/router/index.js
src/router/index.js
+3
-5
src/views/base/myInfo/index.vue
src/views/base/myInfo/index.vue
+1
-1
src/views/index/camp/Index.vue
src/views/index/camp/Index.vue
+6
-2
No files found.
src/components/Header.vue
View file @
264c2466
...
@@ -30,9 +30,9 @@
...
@@ -30,9 +30,9 @@
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</div>
</div>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
@
click=
"toCenter"
command=
"1"
>
<
!--
<
el-dropdown-item
@
click=
"toCenter"
command=
"1"
>
<i
class=
"el-icon-user"
></i>
个人中心
<i
class=
"el-icon-user"
></i>
个人中心
</el-dropdown-item>
</el-dropdown-item>
-->
<el-dropdown-item
@
click=
"logout"
command=
"2"
>
<el-dropdown-item
@
click=
"logout"
command=
"2"
>
<i
class=
"el-icon-switch-button"
></i>
退出
<i
class=
"el-icon-switch-button"
></i>
退出
</el-dropdown-item>
</el-dropdown-item>
...
...
src/router/index.js
View file @
264c2466
...
@@ -215,15 +215,13 @@ router.beforeEach((to, from, next) => {
...
@@ -215,15 +215,13 @@ router.beforeEach((to, from, next) => {
// toBaseReset = "/baseReset",
// toBaseReset = "/baseReset",
// toHome = "/",
// toHome = "/",
// toActive = "/active",
// toActive = "/active",
toInfo
=
"
/myInfo
"
;
// toInfo = "/myInfo",
let
code
=
false
;
code
=
false
;
document
.
title
=
to
.
meta
.
title
;
document
.
title
=
to
.
meta
.
title
;
// if (to.path == toBaseLogin || to.path == toBaseRegister || to.path == toBaseReset || to.path.indexOf(toInfo) != -1 || to.path == toHome || to.path == toActive || to.path.indexOf(toActive) != -1) {
// if (to.path == toBaseLogin || to.path == toBaseRegister || to.path == toBaseReset || to.path.indexOf(toInfo) != -1 || to.path == toHome || to.path == toActive || to.path.indexOf(toActive) != -1) {
// return next();
// return next();
// } else
// } else
if
(
to
.
path
.
indexOf
(
toInfo
)
!=
-
1
)
{
if
(
to
.
path
==
toLogin
||
to
.
path
==
toRegister
||
to
.
path
==
toReset
)
{
return
next
();
}
else
if
(
to
.
path
==
toLogin
||
to
.
path
==
toRegister
||
to
.
path
==
toReset
)
{
code
=
to
.
params
.
code
?
to
.
params
.
code
:
to
.
query
.
code
;
code
=
to
.
params
.
code
?
to
.
params
.
code
:
to
.
query
.
code
;
checkCam
(
code
,
(
res
)
=>
{
checkCam
(
code
,
(
res
)
=>
{
if
(
res
)
{
if
(
res
)
{
...
...
src/views/base/myInfo/index.vue
View file @
264c2466
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
<
script
>
<
script
>
/* eslint-disable */
/* eslint-disable */
import
Header
from
"
@/components/Header.vue
"
;
import
Header
from
"
@/components/Header.vue
"
;
import
Footer
from
"
@/components/
index/
Footer.vue
"
;
import
Footer
from
"
@/components/Footer.vue
"
;
import
svg1
from
'
@/assets/img/signUp/icon.svg
'
;
import
svg1
from
'
@/assets/img/signUp/icon.svg
'
;
import
signUpList
from
'
../myInfo/signUp.vue
'
;
import
signUpList
from
'
../myInfo/signUp.vue
'
;
...
...
src/views/index/camp/Index.vue
View file @
264c2466
...
@@ -50,8 +50,9 @@
...
@@ -50,8 +50,9 @@
</
template
>
</
template
>
<div
class=
"camp_right"
ref=
"rightBox"
>
<div
class=
"camp_right"
ref=
"rightBox"
>
<div
@
click=
"backArrow()"
class=
"back-arrow"
>
<!--<div @click="backArrow()" class="back-arrow cursor">
<i
class=
"el-icon-arrow-left"
/>
<i class="el-icon-arrow-left"/>-->
<div
class=
"back-arrow"
>
{{$store.state.info.name}}
{{$store.state.info.name}}
</div>
</div>
...
@@ -345,6 +346,9 @@
...
@@ -345,6 +346,9 @@
&
:hover
{
&
:hover
{
color
:
var
(
--
color
);
color
:
var
(
--
color
);
}
&
.cursor
{
cursor
:
pointer
;
cursor
:
pointer
;
}
}
...
...
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