Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
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
黄媛媛
ElectricitySheep
Commits
421f58cc
Commit
421f58cc
authored
Apr 23, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
e3b04df6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
49 deletions
+12
-49
mall.vue
src/components/mall.vue
+12
-49
No files found.
src/components/mall.vue
View file @
421f58cc
...
...
@@ -282,67 +282,27 @@
<div
class=
"asideInner"
>
{{
currentUser
.
MallName
}}
</div>
</div>
<ul>
<li
class=
"menu-item"
@
mouseover=
"mouseOver"
>
<i
class=
"iconfont icon-dianpuguanli"
></i>
<div
class=
"vue-line-clamp"
>
店铺管理
</div>
</li>
<li
class=
"menu-item"
@
mouseover=
"mouseOver"
>
<i
class=
"iconfont icon-shangpinguanli"
></i>
<div
class=
"vue-line-clamp"
>
商品管理
</div>
</li>
<li
class=
"menu-item"
@
mouseover=
"mouseOver"
>
<i
class=
"iconfont icon-dingdanguanli"
></i>
<div
class=
"vue-line-clamp"
>
订单管理
</div>
</li>
<li
class=
"menu-item"
@
mouseover=
"mouseOver"
>
<i
class=
"iconfont icon-yonghuguanli"
></i>
<div
class=
"vue-line-clamp"
>
用户管理
</div>
</li>
<li
class=
"menu-item"
@
mouseover=
"mouseOver"
>
<i
class=
"iconfont icon-shujutongji"
></i>
<div
class=
"vue-line-clamp"
>
数据统计
</div>
</li>
<li
class=
"menu-item"
@
mouseover=
"mouseOver"
>
<img
src=
"../assets/img/plugins.png"
/>
<div
class=
"vue-line-clamp"
>
营销中心
</div>
</li>
<li
class=
"menu-item"
@
mouseover=
"mouseOver"
>
<i
class=
"iconfont icon-shezhi"
></i>
<div
class=
"vue-line-clamp"
>
设置
</div>
<li
class=
"menu-item"
@
mouseover=
"mouseOver(item)"
v-for=
"(item,index) in MenuList"
:key=
"index"
>
<i
class=
"iconfont"
:class=
"item.IconClass"
></i>
<div
class=
"vue-line-clamp"
>
{{
item
.
MenuName
}}
</div>
</li>
</ul>
</div>
<div
class=
"leftMenu2"
v-if=
"showTwo"
>
<div
class=
"is-show-menu-1"
@
click=
"hideTwo()"
>
<<</div>
<div
class=
"menu-item-2-title"
>
店铺管理
{{
secondList
.
MenuName
}}
</div>
<div>
<el-menu
:default-active=
"defaultActive"
:unique-opened=
"true"
class=
"el-menu-vertical-demo"
>
<el-submenu
index=
"1
"
>
<el-submenu
:index=
"childIndex"
v-for=
"(childItem,childIndex) in secondList.SubList"
:key=
"childIndex
"
>
<template
slot=
"title"
>
<span>
店铺设计
</span>
<span>
{{
childItem
.
MenuName
}}
</span>
</
template
>
<el-menu-item-group>
<el-menu-item
index=
"1-1
"
>
<div
class=
"isaa"
:class=
"defaultActive=='1-1'?'isActive':''"
>
轮播图
</div>
<el-menu-item
:index=
"childIndex-thirdIndex"
v-for=
"(thirdChild,thirdIndex) in childItem.ThirdList"
:key=
"thirdIndex
"
>
<div
class=
"isaa"
:class=
"defaultActive=='1-1'?'isActive':''"
>
{{thirdChild.MenuName}}
</div>
</el-menu-item>
<el-menu-item
index=
"1-2"
>
<div
class=
"isaa"
:class=
"defaultActive=='1-2'?'isActive':''"
>
导航图标
</div>
</el-menu-item>
<el-menu-item
index=
"1-3"
>
商城风格
</el-menu-item>
<el-menu-item
index=
"1-4"
>
图片魔方
</el-menu-item>
</el-menu-item-group>
</el-submenu>
<el-submenu
index=
"2"
>
<
template
slot=
"title"
>
<span>
店铺设计
</span>
</
template
>
<el-menu-item-group>
<el-menu-item
index=
"2-1"
>
轮播图
</el-menu-item>
<el-menu-item
index=
"2-2"
>
导航图标
</el-menu-item>
<el-menu-item
index=
"2-3"
>
商城风格
</el-menu-item>
<el-menu-item
index=
"2-4"
>
图片魔方
</el-menu-item>
</el-menu-item-group>
</el-submenu>
</el-menu>
...
...
@@ -397,6 +357,7 @@
currentUser
:
{},
Height
:
0
,
MenuList
:
[],
//菜单列表
secondList
:{},
};
},
created
()
{
...
...
@@ -420,9 +381,11 @@
this
.
isShowOne
=
true
;
},
//鼠标移入
mouseOver
()
{
mouseOver
(
item
)
{
this
.
showTwo
=
true
;
this
.
isShowOne
=
false
;
this
.
secondList
=
item
;
console
.
log
(
item
,
'item'
);
},
//菜单点击
clickMenu
(
item
){
...
...
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