|
|
@@ -85,11 +85,10 @@
|
|
|
bottom: 15px;
|
|
|
background: rgba(0,0,0,.5);
|
|
|
z-index: 10;
|
|
|
- display: block;
|
|
|
+ display: none;
|
|
|
}
|
|
|
.realAuth .logoImg:hover .hover-show{
|
|
|
- top: 0;
|
|
|
- z-index: 10;
|
|
|
+ display: block;
|
|
|
}
|
|
|
.realAuth .hover-show .delete{
|
|
|
position: absolute;
|
|
|
@@ -125,6 +124,20 @@
|
|
|
margin-right: 5px;
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
+ .realAuth .pre-img {
|
|
|
+ width: 117px;
|
|
|
+ height: 117px;
|
|
|
+ margin: 19px auto 0;
|
|
|
+ }
|
|
|
+ .realAuth .pre-img img {
|
|
|
+ width: 117px;
|
|
|
+ height: 117px;
|
|
|
+ }
|
|
|
+ .logoImg {
|
|
|
+ width: 117px;
|
|
|
+ height: 117px;
|
|
|
+ margin: 0 auto;
|
|
|
+ }
|
|
|
</style>
|
|
|
<div class="modal-header">
|
|
|
<img src="static/img/user/images/realAuth.png" alt="">
|
|
|
@@ -164,9 +177,12 @@
|
|
|
<div class="upload-area">
|
|
|
<div class="area-header">请上传一张本人手持身份证照片:</div>
|
|
|
<input type="hidden" name="idImgUrl" ng-model="user.idImgUrl"/>
|
|
|
- <div>
|
|
|
- <div image-upload data-src="static/img/vendor/images/upload.png" on-success="onUploadID($data)"></div>
|
|
|
+ <div class="logoImg">
|
|
|
+ <div ng-if="!user.idImgUrl||user.idImgUrl==''" image-upload data-src="static/img/vendor/images/upload.png" on-success="onUploadID($data)"></div>
|
|
|
<!--<span class="help-block font-size-12 text-inverse">建议图片大小在3M以内,支持图片格式jpg、png、gif</span>-->
|
|
|
+ <div ng-if="user.idImgUrl&&user.idImgUrl!=''" class="pre-img">
|
|
|
+ <img ng-src="{{user.idImgUrl}}" alt="">
|
|
|
+ </div>
|
|
|
<div class="hover-show" ng-if="user.idImgUrl&&user.idImgUrl!=''">
|
|
|
<span class="delete" title="删除" ng-click="deleteImg()"><i class="fa fa-trash" ng-click="deleteImg()"></i></span>
|
|
|
<span class="view" ng-click="showImg(user.idImgUrl)"><i class="fa fa-search" style="margin-right: 5px;"></i>查看</span>
|