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
f9a92509
Commit
f9a92509
authored
Sep 01, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新页面的提交
parent
11f7c78a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3870 additions
and
0 deletions
+3870
-0
directorGoodsEdit.vue
src/components/director/directorGoodsEdit.vue
+2658
-0
directorGoodsList.vue
src/components/director/directorGoodsList.vue
+948
-0
directorIndex.vue
src/components/director/directorIndex.vue
+244
-0
index.js
src/router/index.js
+20
-0
No files found.
src/components/director/directorGoodsEdit.vue
0 → 100644
View file @
f9a92509
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/components/director/directorGoodsList.vue
0 → 100644
View file @
f9a92509
This diff is collapsed.
Click to expand it.
src/components/director/directorIndex.vue
0 → 100644
View file @
f9a92509
<
style
>
.directorIndex
{
height
:
100%
;
display
:
flex
;
-webkit-box-orient
:
horizontal
;
-ms-flex-direction
:
row
;
flex-direction
:
row
;
-webkit-box-flex
:
1
;
-ms-flex
:
1
;
flex
:
1
;
-ms-flex-preferred-size
:
auto
;
flex-basis
:
auto
;
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
;
min-width
:
0
;
font-size
:
14px
;
}
.directorIndex
.mainLeftMenu
{
position
:
relative
;
display
:
flex
;
flex-direction
:
row
;
color
:
#fff
;
}
.directorIndex
.leftMenu1
{
background
:
#444444
;
cursor
:
pointer
;
width
:
200px
;
height
:
100%
;
overflow-y
:
auto
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
;
}
.directorIndex
.asideInner
{
background
:
rgba
(
0
,
0
,
0
,
0.15
);
padding
:
6px
6px
;
width
:
100%
;
border-radius
:
3px
;
font-weight
:
bold
;
}
.directorIndex
.F_Logo
{
height
:
60px
;
background
:
#464d54
;
color
:
#f2f2f2
;
cursor
:
pointer
;
font-weight
:
bold
;
text-align
:
center
;
padding
:
0
15px
;
display
:
flex
;
align-items
:
center
;
}
.directorIndex
.mainRightContent
{
width
:
100%
;
height
:
100%
;
background-color
:
#f3f3f3
;
}
.directorIndex
.mainRightTop
{
width
:
100%
;
height
:
60px
;
background
:
#fff
;
display
:
flex
;
justify-content
:
space-between
;
color
:
#909399
;
}
.directorIndex
.mainRightLeft
{
width
:
110px
;
height
:
60px
;
line-height
:
62px
;
text-align
:
center
;
margin-left
:
30px
;
cursor
:
pointer
;
position
:
relative
;
top
:
-2px
;
}
.directorIndex
.marinRightList
{
display
:
flex
;
flex-wrap
:
wrap
;
align-items
:
center
;
width
:
300px
;
float
:
right
;
}
.directorIndex
.marinRightList
ul
{
display
:
flex
;
width
:
100%
;
justify-content
:
space-around
;
}
.directorIndex
.marinRightList
ul
li
{
display
:
block
;
list-style-type
:
none
;
cursor
:
pointer
;
color
:
#909399
;
outline
:
none
;
border
:
none
;
}
.directorIndex
.main_routerPage
{
padding
:
20px
;
overflow-y
:
scroll
;
}
.directorIndex
.FsettingUU
{
position
:
fixed
;
width
:
200px
;
height
:
100%
;
position
:
fixed
;
top
:
60px
;
left
:
0
;
overflow
:
auto
;
z-index
:
5
;
background-color
:
rgb
(
84
,
92
,
100
);
}
.directorIndex
.FsettingUU
.menu_item
{
font-size
:
14px
;
color
:
#303133
;
padding
:
0
20px
;
cursor
:
pointer
;
-webkit-transition
:
border-color
.3s
,
background-color
.3s
,
color
.3s
;
transition
:
border-color
.3s
,
background-color
.3s
,
color
.3s
;
box-sizing
:
border-box
;
height
:
56px
;
line-height
:
56px
;
list-style
:
none
;
white-space
:
nowrap
;
color
:
#fff
;
display
:
flex
;
align-items
:
center
;
}
.directorIndex
.FsettingUU
.menu_item
i
{
margin-right
:
5px
;
width
:
24px
;
text-align
:
center
;
font-size
:
18px
;
vertical-align
:
middle
;
color
:
#909399
;
}
.directorIndex
.menu_item
:hover
{
background-color
:
rgba
(
67
,
74
,
80
,
0
);
}
.directorIndex
.F_Logo
:hover
{
background-color
:
#30353a
;
color
:
#fff
;
}
.directorIndex
.Fchecked
{
color
:
rgb
(
255
,
208
,
75
)
!important
;
}
.directorIndex
.Fchecked
i
{
color
:
rgb
(
255
,
208
,
75
)
!important
;
}
</
style
>
<
template
>
<div
class=
"directorIndex"
>
<div
class=
"mainLeftMenu"
>
<div
class=
"leftMenu1"
>
<div
class=
"F_Logo"
>
<div
class=
"asideInner"
@
click=
"CommonJump('mallIndex')"
>
{{
currentUser
.
MallName
}}
</div>
</div>
<ul
class=
"FsettingUU"
>
<li
class=
"menu_item"
:class=
"
{'Fchecked':isChecked=='/directorGoodsList'}" @click="isChecked='/directorGoodsList',CommonJump('directorGoodsList')">
<i
class=
"el-icon-menu"
></i><span>
产品列表
</span>
</li>
</ul>
</div>
</div>
<div
class=
"mainRightContent"
>
<div
class=
"mainRightTop"
>
<div
class=
"mainRightLeft"
>
司导专区
</div>
<div
class=
"marinRightList"
>
<ul>
<li
style=
"display:none"
>
缓存
</li>
<li
style=
"display:none"
>
title="教程管理">
<el-dropdown
trigger=
"click"
>
<span
class=
"el-dropdown-link"
>
教程管理
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</span>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item>
操作教程
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</li>
<li
:title=
"currentUser.MallName"
>
<el-dropdown
trigger=
"click"
>
<span
class=
"el-dropdown-link"
>
{{
currentUser
.
MallName
}}
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</span>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
disabled
>
{{
currentUser
.
MallName
}}
</el-dropdown-item>
<el-dropdown-item
disabled
>
{{
currentUser
.
Account
}}
(
{{
currentUser
.
MobilePhone
}}
)
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"CommonJump('index')"
>
返回系统
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</li>
</ul>
</div>
</div>
<div
class=
"main_routerPage"
:style=
"
{height: Height+'px'}">
<router-view
/>
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
currentUser
:
{},
isChecked
:
''
,
Height
:
0
,
ERPEmpId
:
0
,
};
},
created
()
{
this
.
currentUser
=
this
.
getLocalStorage
();
this
.
ERPEmpId
=
this
.
currentUser
.
ERPEmpId
this
.
isChecked
=
this
.
$route
.
path
;
if
(
this
.
$route
.
query
.
FIndex
){
this
.
CommonJump
(
'directorGoodsList'
);
this
.
isChecked
=
'/directorGoodsList'
}
},
methods
:
{
},
mounted
()
{
this
.
Height
=
document
.
documentElement
.
clientHeight
-
60
;
//监听浏览器窗口变化
window
.
onresize
=
()
=>
{
this
.
Height
=
document
.
documentElement
.
clientHeight
-
60
}
}
};
</
script
>
src/router/index.js
View file @
f9a92509
...
...
@@ -162,6 +162,26 @@ export default new Router({
]
},
{
path
:
'/directorIndex'
,
//司导专区
name
:
'directorIndex'
,
component
:
resolve
=>
require
([
'@/components/director/directorIndex'
],
resolve
),
children
:
[
//司导专区 产品列表
{
path
:
'/directorGoodsList'
,
name
:
'directorGoodsList'
,
component
:
resolve
=>
require
([
'@/components/director/directorGoodsList'
],
resolve
),
},
//司导专区 商品修改和新增
{
path
:
'/directorGoodsEdit'
,
name
:
'directorGoodsEdit'
,
component
:
resolve
=>
require
([
'@/components/director/directorGoodsEdit'
],
resolve
),
},
]
},
{
path
:
'/mall'
,
name
:
'mall'
,
...
...
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