Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
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
xugong
hls-xcmg-vue-app
Commits
9d251116
Commit
9d251116
authored
Nov 19, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'附件'
parent
4389dbf8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
54 additions
and
25 deletions
+54
-25
naturePerson.vue
src/pages/userBind/np/naturePerson.vue
+30
-15
enterprise.vue
src/pages/userBind/org/enterprise.vue
+23
-9
hlsUtil.js
src/scripts/hlsUtil.js
+1
-1
No files found.
src/pages/userBind/np/naturePerson.vue
View file @
9d251116
...
@@ -306,7 +306,7 @@
...
@@ -306,7 +306,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"card-upload"
@
click=
"imgUploadShow(list.description,list.check_id)"
>
<div
class=
"card-upload
plus
"
@
click=
"imgUploadShow(list.description,list.check_id)"
>
<img
src=
"@/assets/userBind/camera.png"
class=
"upload-btn"
>
<img
src=
"@/assets/userBind/camera.png"
class=
"upload-btn"
>
</div>
</div>
</div>
</div>
...
@@ -1585,7 +1585,10 @@ export default {
...
@@ -1585,7 +1585,10 @@ export default {
padding-bottom: 8px;
padding-bottom: 8px;
height: auto;
height: auto;
background-color: #fff;
background-color: #fff;
margin-bottom: 15px;
margin-bottom: 10px;
display: flex;
flex-direction: column;
span {
span {
color: #656464;
color: #656464;
font-size: 13px;
font-size: 13px;
...
@@ -1595,34 +1598,46 @@ export default {
...
@@ -1595,34 +1598,46 @@ export default {
margin-left: 16px;
margin-left: 16px;
}
}
.img-content {
.img-content {
display: flex;
/*
display: flex;
flex-flow: row wrap;
flex-flow: row wrap;
justify-content: flex-start;
justify-content: flex-start;
align-items: center;*/
}
.plus{
display: flex;
justify-content: center;
align-items: center;
align-items: center;
}
}
.card-upload {
.card-upload {
width: 88px;
position: relative;
height: 88px;
width: 80px;
height: 80px;
border: 1px dashed #dcdcdd;
border: 1px dashed #dcdcdd;
display: flex;
/*
display: flex;
justify-content: center;
justify-content: center;
align-items: center;
align-items: center;*/
margin-top: 12px;
margin-top: 12px;
margin-left: 1
2
px;
margin-left: 1
6
px;
float: left;
float: left;
.close {
.close {
position: relative;
/*
position: relative;
color: #
f96f
68;
color: #
F96F
68;
margin-top: -100%;
margin-top: -100%;
margin-left: -10%;
margin-left: -10%;*/
img {
position: absolute;
color: #F96F68;
top: -6px;
right: -6px;
img{
width: 14px;
width: 14px;
height: 14px;
height: 14px;
}
}
}
}
img {
img {
width: 88px;
/*width: 88px;
height: 88px;
height: 88px;*/
width: 100%;
height: 100%;
}
}
.upload-btn {
.upload-btn {
width: 24px;
width: 24px;
...
...
src/pages/userBind/org/enterprise.vue
View file @
9d251116
...
@@ -394,7 +394,7 @@
...
@@ -394,7 +394,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"card-upload"
@
click=
"imgUploadShow(list.description,list.check_id)"
>
<div
class=
"card-upload
plus
"
@
click=
"imgUploadShow(list.description,list.check_id)"
>
<img
src=
"@/assets/userBind/camera.png"
class=
"upload-btn"
>
<img
src=
"@/assets/userBind/camera.png"
class=
"upload-btn"
>
</div>
</div>
</div>
</div>
...
@@ -2102,6 +2102,9 @@ export default {
...
@@ -2102,6 +2102,9 @@ export default {
background-color: #fff;
background-color: #fff;
margin-bottom: 10px;
margin-bottom: 10px;
display: flex;
flex-direction: column;
span {
span {
color: #656464;
color: #656464;
font-size: 13px;
font-size: 13px;
...
@@ -2112,35 +2115,46 @@ export default {
...
@@ -2112,35 +2115,46 @@ export default {
}
}
.img-content {
.img-content {
display: flex;
/*
display: flex;
flex-flow: row wrap;
flex-flow: row wrap;
justify-content: flex-start;
justify-content: flex-start;
align-items: center;*/
}
.plus{
display: flex;
justify-content: center;
align-items: center;
align-items: center;
}
}
.card-upload {
.card-upload {
position: relative;
width: 80px;
width: 80px;
height: 80px;
height: 80px;
border: 1px dashed #dcdcdd;
border: 1px dashed #dcdcdd;
display: flex;
/*
display: flex;
justify-content: center;
justify-content: center;
align-items: center;
align-items: center;
*/
margin-top: 12px;
margin-top: 12px;
margin-left: 16px;
margin-left: 16px;
float: left;
float: left;
.close {
.close {
position: relative;
/*
position: relative;
color: #F96F68;
color: #F96F68;
margin-top: -100%;
margin-top: -100%;
margin-left: -10%;
margin-left: -10%;*/
position: absolute;
color: #F96F68;
top: -6px;
right: -6px;
img{
img{
width: 14px;
width: 14px;
height: 14px;
height: 14px;
}
}
}
}
img {
img {
width: 88px;
/*width: 88px;
height: 88px;
height: 88px;*/
width: 100%;
height: 100%;
}
}
.upload-btn{
.upload-btn{
width: 24px;
width: 24px;
...
...
src/scripts/hlsUtil.js
View file @
9d251116
...
@@ -388,7 +388,7 @@ export default {
...
@@ -388,7 +388,7 @@ export default {
'filePath'
:
path
,
'filePath'
:
path
,
}
}
if
(
file
.
fileName
){
if
(
file
.
fileName
){
options
.
fileName
=
file
.
fileName
+
name
.
substr
(
name
.
lastIndexOf
(
'.'
))
options
.
fileName
=
encodeURI
(
file
.
fileName
)
+
name
.
substr
(
name
.
lastIndexOf
(
'.'
))
}
}
else
{
else
{
options
.
fileName
=
name
options
.
fileName
=
name
...
...
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