Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
sso-equity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3215e507
authored
Dec 02, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改提交商品样式
1 parent
6ccef2ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
95 additions
and
4 deletions
src/views/goods/addGoods.vue
src/views/goods/addGoods.vue
View file @
3215e50
<
template
>
<div
class=
"
container
"
>
<div
class=
"
layout"
>
<div
class=
"
equity-wrap
"
>
<div
class=
"
equity-wrap contain"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"150px"
size=
"medium"
:key=
"resetTime"
>
<div
class=
"box"
>
<!--
<back
/>
-->
...
...
@@ -106,6 +106,16 @@
</div>
</el-form>
</div>
<div
class=
"footer-panel"
:style=
"{
left: footerLeft + 'px',
width: footerWidth + 'px'
}"
>
<el-button
type=
"primary"
@
click=
"onSubmit('save')"
size=
"small"
>
创建
</el-button>
<el-button
type=
"primary"
@
click=
"$router.go(-1)"
size=
"small"
>
取消
</el-button>
</div>
</div>
</template>
...
...
@@ -213,6 +223,9 @@ export default {
}
},
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
getListWithPageOutGoods
()
console
.
log
(
this
.
$route
)
let
id
=
this
.
$route
.
query
.
id
...
...
@@ -411,9 +424,22 @@ export default {
}
}
}
// <style src="@a/css/tao.css"></style>
</
script
>
<
style
src=
"@a/css/tao.css"
></
style
>
<
style
scoped
>
<
style
lang=
"scss"
scoped
>
.footer-panel
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
position
:
fixed
;
width
:
100%
;
bottom
:
0px
;
height
:
64px
;
background
:
#ffffff
;
z-index
:
999
;
box-shadow
:
0px
-1px
1px
0px
rgba
(
88
,
80
,
255
,
0.1
);
}
.uploader-del-icon
{
position
:
absolute
;
width
:
28px
;
...
...
@@ -424,4 +450,69 @@ export default {
top
:
0px
;
right
:
-28px
;
}
.box
.title
{
padding
:
20px
0
;
font-weight
:
700
;
}
.box
.el-form-item
{
width
:
500px
;
}
.box
.el-form-item
.el-input-group__prepend
,
.box
.el-form-item
.el-input-group__append
{
background-color
:
transparent
;
border
:
none
;
}
.box
.el-form-item
.el-input--suffix
.el-input__inner
{
padding-right
:
45px
;
}
.box
.el-form-item
.el-input__suffix
{
right
:
20px
;
}
.box
.editor
{
width
:
800px
;
}
.box
.avatar-uploader
{
border
:
1px
dashed
#d9d9d9
;
border-radius
:
6px
;
cursor
:
pointer
;
position
:
relative
;
width
:
148px
;
height
:
148px
;
}
.box
.avatar-uploader-file
{
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
opacity
:
0
;
}
.box
.avatar-uploader
:hover
{
border-color
:
#409EFF
;
}
.box
.avatar-uploader-icon
{
font-size
:
28px
;
color
:
#8c939d
;
width
:
148px
;
height
:
148px
;
line-height
:
148px
;
text-align
:
center
;
}
.box
.avatar
{
width
:
148px
;
height
:
148px
;
display
:
block
;
}
</
style
>
Write
Preview
Markdown
is supported
Attach a file
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 post a comment