You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
3.6 KiB
88 lines
3.6 KiB
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>{$menu.menu_seo_title|default=$site_seo_title} {$site_name}</title>
|
|
<meta name="keywords" content="{$menu.menu_seo_key|default=$site_seo_keywords}" />
|
|
<meta name="description" content="{$menu.menu_seo_des|default=$site_seo_description}">
|
|
{include file="public:head" /}
|
|
</head>
|
|
<body class="home">
|
|
<div class="wrap">
|
|
{include file="public:nav" /}
|
|
<!--banner开始-->
|
|
<div class="detailsbanner"></div>
|
|
<!--banner结束-->
|
|
<!--body开始-->
|
|
<div class="content bodymb">
|
|
<div class="basictop modef1">
|
|
<form class="form-horizontal ajaxForm2" id="formcodeinfo" name="formcodeinfo" method="post" action="{:url('home/Listn/tsjf')}" enctype='multipart/form-data'>
|
|
<input type="hidden" name="apply_id" id="apply_id" value="{$apply_id}" />
|
|
<input type="hidden" name="codetype" id="codetype" value="{$baseinfo.codetype}" />
|
|
<div class="basiccon">
|
|
<div class="modeub numbercon modeac">
|
|
<div class="numberlogoleft">上传缴费证明</div>
|
|
<div class="numbericon modeub modeac modepc" >
|
|
{if(!empty($cult4apply.pay_img))}
|
|
<div class="companyheader logobackimg" style="background-image: url({$cult4apply.pay_img});"> </div>
|
|
{/if}
|
|
{if(empty($cult4apply.pay_img))}
|
|
<div class="numberno" >暂无</div>
|
|
{/if}
|
|
</div>
|
|
<div class="headeright">
|
|
<div class="headerightdes">jpg、png、gif 格式图片 100*100px</div>
|
|
<input name="filelogo" type="file" id="filelogo" accept="image/png,image/jpeg,image/gif" class="file col-xs-6 col-sm-6" data-show-preview="false" data-show-upload="false" data-show-caption="true">
|
|
<button class="headerightbun modeub modeac modepc" type="submit" name="btnf6" value="SUBUPLOAD"><i class="ace-icon fa fa-check bigger-110"></i>上传</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<!--body结束-->
|
|
<!--footer开始-->
|
|
|
|
<!--有疑问请点我结束-->
|
|
<!--右侧悬浮窗口开始-->
|
|
</div>
|
|
{include file="public:footer"/}
|
|
{include file="public:scripts"/}
|
|
<script>
|
|
/* 通用表单不带检查操作,失败跳转 */
|
|
$(function () {
|
|
$('.ajaxForm2').ajaxForm({
|
|
success: complete, // 这是提交后的方法
|
|
dataType: 'json'
|
|
});
|
|
$("#filelogo").change(function(e){
|
|
if(e.currentTarget.files.length!=0) {
|
|
if (e.currentTarget.files[0].size > (20 * 1024 * 1024)) {
|
|
layer.msg('图片超过20M', {icon: 5, time: 3000});
|
|
$(this).val('');
|
|
return false;
|
|
}
|
|
}
|
|
});
|
|
});
|
|
//失败跳转
|
|
function complete(data) {
|
|
if (data.code == 1) {
|
|
layer.alert(data.msg, {icon: 6}, function (index) {
|
|
layer.close(index);
|
|
window.location.href = data.url;
|
|
});
|
|
} else {
|
|
layer.alert(data.msg, {icon: 5}, function (index) {
|
|
layer.close(index);
|
|
window.location.href = data.url;
|
|
});
|
|
return false;
|
|
}
|
|
}
|
|
</script>
|
|
<!--右侧悬浮窗口结束-->
|
|
</body>
|
|
</html>
|