Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dcxy-manage-shell
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
姜雷
dcxy-manage-shell
Commits
6ec82312
Commit
6ec82312
authored
Aug 16, 2019
by
duanaijun
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into 'test'
增加会员类型培训用户 See merge request
!182
parents
1783eefb
107ab6e7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
2 deletions
+25
-2
README.md
README.md
+4
-0
index.js
src/config/index.js
+1
-0
MenuItem.vue
src/containers/layout/IconMenu/components/MenuItem.vue
+20
-2
No files found.
README.md
View file @
6ec82312
# 多彩校园综合项目
内含多个子项目
`customerManage`
,
`baseManage`
,
`systemManage`
,
`operateManage`
,
`statisticsManage`
,
`deviceManage`
,
`smaproManage`
.
# 运维替换文件
打包分别有 3 种模式
...
...
src/config/index.js
View file @
6ec82312
...
...
@@ -24,6 +24,7 @@ export const customerTypesOptions = [
{
label
:
'社区领导'
,
value
:
'5'
},
{
label
:
'学校领导'
,
value
:
'6'
},
{
label
:
'单位领导'
,
value
:
'7'
},
{
label
:
'培训人员'
,
value
:
'8'
}
];
export
const
customerSexOptions
=
[
...
...
src/containers/layout/IconMenu/components/MenuItem.vue
View file @
6ec82312
...
...
@@ -17,7 +17,7 @@
<div
class=
"IconMenu-name"
>
{{
menuName
}}
</div>
</div>
<div
:class=
"
`SubmenuBox $
{showSubMenus?'show':''}`
"
:class=
"
{SubmenuBox: true, show: showSubMenus, scroll: needScroll}
"
:style="style"
v-if="menuList
&&
menuList.length"
>
...
...
@@ -78,6 +78,7 @@
<
script
>
import
LikeIcon
from
'./LikeIcon'
;
let
timers
=
null
;
export
default
{
name
:
'MenuItem'
,
components
:
{
LikeIcon
},
...
...
@@ -101,6 +102,7 @@ export default {
data
()
{
return
{
showSubMenus
:
false
,
needScroll
:
false
,
style
:
''
,
};
},
...
...
@@ -123,6 +125,19 @@ export default {
methods
:
{
toggleSubmenus
(
visiable
)
{
this
.
showSubMenus
=
visiable
;
if
(
visiable
)
{
// this.$nextTick(() => {
// });
timers
=
setTimeout
(()
=>
{
this
.
needScroll
=
visiable
;
},
280
);
}
else
{
if
(
timers
)
{
clearTimeout
(
timers
);
timers
=
null
;
}
this
.
needScroll
=
visiable
;
}
},
selectHandle
()
{
if
(
typeof
this
.
selectRouteMenu
===
'function'
)
{
...
...
@@ -173,9 +188,12 @@ export default {
transition
:
all
0
.28s
ease-in-out
;
overflow
:
hidden
;
&
.show
{
max-height
:
10
00px
;
max-height
:
6
00px
;
height
:
auto
;
}
&
.scroll
{
overflow-y
:
auto
;
}
.Submenu-title
{
width
:
560px
;
height
:
30px
;
...
...
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