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

'附件'

parent 4389dbf8
...@@ -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: 12px; 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%;*/
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;
......
...@@ -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;
......
...@@ -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
......
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