|
@@ -297,7 +297,7 @@
|
|
<div class="dssc-upload-thumb">
|
|
<div class="dssc-upload-thumb">
|
|
<p>
|
|
<p>
|
|
<img onclick='openPhoto("img_member_idcard_image2_url")'
|
|
<img onclick='openPhoto("img_member_idcard_image2_url")'
|
|
- src="{if $member_info['member_idcard_image2']!=''}{:get_member_idcard_image($member_info['member_idcard_image2'])}{else}{$Think.BASE_SITE_ROOT}/static/home/images/member_idcard_image2.png{/if}"
|
|
|
|
|
|
+ src="{$Think.BASE_SITE_ROOT}/static/home/images/member_idcard_image2.png"
|
|
id="img_member_idcard_image2_url"/>
|
|
id="img_member_idcard_image2_url"/>
|
|
</p>
|
|
</p>
|
|
{if !in_array($member_info.member_auth_state,array(1,3))}<a
|
|
{if !in_array($member_info.member_auth_state,array(1,3))}<a
|
|
@@ -330,7 +330,7 @@
|
|
<div class="dssc-upload-thumb">
|
|
<div class="dssc-upload-thumb">
|
|
<p>
|
|
<p>
|
|
<img onclick='openPhoto("img_member_idcard_image3_url")'
|
|
<img onclick='openPhoto("img_member_idcard_image3_url")'
|
|
- src="{if $member_info['member_idcard_image3']!=''}{:get_member_idcard_image($member_info['member_idcard_image3'])}{else}{$Think.BASE_SITE_ROOT}/static/home/images/member_idcard_image3.png{/if}"
|
|
|
|
|
|
+ src="{$Think.BASE_SITE_ROOT}/static/home/images/member_idcard_image3.png"
|
|
id="img_member_idcard_image3_url"/>
|
|
id="img_member_idcard_image3_url"/>
|
|
</p>
|
|
</p>
|
|
{if !in_array($member_info.member_auth_state,array(1,3))}<a
|
|
{if !in_array($member_info.member_auth_state,array(1,3))}<a
|
|
@@ -609,10 +609,10 @@ $(document).ready(function(){
|
|
function ajaxFileUpload(url, id)
|
|
function ajaxFileUpload(url, id)
|
|
{
|
|
{
|
|
var index=id.substr(0,20)
|
|
var index=id.substr(0,20)
|
|
- if($('#'+index).val()){
|
|
|
|
- layer.alert('{$Think.lang.please_drop_image}');
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
|
|
+ // if($('#'+index).val()){
|
|
|
|
+ // layer.alert('{$Think.lang.please_drop_image}');
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
$.ajaxFileUpload({
|
|
$.ajaxFileUpload({
|
|
url: url,
|
|
url: url,
|
|
secureuri: false,
|
|
secureuri: false,
|
|
@@ -635,7 +635,7 @@ $(document).ready(function(){
|
|
})
|
|
})
|
|
}
|
|
}
|
|
$(document).ready(function () {
|
|
$(document).ready(function () {
|
|
- var url = '{:url("MemberAuth/image_upload")}';
|
|
|
|
|
|
+ var url = '{:url("MemberAuth/image_upload2")}';
|
|
$('#form_company_info').find('input[type="file"]').unbind().change(function () {
|
|
$('#form_company_info').find('input[type="file"]').unbind().change(function () {
|
|
var id = $(this).attr('id');
|
|
var id = $(this).attr('id');
|
|
ajaxFileUpload(url, id);
|
|
ajaxFileUpload(url, id);
|