Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1ddd292d
authored
May 11, 2021
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
x
parent
75a984de
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
60 additions
and
5 deletions
src/assets/css/list/list.less
src/assets/css/list/list.min.css
src/assets/css/public/common.less
src/assets/css/public/common.min.css
src/views/Store/list.vue
src/assets/css/list/list.less
View file @
1ddd292d
...
@@ -17,4 +17,35 @@
...
@@ -17,4 +17,35 @@
background: #0050E0;
background: #0050E0;
}
}
}
}
.btn-nav{
.update{
width: 66px;
height: 26px;
line-height: 26px;
text-align: center;
background: #FF870D;
border: 1px solid #FF870D;
border-radius: 2px;
color:#fff;
font-size: 14px;
cursor: pointer;
i{margin-left: 3px;}
}
.dcg{
width: 66px;
height: 26px;
border-radius: 2px;
text-align: center;
line-height: 26px;
border: 1px solid #1969F9;
color:#1969F9;
margin-left: 10px;
font-size: 14px;
&:hover{
background: #F1F8FF;
cursor: pointer;
}
}
}
}
}
\ No newline at end of file
src/assets/css/list/list.min.css
View file @
1ddd292d
.store-con
{
background
:
#FFFFFF
;
border-radius
:
4px
;
border
:
1px
solid
#E5EBF6
;
padding
:
20px
}
.store-con
.search-btn
{
cursor
:
pointer
;
width
:
76px
;
height
:
36px
;
line-height
:
36px
;
background
:
#1969F9
;
border-radius
:
2px
;
font-size
:
14px
;
color
:
#fff
;
text-align
:
center
}
.store-con
.search-btn
:hover
{
background
:
#0050E0
}
.store-con
{
background
:
#FFFFFF
;
border-radius
:
4px
;
border
:
1px
solid
#E5EBF6
;
padding
:
20px
}
.store-con
.search-btn
{
cursor
:
pointer
;
width
:
76px
;
height
:
36px
;
line-height
:
36px
;
background
:
#1969F9
;
border-radius
:
2px
;
font-size
:
14px
;
color
:
#fff
;
text-align
:
center
}
.store-con
.search-btn
:hover
{
background
:
#0050E0
}
.store-con
.btn-nav
.update
{
width
:
66px
;
height
:
26px
;
line-height
:
26px
;
text-align
:
center
;
background
:
#FF870D
;
border
:
1px
solid
#FF870D
;
border-radius
:
2px
;
color
:
#fff
;
font-size
:
14px
;
cursor
:
pointer
}
.store-con
.btn-nav
.update
i
{
margin-left
:
3px
}
.store-con
.btn-nav
.dcg
{
width
:
66px
;
height
:
26px
;
border-radius
:
2px
;
text-align
:
center
;
line-height
:
26px
;
border
:
1px
solid
#1969F9
;
color
:
#1969F9
;
margin-left
:
10px
;
font-size
:
14px
}
.store-con
.btn-nav
.dcg
:hover
{
background
:
#F1F8FF
;
cursor
:
pointer
}
\ No newline at end of file
\ No newline at end of file
src/assets/css/public/common.less
View file @
1ddd292d
...
@@ -14,6 +14,7 @@ html, body {
...
@@ -14,6 +14,7 @@ html, body {
font-style: normal;
font-style: normal;
-webkit-font-smoothing: antialiased;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-moz-osx-font-smoothing: grayscale;
font-size: 14px;
}
}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, menu, nav, section {
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, menu, nav, section {
...
...
src/assets/css/public/common.min.css
View file @
1ddd292d
html
{
-webkit-text-size-adjust
:
100%
;
-ms-text-size-adjust
:
100%
}
html
*
{
outline
:
0
;
-webkit-text-size-adjust
:
none
!important
;
-webkit-tap-highlight-color
:
rgba
(
0
,
0
,
0
,
0
)
!important
}
html
,
body
{
font-family
:
PingFangSC-Regular
,
PingFang
SC
,
'Microsoft Yahei'
,
sans-serif
;
font-style
:
normal
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
}
body
,
div
,
dl
,
dt
,
dd
,
ul
,
ol
,
li
,
h1
,
h2
,
h3
,
h4
,
h5
,
h6
,
pre
,
code
,
form
,
fieldset
,
legend
,
input
,
textarea
,
p
,
blockquote
,
th
,
td
,
hr
,
button
,
article
,
aside
,
details
,
figcaption
,
figure
,
footer
,
header
,
menu
,
nav
,
section
{
margin
:
0
;
padding
:
0
}
button
,
input
,
select
,
textarea
{
font-size
:
100%
;
border
:
none
;
-webkit-appearance
:
none
}
input
[
type
=
button
],
input
[
type
=
file
],
input
[
type
=
submit
]
{
cursor
:
pointer
}
table
{
border-collapse
:
collapse
;
border-spacing
:
0
}
ol
,
ul
,
dl
{
list-style
:
none
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
font-size
:
100%
;
font-weight
:
500
}
em
,
b
,
i
{
font-style
:
normal
}
a
{
text-decoration
:
none
}
img
{
border
:
none
}
.clr
{
*
zoom
:
1
;
clear
:
both
}
.clr
:after
{
content
:
"."
;
clear
:
both
;
height
:
0
;
visibility
:
hidden
;
display
:
block
}
.fl
{
float
:
left
;
_display
:
inline
}
.fr
{
float
:
right
;
_display
:
inline
}
.va-t
{
vertical-align
:
top
}
.va-m
{
vertical-align
:
middle
}
.va-b
{
vertical-align
:
bottom
}
.lineBlock
{
display
:
inline-block
;
*
display
:
inline
;
zoom
:
1
;
letter-spacing
:
normal
;
word-spacing
:
normal
}
.lbBox
{
font-size
:
0
!important
;
*
word-spacing
:
-1px
!important
}
.emptys
{
margin-left
:
-1px
;
width
:
1px
;
height
:
100%
;
font-size
:
0
;
vertical-align
:
middle
}
.boxsiz
{
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
}
.column
{
display
:
flex
;
flex-direction
:
column
}
.row
{
display
:
flex
;
flex-direction
:
row
}
.bothSide
{
justify-content
:
space-between
}
.avarage
{
justify-content
:
space-around
}
.rowCenter
{
justify-content
:
center
}
.verCenter
{
align-items
:
center
}
.boxFlex
{
-webkit-box-flex
:
1
;
-moz-box-flex
:
1
;
-webkit-flex
:
1
;
-ms-flex
:
1
;
flex
:
1
}
html
,
body
{
width
:
100%
;
height
:
100%
;
-webkit-overflow-scrolling
:
touch
}
body
{
overflow-x
:
hidden
;
background
:
#F1F4FA
}
.pagex
{
padding
:
20px
}
.pagex
.el-input__inner
{
height
:
38px
;
border-radius
:
2px
;
border
:
1px
solid
#BEC9DF
;
font-size
:
14px
}
.pagex
.el-input__inner
:focus
{
border
:
1px
solid
#387FFF
}
.pagex
.el-form-item__label
{
color
:
#666
}
.pagex
.el-range-editor.el-input__inner
{
width
:
257px
}
.pagex
.el-select
.el-input.is-focus
.el-input__inner
,
.pagex
.el-range-editor.is-active
,
.pagex
.el-range-editor.is-active
:hover
{
border-color
:
#387FFF
}
.pagex
.el-select
{
width
:
100px
}
.pagex
.el-form--inline
.el-form-item
{
margin-right
:
30px
}
.pagex
.el-message--info
{
min-width
:
auto
!important
;
border
:
0px
!important
;
background
:
rgba
(
0
,
0
,
0
,
0.4
)
!important
}
.pagex
.el-message--info
.el-icon-info
{
display
:
none
}
.pagex
.el-message--info
.el-message__content
{
color
:
#fff
!important
}
html
{
-webkit-text-size-adjust
:
100%
;
-ms-text-size-adjust
:
100%
}
html
*
{
outline
:
0
;
-webkit-text-size-adjust
:
none
!important
;
-webkit-tap-highlight-color
:
rgba
(
0
,
0
,
0
,
0
)
!important
}
html
,
body
{
font-family
:
PingFangSC-Regular
,
PingFang
SC
,
'Microsoft Yahei'
,
sans-serif
;
font-style
:
normal
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
font-size
:
14px
}
body
,
div
,
dl
,
dt
,
dd
,
ul
,
ol
,
li
,
h1
,
h2
,
h3
,
h4
,
h5
,
h6
,
pre
,
code
,
form
,
fieldset
,
legend
,
input
,
textarea
,
p
,
blockquote
,
th
,
td
,
hr
,
button
,
article
,
aside
,
details
,
figcaption
,
figure
,
footer
,
header
,
menu
,
nav
,
section
{
margin
:
0
;
padding
:
0
}
button
,
input
,
select
,
textarea
{
font-size
:
100%
;
border
:
none
;
-webkit-appearance
:
none
}
input
[
type
=
button
],
input
[
type
=
file
],
input
[
type
=
submit
]
{
cursor
:
pointer
}
table
{
border-collapse
:
collapse
;
border-spacing
:
0
}
ol
,
ul
,
dl
{
list-style
:
none
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
font-size
:
100%
;
font-weight
:
500
}
em
,
b
,
i
{
font-style
:
normal
}
a
{
text-decoration
:
none
}
img
{
border
:
none
}
.clr
{
*
zoom
:
1
;
clear
:
both
}
.clr
:after
{
content
:
"."
;
clear
:
both
;
height
:
0
;
visibility
:
hidden
;
display
:
block
}
.fl
{
float
:
left
;
_display
:
inline
}
.fr
{
float
:
right
;
_display
:
inline
}
.va-t
{
vertical-align
:
top
}
.va-m
{
vertical-align
:
middle
}
.va-b
{
vertical-align
:
bottom
}
.lineBlock
{
display
:
inline-block
;
*
display
:
inline
;
zoom
:
1
;
letter-spacing
:
normal
;
word-spacing
:
normal
}
.lbBox
{
font-size
:
0
!important
;
*
word-spacing
:
-1px
!important
}
.emptys
{
margin-left
:
-1px
;
width
:
1px
;
height
:
100%
;
font-size
:
0
;
vertical-align
:
middle
}
.boxsiz
{
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
}
.column
{
display
:
flex
;
flex-direction
:
column
}
.row
{
display
:
flex
;
flex-direction
:
row
}
.bothSide
{
justify-content
:
space-between
}
.avarage
{
justify-content
:
space-around
}
.rowCenter
{
justify-content
:
center
}
.verCenter
{
align-items
:
center
}
.boxFlex
{
-webkit-box-flex
:
1
;
-moz-box-flex
:
1
;
-webkit-flex
:
1
;
-ms-flex
:
1
;
flex
:
1
}
html
,
body
{
width
:
100%
;
height
:
100%
;
-webkit-overflow-scrolling
:
touch
}
body
{
overflow-x
:
hidden
;
background
:
#F1F4FA
}
.pagex
{
padding
:
20px
}
.pagex
.el-input__inner
{
height
:
38px
;
border-radius
:
2px
;
border
:
1px
solid
#BEC9DF
;
font-size
:
14px
}
.pagex
.el-input__inner
:focus
{
border
:
1px
solid
#387FFF
}
.pagex
.el-form-item__label
{
color
:
#666
}
.pagex
.el-range-editor.el-input__inner
{
width
:
257px
}
.pagex
.el-select
.el-input.is-focus
.el-input__inner
,
.pagex
.el-range-editor.is-active
,
.pagex
.el-range-editor.is-active
:hover
{
border-color
:
#387FFF
}
.pagex
.el-select
{
width
:
100px
}
.pagex
.el-form--inline
.el-form-item
{
margin-right
:
30px
}
.pagex
.el-message--info
{
min-width
:
auto
!important
;
border
:
0px
!important
;
background
:
rgba
(
0
,
0
,
0
,
0.4
)
!important
}
.pagex
.el-message--info
.el-icon-info
{
display
:
none
}
.pagex
.el-message--info
.el-message__content
{
color
:
#fff
!important
}
\ No newline at end of file
\ No newline at end of file
src/views/Store/list.vue
View file @
1ddd292d
...
@@ -28,7 +28,22 @@
...
@@ -28,7 +28,22 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
class=
"btn-nav clr"
>
<div
class=
"fl"
>
<el-dropdown
@
command=
"handleCommand"
>
<div
class=
"update"
>
修改
|
<i
class=
"el-icon-arrow-down"
></i></div>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
command=
"1"
>
修改库存
</el-dropdown-item>
<el-dropdown-item
command=
"2"
>
修改交期
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
<div
class=
"fl dcg"
>
导出
</div>
<div
class=
"fl dcg"
>
上架
</div>
<div
class=
"fl dcg"
>
下架
</div>
</div>
</div>
</div>
<Menu
/>
<Menu
/>
</div>
</div>
...
@@ -46,9 +61,13 @@
...
@@ -46,9 +61,13 @@
Input
,
Input
,
DatePicker
,
DatePicker
,
Button
,
Button
,
Icon
,
Dropdown
,
DropdownMenu
,
DropdownItem
,
Message
Message
}
from
'element-ui'
}
from
'element-ui'
Vue
.
use
(
Button
).
use
(
Form
).
use
(
Select
).
use
(
Option
).
use
(
Input
).
use
(
FormItem
).
use
(
DatePicker
)
Vue
.
use
(
Button
).
use
(
Form
).
use
(
Select
).
use
(
Option
).
use
(
Input
).
use
(
FormItem
).
use
(
DatePicker
)
.
use
(
Icon
).
use
(
Dropdown
).
use
(
DropdownMenu
).
use
(
DropdownItem
)
export
default
{
export
default
{
name
:
"list"
,
name
:
"list"
,
...
@@ -84,6 +103,9 @@
...
@@ -84,6 +103,9 @@
})
})
},
},
handleCommand
(
command
){
console
.
log
(
command
)
},
onSubmit
()
{
onSubmit
()
{
console
.
log
(
'submit!'
);
console
.
log
(
'submit!'
);
}
}
...
...
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