Commit 9d251116 authored by 李晓兵's avatar 李晓兵

'附件'

parent 4389dbf8
......@@ -306,7 +306,7 @@
</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" >
</div>
</div>
......@@ -1585,7 +1585,10 @@ export default {
padding-bottom: 8px;
height: auto;
background-color: #fff;
margin-bottom: 15px;
margin-bottom: 10px;
display: flex;
flex-direction: column;
span {
color: #656464;
font-size: 13px;
......@@ -1595,34 +1598,46 @@ export default {
margin-left: 16px;
}
.img-content {
display: flex;
/*display: flex;
flex-flow: row wrap;
justify-content: flex-start;
align-items: center;*/
}
.plus{
display: flex;
justify-content: center;
align-items: center;
}
.card-upload {
width: 88px;
height: 88px;
position: relative;
width: 80px;
height: 80px;
border: 1px dashed #dcdcdd;
display: flex;
/* display: flex;
justify-content: center;
align-items: center;
align-items: center;*/
margin-top: 12px;
margin-left: 12px;
margin-left: 16px;
float: left;
.close {
position: relative;
color: #f96f68;
/* position: relative;
color: #F96F68;
margin-top: -100%;
margin-left: -10%;
img {
margin-left: -10%;*/
position: absolute;
color: #F96F68;
top: -6px;
right: -6px;
img{
width: 14px;
height: 14px;
}
}
img {
width: 88px;
height: 88px;
/*width: 88px;
height: 88px;*/
width: 100%;
height: 100%;
}
.upload-btn {
width: 24px;
......
......@@ -394,7 +394,7 @@
</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">
</div>
</div>
......@@ -2102,6 +2102,9 @@ export default {
background-color: #fff;
margin-bottom: 10px;
display: flex;
flex-direction: column;
span {
color: #656464;
font-size: 13px;
......@@ -2112,35 +2115,46 @@ export default {
}
.img-content {
display: flex;
/* display: flex;
flex-flow: row wrap;
justify-content: flex-start;
align-items: center;*/
}
.plus{
display: flex;
justify-content: center;
align-items: center;
}
.card-upload {
position: relative;
width: 80px;
height: 80px;
border: 1px dashed #dcdcdd;
display: flex;
/* display: flex;
justify-content: center;
align-items: center;
align-items: center;*/
margin-top: 12px;
margin-left: 16px;
float: left;
.close {
position: relative;
/* position: relative;
color: #F96F68;
margin-top: -100%;
margin-left: -10%;
margin-left: -10%;*/
position: absolute;
color: #F96F68;
top: -6px;
right: -6px;
img{
width: 14px;
height: 14px;
}
}
img {
width: 88px;
height: 88px;
/*width: 88px;
height: 88px;*/
width: 100%;
height: 100%;
}
.upload-btn{
width: 24px;
......
......@@ -388,7 +388,7 @@ export default {
'filePath': path,
}
if(file.fileName){
options.fileName = file.fileName + name.substr(name.lastIndexOf('.'))
options.fileName = encodeURI(file.fileName) + name.substr(name.lastIndexOf('.'))
}
else{
options.fileName = name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment