From aeafb44b8ae492dd1a1d17ae12be1aae286634af Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Tue, 19 Nov 2024 17:06:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E7=9A=84?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E8=BA=AB=E4=BB=BD=E8=AF=81=E6=AD=A3=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/view/shop/local_store/edit.html | 29 ----------------------- 1 file changed, 29 deletions(-) diff --git a/app/admin/view/shop/local_store/edit.html b/app/admin/view/shop/local_store/edit.html index 4c275aa8..451252e3 100755 --- a/app/admin/view/shop/local_store/edit.html +++ b/app/admin/view/shop/local_store/edit.html @@ -653,35 +653,6 @@ } }); - // 上传身份证正面 - var uploadInst = likeupload.render({ - elem: '#id-front' //绑定元素 - ,url: "{:url('shop.LocalStore/uploadImage')}" //上传接口 - ,accept: 'images' - ,data: {type: 'id_card'} - ,exts: "jpg|png|jpeg" - ,before: function(obj){ //obj参数包含的信息,跟 choose回调完全一致,可参见上文。 - layer.load(); //上传loading - } - ,done: function(res, index, upload){ - if (res.code === 1) { - var template = '
'; - template += 'img'; - template += '
x
'; - $("#id-front").parent().before(template) - - $("input[name='idFront']").val(res.data.file) - } else { - layer.msg('上传错误'); - return false; - } - layer.closeAll('loading'); //关闭loading - } - ,error: function(index, upload){ - layer.closeAll('loading'); //关闭loading - } - }); - // 上传身份证反面 var uploadInst = likeupload.render({ elem: '#id-back' //绑定元素