|
@@ -76,7 +76,7 @@
|
|
|
<div style="padding: 10px 0;display:flex;flex-wrap:wrap;">
|
|
|
@foreach($info['certificates'] as $k => $v)
|
|
|
<div style="padding:10px;width:25%;">
|
|
|
- <img class="attchment" data-name="{{$v->response->filename}}" data-src="{{ $v->response->path }}" src="{{ $v->response->path }}" />
|
|
|
+ <img class="attchment" data-name="{{$v->response->filename}}" src="{{ $v->response->path }}" />
|
|
|
<p>{{$v->response->filename}}</p>
|
|
|
</div>
|
|
|
@endforeach
|
|
@@ -110,7 +110,7 @@
|
|
|
<div style="padding: 10px 0;display:flex;flex-wrap:wrap;">
|
|
|
@foreach($info['marry_prove'] as $k => $v)
|
|
|
<div style="padding:10px;width:25%;">
|
|
|
- <img class="attchment" data-key="{{$k}}" data-name="marry_prove" data-src="{{ $v->response->path }}" src="{{ $v->response->path }}" />
|
|
|
+ <img class="attchment" data-key="{{$k}}" data-name="marry_prove" src="{{ $v->response->path }}" />
|
|
|
<p>{{$v->response->filename}}</p>
|
|
|
</div>
|
|
|
@endforeach
|
|
@@ -127,7 +127,7 @@
|
|
|
<div style="padding: 10px 0;display:flex;flex-wrap:wrap;">
|
|
|
@foreach($info['household_register'] as $k => $v)
|
|
|
<div style="padding:10px;width:25%;">
|
|
|
- <img class="attchment" data-key="{{$k}}" data-name="household_register" data-src="{{ $v->response->path }}" src="{{ $v->response->path }}" />
|
|
|
+ <img class="attchment" data-key="{{$k}}" data-name="household_register" src="{{ $v->response->path }}" />
|
|
|
<p>{{$v->response->filename}}</p>
|
|
|
</div>
|
|
|
@endforeach
|
|
@@ -195,7 +195,7 @@
|
|
|
<div style="padding: 10px 0;display:flex;flex-wrap:wrap;">
|
|
|
@foreach($info['work_prove'] as $k => $v)
|
|
|
<div style="padding:10px;width:25%;">
|
|
|
- <img class="attchment" data-key="{{$k}}" data-name="work_prove" data-src="{{ $v->response->path }}" src="{{ $v->response->path }}" />
|
|
|
+ <img class="attchment" data-key="{{$k}}" data-name="work_prove" src="{{ $v->response->path }}" />
|
|
|
<p>{{$v->response->filename}}</p>
|
|
|
</div>
|
|
|
@endforeach
|
|
@@ -350,7 +350,7 @@
|
|
|
});
|
|
|
|
|
|
$('.attchment').click(function(){
|
|
|
- let src = encodeURI($(this).data('src'));
|
|
|
+ let src = encodeURI($(this).attr('src'));
|
|
|
let title = $(this).data('name');
|
|
|
layer.open({
|
|
|
type: 2 //此处以iframe举例
|