Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
52ec3bfc
Commit
52ec3bfc
authored
May 18, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
1b7c3b76
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
9 deletions
+14
-9
Details.vue
src/components/Details.vue
+14
-9
No files found.
src/components/Details.vue
View file @
52ec3bfc
<
style
>
@import
"../assets/css/Details.css"
;
</
style
>
<
template
>
<div
class=
"flexDiv"
>
<div
class=
"secondMenu"
:class=
"
{'big':!isCollapse}">
<div
class=
"secondMenu_l"
>
<div
class=
"menuItem"
>
<el-menu
default-active=
"1"
:background-color=
"!isRed?'#282733':'#FBFBFB'"
:text-color=
"!isRed?'#a3ace0':'#787A7D'"
:active-text-color=
"!isRed?'#FFFFFF':'#33B3FF'"
<el-menu
default-active=
"1"
:background-color=
"!isRed?'#282733':'#FBFBFB'"
:text-color=
"!isRed?'#a3ace0':'#787A7D'"
:active-text-color=
"!isRed?'#FFFFFF':'#33B3FF'"
:collapse=
"isCollapse"
>
<el-submenu
v-for=
"(item,index) in items"
:index=
"String(index+1)"
:key=
'index'
>
<template
slot=
"title"
class=
"left-nav"
>
...
...
@@ -24,7 +26,7 @@
</el-menu>
</div>
</div>
<div
class=
"extender"
v-if=
"isRed"
@
click=
"changeMenuShowType"
>
<div
class=
"extender"
v-if=
"isRed"
@
click=
"changeMenuShowType"
>
<img
src=
"../assets/img/extends.png"
:class=
"{'close-extend':isCollapse}"
/>
</div>
</div>
...
...
@@ -105,7 +107,7 @@
navWidth
:
0
,
//加密id
EnCodeWord
:
''
,
isRed
:
true
isRed
:
true
};
},
components
:
{
...
...
@@ -153,8 +155,8 @@
},
mounted
()
{
this
.
openMode
=
0
if
(
localStorage
.
navsot
)
{
this
.
isCollapse
=
localStorage
.
navsot
==
'a'
if
(
localStorage
.
navsot
)
{
this
.
isCollapse
=
localStorage
.
navsot
==
'a'
}
if
(
localStorage
.
openMode
&&
localStorage
.
openMode
==
1
)
this
.
openMode
=
1
...
...
@@ -181,15 +183,15 @@
}
else
{
this
.
goUrl
(
'/'
+
hrefs
[
hrefs
.
length
-
1
])
}
this
.
isRed
=
(
this
.
getLocalStorage
().
ThemeType
?
this
.
getLocalStorage
().
ThemeType
:
0
)
==
1
this
.
isRed
=
(
this
.
getLocalStorage
().
ThemeType
?
this
.
getLocalStorage
().
ThemeType
:
0
)
==
1
},
methods
:
{
nullMethod
()
{
},
changeMenuShowType
(){
this
.
isCollapse
=
!
this
.
isCollapse
;
localStorage
.
navsot
=
this
.
isCollapse
?
'a'
:
'b'
changeMenuShowType
()
{
this
.
isCollapse
=
!
this
.
isCollapse
;
localStorage
.
navsot
=
this
.
isCollapse
?
'a'
:
'b'
},
referPage
()
{
this
.
currentTabName
=
this
.
tabs
[
this
.
currentRightIndex
].
name
+
'_'
+
this
.
currentRightIndex
...
...
@@ -403,6 +405,9 @@
case
"/HotelInfo"
:
//酒店基本信息新增修改
path
=
"/HotelManagement"
;
break
;
case
"/GnHotelInfo"
:
//国内酒店
path
=
"/GnHotelManagement"
;
break
;
case
"/HotelProductManage"
:
//酒店房型
path
=
"/HotelManagement"
;
break
;
...
...
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