135 lines
31 KiB
PHP
Executable File
135 lines
31 KiB
PHP
Executable File
<?php /*a:4:{s:77:"/www/wwwroot/app.cxhxy.dev.1nww.com/app/applet/view/wxapp/register/wxapp.html";i:1700552721;s:70:"/www/wwwroot/app.cxhxy.dev.1nww.com/app/applet/view/layout/layout.html";i:1700552721;s:54:"../addons/upload/view/template/tpl_file_item_path.html";i:1700552721;s:48:"../addons/upload/view/template/file_library.html";i:1700552721;}*/ ?>
|
||
<!DOCTYPE html>
|
||
|
||
<html lang="en">
|
||
|
||
<head>
|
||
|
||
<meta charset="utf-8" />
|
||
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||
|
||
<title>小程序管理中心 - <?php echo htmlentities($web['name']); ?></title>
|
||
|
||
<meta name="author" content="<?php echo htmlentities($web['name']); ?>">
|
||
|
||
<meta name="keywords" content="<?php echo htmlentities($web['keywords']); ?>">
|
||
|
||
<meta name="description" content="<?php echo htmlentities($web['description']); ?>">
|
||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||
|
||
<meta name="referrer" content="origin-when-cross-origin">
|
||
|
||
<meta http-equiv="Cache-Control" content="no-siteapp" />
|
||
|
||
<link rel="icon" href="/favicon.png" type="image/x-icon">
|
||
|
||
<link rel="stylesheet" href="/assets/plugins/amazeui/amazeui.css?v=<?php echo htmlentities($version); ?>" />
|
||
|
||
<link rel="stylesheet" href="/assets/css/hema.app.css?v=<?php echo htmlentities($version); ?>" />
|
||
|
||
<link rel="stylesheet" href="/addons/upload/css/file.library.css?v=<?php echo htmlentities($version); ?>" />
|
||
|
||
<script src="/assets/plugins/jquery/jquery.min.js?v=<?php echo htmlentities($version); ?>"></script>
|
||
|
||
<link rel="stylesheet" href="/assets/plugins/iconfont/iconfont.css?v=<?php echo htmlentities($version); ?>">
|
||
|
||
<script src="/assets/plugins/iconfont/iconfont.js?v=<?php echo htmlentities($version); ?>"></script>
|
||
|
||
<script>
|
||
|
||
BASE_URL = "<?php echo isset($base_url) ? $base_url : ''; ?>";
|
||
|
||
STORE_URL = "<?php echo isset($store_url) ? $store_url : ''; ?>";
|
||
|
||
USER_ID = "<?php echo isset($user_id) ? $user_id : 0; ?>";
|
||
|
||
</script>
|
||
|
||
</head>
|
||
|
||
<body data-type="">
|
||
|
||
<div class="am-g tpl-g">
|
||
|
||
<!-- 头部 -->
|
||
|
||
<header class="tpl-header">
|
||
|
||
<!-- 右侧内容 -->
|
||
|
||
<div class="tpl-header-fluid">
|
||
<!-- 侧边切换 -->
|
||
<div class="am-fl tpl-header-button switch-button"> <i class="iconfont iconzhedie"></i> </div>
|
||
<!-- 刷新页面 -->
|
||
<div class="am-fl tpl-header-button refresh-button"> <i class="iconfont iconshuaxin"></i> </div>
|
||
<!-- 超链接-->
|
||
<div class="am-fl tpl-header-navbar">
|
||
<ul>
|
||
<li class="am-text-sm">
|
||
<a href="/user"> <i class="iconfont am-icon-user"></i> 用户中心 </a>
|
||
</li>
|
||
</ul>
|
||
|
||
</div>
|
||
<!-- 其它功能-->
|
||
<div class="am-fr tpl-header-navbar">
|
||
<ul>
|
||
<li class="am-text-sm">
|
||
<div class="am-dropdown" data-am-dropdown="{boundary: '.am-topbar'}">
|
||
<div class="am-topbar-btn am-dropdown-toggle" data-am-dropdown-toggle>
|
||
<img src="<?php echo htmlentities($user['user']['avatar']); ?>" />
|
||
<?php echo htmlentities($user['user']['user_name']); ?>
|
||
<span class="am-icon-caret-down"></span>
|
||
</div>
|
||
<ul class="am-dropdown-content">
|
||
<li><a href="<?php echo url('passport/logout'); ?>">安全退出</a></li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
|
||
</header> <!-- 侧边导航栏 -->
|
||
|
||
<div class="left-sidebar dis-flex"> <?php $menus = $menus ?: []; $group = $group ?: 0; $second = isset($menus[$group]['submenu']) ? $menus[$group]['submenu'] : []?>
|
||
|
||
<!-- 一级菜单 -->
|
||
|
||
<ul class="sidebar-nav">
|
||
|
||
<li class="sidebar-nav-heading">小程序设置</li> <?php foreach($menus
|
||
|
||
as $key=>$item): ?> <li class="sidebar-nav-link"> <a
|
||
|
||
href="<?php echo isset($item['index']) ? url($item['index']) : 'javascript:void(0);'; ?>"
|
||
|
||
class="<?php echo !empty($item['active']) ? 'active' : ''; ?>"> <?php if((isset($item['is_svg']) && ($item['is_svg'] == true))): ?>
|
||
|
||
<svg class="icon sidebar-nav-link-logo" aria-hidden="true">
|
||
|
||
<use xlink:href="#<?php echo htmlentities($item['icon']); ?>"></use>
|
||
|
||
</svg> <?php else: ?> <i class="iconfont sidebar-nav-link-logo <?php echo htmlentities($item['icon']); ?>"
|
||
|
||
style="{isset($item.color) ? 'color:'.$item.color.';' : '' }"></i> <?php endif; ?> <?php echo htmlentities($item['name']); ?>
|
||
|
||
</a> </li> <?php endforeach; ?>
|
||
|
||
</ul> <!-- 子级菜单--> <?php if((sizeof($second) > 0)): ?> <ul class="left-sidebar-second">
|
||
|
||
<li class="sidebar-second-title"><?php echo htmlentities($menus[$group]['name']); ?></li>
|
||
|
||
<li class="sidebar-second-item"> <?php foreach($second as $key=>$item): if((!isset($item['submenu']))): ?>
|
||
|
||
<!-- 二级菜单--> <a href="<?php echo url($item['index']); ?>" class="<?php echo !empty($item['active']) ? 'active' : ''; ?>">
|
||
|
||
<?php echo htmlentities($item['name']); ?> </a> <?php else: ?>
|
||
|
||
<!-- 三级菜单-->
|
||
|
||
<div class="sidebar-third-item"> <a href="javascript:void(0);"
|
||
|
||
class="sidebar-nav-sub-title <?php echo !empty($item['active']) ? 'active' : ''; ?>"> <i
|
||
|
||
class="iconfont icongengduo"></i> <?php echo htmlentities($item['name']); ?> </a>
|
||
|
||
<ul class="sidebar-third-nav-sub"> <?php foreach($item['submenu'] as $third): ?> <li> <a
|
||
|
||
class="<?php echo !empty($third['active']) ? 'active' : ''; ?>" href="<?php echo url($third['index']); ?>">
|
||
|
||
<?php echo htmlentities($third['name']); ?> </a> </li> <?php endforeach; ?> </ul>
|
||
|
||
</div> <?php endif; ?> <?php endforeach; ?>
|
||
|
||
</li>
|
||
|
||
</ul> <?php endif; ?>
|
||
|
||
</div> <!-- 内容区域 start -->
|
||
|
||
<div class="tpl-content-wrapper <?php echo sizeof($second) == 0 ? 'no-sidebar-second' : ''; ?>"> <div class="row-content am-cf">
|
||
|
||
<div class="row">
|
||
|
||
<div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
|
||
|
||
<div class="widget am-cf">
|
||
<div class="widget-head am-cf">
|
||
|
||
<div class="widget-title am-cf">注册微信小程序</div>
|
||
|
||
</div>
|
||
<form id="my-form" class="am-form tpl-form-line-form" enctype="multipart/form-data" method="post">
|
||
|
||
<div class="widget-body">
|
||
|
||
<?php if(isset($model['apply_status'])): ?>
|
||
|
||
<div class="tips am-margin-bottom-sm am-u-sm-12">
|
||
|
||
<?php if($model['apply_status']['value'] ==10): ?>
|
||
|
||
<div class="pre-warning"><p> 提示:资料审核中,有问题会给您电话联系</p></div>
|
||
|
||
<?php endif; if($model['apply_status']['value'] ==20): ?>
|
||
|
||
<div class="pre-info"><p> 提示:资料验证中,请在您微信中完成实名验证</p></div>
|
||
|
||
<?php endif; if($model['apply_status']['value'] ==30): ?>
|
||
|
||
<div class="pre-success"><p> 提示:申请已通过,您已注册成功</p></div>
|
||
|
||
<?php endif; if($model['apply_status']['value'] ==40): ?>
|
||
|
||
<div class="pre-error">
|
||
|
||
<p> 提示:申请被驳回,请按要求修改后提交</p>
|
||
|
||
<p>驳回原因:<?php echo htmlentities($model['reject']); ?></p>
|
||
|
||
</div>
|
||
|
||
<?php endif; ?>
|
||
|
||
</div>
|
||
|
||
<?php endif; ?>
|
||
|
||
<input type="hidden" name="data[business_code]" value="<?php echo isset($model['business_code'])?$model['business_code']:''; ?>">
|
||
|
||
<input type="hidden" name="data[apply_mode]" value="10">
|
||
|
||
<fieldset>
|
||
|
||
<section data-am-widget="accordion" class="am-accordion am-accordion-basic">
|
||
|
||
<dl class="am-accordion-item am-active">
|
||
|
||
<dt class="am-accordion-title" style="padding-bottom:20px;">
|
||
|
||
营业执照信息
|
||
|
||
</dt>
|
||
|
||
<dd class="am-accordion-bd am-collapse am-in">
|
||
|
||
<div class="am-form-group">
|
||
|
||
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">营业执照类型 </label>
|
||
|
||
<div class="am-u-sm-9 am-u-end">
|
||
|
||
<label class="am-radio-inline">
|
||
|
||
<input type="radio" name="data[details][subject_type]" value="SUBJECT_TYPE_INDIVIDUAL" data-am-ucheck
|
||
|
||
<?php echo $model['details']['subject_type']=='SUBJECT_TYPE_INDIVIDUAL' ? 'checked' : ''; ?> >
|
||
|
||
个体工商户
|
||
|
||
</label>
|
||
|
||
<label class="am-radio-inline">
|
||
|
||
<input type="radio" name="data[details][subject_type]" value="SUBJECT_TYPE_ENTERPRISE" data-am-ucheck
|
||
|
||
<?php echo $model['details']['subject_type']=='SUBJECT_TYPE_ENTERPRISE' ? 'checked' : ''; ?> >
|
||
|
||
公司企业
|
||
|
||
</label>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="am-form-group">
|
||
|
||
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">营业执照 </label>
|
||
|
||
<div class="am-u-sm-9 am-u-end">
|
||
|
||
<div class="am-form-file">
|
||
|
||
<?php if(!isset($model['apply_status']) or (isset($model['apply_status']) and $model['apply_status']['value'] == 40)): ?>
|
||
|
||
<button type="button" class="upload-file-license-copy am-btn am-btn-secondary am-radius am-btn-sm">
|
||
|
||
<i class="am-icon-cloud-upload" style="color:#fff"></i>选择图片
|
||
|
||
</button>
|
||
<?php endif; ?>
|
||
|
||
<div class="uploader-list am-cf">
|
||
|
||
<?php if(!empty($model['details']['license_copy']['value'])): ?>
|
||
|
||
<div class="file-item">
|
||
|
||
<a href="<?php echo htmlentities($model['details']['license_copy']['url']); ?>" title="点击查看大图" target="_blank">
|
||
|
||
<img src="<?php echo htmlentities($model['details']['license_copy']['url']); ?>">
|
||
|
||
</a>
|
||
|
||
<input type="hidden" name="data[details][license_copy]"
|
||
|
||
value="<?php echo htmlentities($model['details']['license_copy']['value']); ?>">
|
||
|
||
</div>
|
||
|
||
<?php endif; ?>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="help-block am-margin-top-sm">
|
||
|
||
<small>大小2M以下</small>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="am-form-group">
|
||
|
||
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">统一社会信用代码 </label>
|
||
|
||
<div class="am-u-sm-9 am-u-end">
|
||
|
||
<input type="text" class="tpl-form-input"
|
||
|
||
name="data[details][license_number]" value="<?php echo htmlentities($model['details']['license_number']); ?>" required>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="am-form-group">
|
||
|
||
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">营业执照名称 </label>
|
||
|
||
<div class="am-u-sm-9 am-u-end">
|
||
|
||
<input type="text" class="tpl-form-input"
|
||
|
||
name="data[details][merchant_name]" value="<?php echo htmlentities($model['details']['merchant_name']); ?>" required>
|
||
|
||
<small>
|
||
|
||
个体营业执照名称如为空或为“无”,请填写"个体户+经营者姓名",如“个体户张三”
|
||
|
||
</small>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
</dd>
|
||
|
||
</dl>
|
||
|
||
<dl class="am-accordion-item am-active">
|
||
|
||
<dt class="am-accordion-title" style="padding-bottom:20px;">
|
||
|
||
经营者/法人信息
|
||
|
||
</dt>
|
||
|
||
<dd class="am-accordion-bd am-collapse am-in">
|
||
|
||
<div class="am-form-group">
|
||
|
||
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">身份证(正面) </label>
|
||
|
||
<div class="am-u-sm-9 am-u-end">
|
||
|
||
<div class="am-form-file">
|
||
|
||
<?php if(!isset($model['apply_status']) or (isset($model['apply_status']) and $model['apply_status']['value'] == 40)): ?>
|
||
|
||
<button type="button" class="upload-file-id-card-copy am-btn am-btn-secondary am-radius am-btn-sm">
|
||
|
||
<i class="am-icon-cloud-upload" style="color:#fff"></i>选择图片
|
||
|
||
</button>
|
||
<?php endif; ?>
|
||
|
||
<div class="uploader-list am-cf">
|
||
|
||
<?php if(!empty($model['details']['id_card_copy']['value'])): ?>
|
||
|
||
<div class="file-item">
|
||
|
||
<a href="<?php echo htmlentities($model['details']['id_card_copy']['url']); ?>" title="点击查看大图" target="_blank">
|
||
|
||
<img src="<?php echo htmlentities($model['details']['id_card_copy']['url']); ?>">
|
||
|
||
</a>
|
||
|
||
<input type="hidden" name="data[details][id_card_copy]"
|
||
|
||
value="<?php echo htmlentities($model['details']['id_card_copy']['value']); ?>">
|
||
|
||
</div>
|
||
|
||
<?php endif; ?>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="help-block am-margin-top-sm">
|
||
|
||
<small>身份证所有人必须跟营业执照法人(所有人)姓名一致。大小2M以下</small>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="am-form-group">
|
||
|
||
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">身份证(反面) </label>
|
||
|
||
<div class="am-u-sm-9 am-u-end">
|
||
|
||
<div class="am-form-file">
|
||
|
||
<?php if(!isset($model['apply_status']) or (isset($model['apply_status']) and $model['apply_status']['value'] == 40)): ?>
|
||
|
||
<button type="button" class="upload-file-id-card-national am-btn am-btn-secondary am-radius am-btn-sm">
|
||
|
||
<i class="am-icon-cloud-upload" style="color:#fff"></i>选择图片
|
||
|
||
</button>
|
||
<?php endif; ?>
|
||
|
||
<div class="uploader-list am-cf">
|
||
|
||
<?php if(!empty($model['details']['id_card_national']['value'])): ?>
|
||
|
||
<div class="file-item">
|
||
|
||
<a href="<?php echo htmlentities($model['details']['id_card_national']['url']); ?>" title="点击查看大图" target="_blank">
|
||
|
||
<img src="<?php echo htmlentities($model['details']['id_card_national']['url']); ?>">
|
||
|
||
</a>
|
||
|
||
<input type="hidden" name="data[details][id_card_national]"
|
||
|
||
value="<?php echo htmlentities($model['details']['id_card_national']['value']); ?>">
|
||
|
||
</div>
|
||
|
||
<?php endif; ?>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="help-block am-margin-top-sm">
|
||
|
||
<small>身份证所有人必须跟营业执照法人(所有人)姓名一致。大小2M以下</small>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="am-form-group">
|
||
|
||
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require"> 证件姓名 </label>
|
||
|
||
<div class="am-u-sm-9 am-u-end">
|
||
|
||
<input type="text" class="tpl-form-input"
|
||
|
||
name="data[details][id_card_name]" value="<?php echo htmlentities($model['details']['id_card_name']); ?>" required>
|
||
|
||
<small>身份证上面的姓名</small>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="am-form-group">
|
||
|
||
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require"> 证件号码 </label>
|
||
|
||
<div class="am-u-sm-9 am-u-end">
|
||
|
||
<input type="text" class="tpl-form-input"
|
||
|
||
name="data[details][id_card_number]" value="<?php echo htmlentities($model['details']['id_card_number']); ?>" required>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="am-form-group">
|
||
|
||
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require"> 居住地址 </label>
|
||
|
||
<div class="am-u-sm-9 am-u-end">
|
||
|
||
<input type="text" class="tpl-form-input"
|
||
|
||
name="data[details][id_card_address]" value="<?php echo htmlentities($model['details']['id_card_address']); ?>" required>
|
||
|
||
<small>身份证上面的居住地址</small>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="am-form-group">
|
||
|
||
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require"> 身份证有效期开始时间 </label>
|
||
|
||
<div class="am-u-sm-9 am-u-end">
|
||
|
||
<input type="text" class="tpl-form-input"
|
||
|
||
name="data[details][card_period_begin]" value="<?php echo htmlentities($model['details']['card_period_begin']); ?>" required>
|
||
|
||
<small>示例值:2026-06-06</small>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="am-form-group">
|
||
|
||
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require"> 身份证有效期结束时间 </label>
|
||
|
||
<div class="am-u-sm-9 am-u-end">
|
||
|
||
<input type="text" class="tpl-form-input"
|
||
|
||
name="data[details][card_period_end]" value="<?php echo htmlentities($model['details']['card_period_end']); ?>" required>
|
||
|
||
<small>示例值:2036-06-06</small>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="am-form-group">
|
||
|
||
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require"> 联系电话 </label>
|
||
|
||
<div class="am-u-sm-9 am-u-end">
|
||
|
||
<input type="text" class="tpl-form-input"
|
||
|
||
name="data[details][mobile_phone]" value="<?php echo htmlentities($model['details']['mobile_phone']); ?>" required>
|
||
|
||
<small>
|
||
|
||
请填写手机号,请确保电话畅通以便平台回拨确认
|
||
|
||
</small>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="am-form-group">
|
||
|
||
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require"> 微信号 </label>
|
||
|
||
<div class="am-u-sm-9 am-u-end">
|
||
|
||
<input type="text" class="tpl-form-input"
|
||
|
||
name="data[details][legal_persona_wechat]" value="<?php echo htmlentities($model['details']['legal_persona_wechat']); ?>" required>
|
||
|
||
<small>不是绑定的手机号!请打开微信->我的->点击头像->查看微信号<br>
|
||
|
||
微信必须实名认证,并与上面身份证姓名一致。</small>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
</dd>
|
||
|
||
</dl>
|
||
|
||
<?php if(!isset($model['apply_status']) or (isset($model['apply_status']) and $model['apply_status']['value'] == 40)): if($ability['applet_apply'] == 1): ?>
|
||
|
||
<div class="am-form-group">
|
||
|
||
<label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">平台审核 </label>
|
||
|
||
<div class="am-u-sm-9 am-u-end">
|
||
|
||
<label class="am-radio-inline">
|
||
|
||
<input type="radio" name="data[apply_status]" value="10" data-am-ucheck>
|
||
|
||
提交平台辅助申请
|
||
|
||
</label>
|
||
|
||
<label class="am-radio-inline">
|
||
|
||
<input type="radio" name="data[apply_status]" value="20" data-am-ucheck checked>
|
||
|
||
直接提交申请
|
||
|
||
</label>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<?php else: ?>
|
||
|
||
<input type="hidden" name="data[apply_status]" value="10">
|
||
|
||
<?php endif; ?>
|
||
|
||
<div class="am-modal am-modal-loading am-modal-no-btn" tabindex="-1" id="my-modal-loading">
|
||
|
||
</div>
|
||
|
||
<div class="am-form-group">
|
||
|
||
<div class="am-u-sm-9 am-u-sm-push-3 am-margin-top-lg">
|
||
|
||
<button type="submit" class="j-submit am-btn am-btn-secondary">提交</button>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<?php endif; ?>
|
||
|
||
</section>
|
||
|
||
</fieldset>
|
||
|
||
</div>
|
||
|
||
</form>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
<!-- 图片文件列表模板 -->
|
||
<script id="tpl-file-item" type="text/template">
|
||
|
||
{{ each list }}
|
||
|
||
<div class="file-item">
|
||
|
||
<a href="{{ $value.url }}" title="点击查看大图" target="_blank">
|
||
|
||
<img src="{{ $value.url }}">
|
||
|
||
</a>
|
||
|
||
<input type="hidden" name="{{ name }}" value="{{ $value.file_path }}">
|
||
|
||
<i class="iconfont iconshanchu file-item-delete"></i>
|
||
|
||
</div>
|
||
|
||
{{ /each }}
|
||
|
||
</script>
|
||
<!-- 文件库弹窗 -->
|
||
<!-- 文件库模板 -->
|
||
|
||
<script id="tpl-file-library" type="text/template">
|
||
|
||
<div class="row">
|
||
|
||
<div class="file-group">
|
||
|
||
<ul class="nav-new">
|
||
|
||
<li class="ng-scope {{ is_default ? 'active' : '' }}" data-group-id="0">
|
||
|
||
<a class="group-name am-text-truncate" href="javascript:void(0);" title="全部">全部</a>
|
||
|
||
</li>
|
||
|
||
<li class="ng-scope" data-group-id="-1">
|
||
|
||
<a class="group-name am-text-truncate" href="javascript:void(0);" title="未分组">未分组</a>
|
||
|
||
</li>
|
||
|
||
{{ each group_list }}
|
||
|
||
<li class="ng-scope"
|
||
|
||
data-group-id="{{ $value.group_id }}" title="{{ $value.group_name }}">
|
||
|
||
<a class="group-edit" href="javascript:void(0);" title="编辑分组">
|
||
|
||
<i class="iconfont iconbianji"></i>
|
||
|
||
</a>
|
||
|
||
<a class="group-name am-text-truncate" href="javascript:void(0);">
|
||
|
||
{{ $value.group_name }}
|
||
|
||
</a>
|
||
|
||
<a class="group-delete" href="javascript:void(0);" title="删除分组">
|
||
|
||
<i class="iconfont iconshanchu"></i>
|
||
|
||
</a>
|
||
|
||
</li>
|
||
|
||
{{ /each }}
|
||
|
||
</ul>
|
||
|
||
<a class="group-add" href="javascript:void(0);">新增分组</a>
|
||
|
||
</div>
|
||
|
||
<div class="file-list">
|
||
|
||
<div class="v-box-header am-cf">
|
||
|
||
<div class="h-left am-fl am-cf">
|
||
|
||
<div class="am-fl">
|
||
|
||
<div class="group-select am-dropdown">
|
||
|
||
<button type="button" class="am-btn am-btn-sm am-btn-secondary am-dropdown-toggle">
|
||
|
||
移动至 <span class="am-icon-caret-down"></span>
|
||
|
||
</button>
|
||
|
||
<ul class="group-list am-dropdown-content">
|
||
|
||
<li class="am-dropdown-header">请选择分组</li>
|
||
|
||
{{ each group_list }}
|
||
|
||
<li>
|
||
|
||
<a class="move-file-group" data-group-id="{{ $value.group_id }}"
|
||
|
||
href="javascript:void(0);">{{ $value.group_name }}</a>
|
||
|
||
</li>
|
||
|
||
{{ /each }}
|
||
|
||
</ul>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="am-fl file-library-operation">
|
||
|
||
<a href="javascript:void(0);" class="file-delete tpl-table-black-operation-del"
|
||
|
||
data-group-id="2">
|
||
|
||
<i class="am-icon-trash"></i> 删除
|
||
|
||
</a>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="h-rigth am-fr">
|
||
|
||
<div class="j-upload upload-image">
|
||
|
||
<i class="iconfont icontianjia"></i>
|
||
|
||
上传图片
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div id="file-list-body" class="v-box-body">
|
||
|
||
{{ include 'tpl-file-list' file_list }}
|
||
|
||
</div>
|
||
|
||
<div class="v-box-footer am-cf"></div>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
|
||
|
||
</script>
|
||
|
||
|
||
|
||
<!-- 文件列表模板 -->
|
||
|
||
<script id="tpl-file-list" type="text/template">
|
||
|
||
<ul class="file-list-item">
|
||
|
||
{{ include 'tpl-file-list-item' data }}
|
||
|
||
</ul>
|
||
|
||
{{ if last_page > 1 }}
|
||
|
||
<div class="file-page-box am-fr">
|
||
|
||
<ul class="pagination">
|
||
|
||
{{ if current_page > 1 }}
|
||
|
||
<li>
|
||
|
||
<a class="switch-page" href="javascript:void(0);" title="上一页" data-page="{{ current_page - 1 }}">«</a>
|
||
|
||
</li>
|
||
|
||
{{ /if }}
|
||
|
||
{{ if current_page < last_page }}
|
||
|
||
<li>
|
||
|
||
<a class="switch-page" href="javascript:void(0);" title="下一页" data-page="{{ current_page + 1 }}">»</a>
|
||
|
||
</li>
|
||
|
||
{{ /if }}
|
||
|
||
</ul>
|
||
|
||
</div>
|
||
|
||
{{ /if }}
|
||
|
||
</script>
|
||
|
||
|
||
|
||
<!-- 文件列表模板 -->
|
||
|
||
<script id="tpl-file-list-item" type="text/template">
|
||
|
||
{{ each $data }}
|
||
|
||
<li class="ng-scope" title="{{ $value.file_name }}" data-file-id="{{ $value.file_id }}"
|
||
|
||
data-url="{{ $value.url }}" data-file-path="{{ $value.file_path }}">
|
||
|
||
<div class="img-cover"
|
||
|
||
style="background-image: url('{{ $value.url }}')">
|
||
|
||
</div>
|
||
|
||
<p class="file-name am-text-center am-text-truncate">{{ $value.file_name }}</p>
|
||
|
||
<div class="select-mask">
|
||
|
||
<img src="/assets/img/chose.png">
|
||
|
||
</div>
|
||
|
||
</li>
|
||
|
||
{{ /each }}
|
||
|
||
</script>
|
||
|
||
|
||
|
||
<!-- 分组元素-->
|
||
|
||
<script id="tpl-group-item" type="text/template">
|
||
|
||
<li class="ng-scope" data-group-id="{{ group_id }}" title="{{ group_name }}">
|
||
|
||
<a class="group-edit" href="javascript:void(0);" title="编辑分组">
|
||
|
||
<i class="iconfont iconbianji"></i>
|
||
|
||
</a>
|
||
|
||
<a class="group-name am-text-truncate" href="javascript:void(0);">
|
||
|
||
{{ group_name }}
|
||
|
||
</a>
|
||
|
||
<a class="group-delete" href="javascript:void(0);" title="删除分组">
|
||
|
||
<i class="iconfont iconshanchu"></i>
|
||
|
||
</a>
|
||
|
||
</li>
|
||
|
||
</script>
|
||
|
||
|
||
<script>
|
||
|
||
$(function () {
|
||
|
||
// 选择图片
|
||
$('.upload-file-license-copy').selectImages({
|
||
name: 'data[details][license_copy]'
|
||
});
|
||
$('.upload-file-id-card-copy').selectImages({
|
||
name: 'data[details][id_card_copy]'
|
||
});
|
||
$('.upload-file-id-card-national').selectImages({
|
||
name: 'data[details][id_card_national]'
|
||
});
|
||
$('#my-form').formPost();
|
||
});
|
||
|
||
</script> </div>
|
||
|
||
<!-- 内容区域 end -->
|
||
|
||
</div>
|
||
|
||
<script src="/assets/plugins/layer/layer.js?v=<?php echo htmlentities($version); ?>"></script>
|
||
|
||
<script src="/assets/plugins/jquery/jquery.form.min.js?v=<?php echo htmlentities($version); ?>"></script>
|
||
|
||
<script src="/assets/plugins/amazeui/amazeui.min.js?v=<?php echo htmlentities($version); ?>"></script>
|
||
|
||
<script src="/assets/js/hema.app.js?v=<?php echo htmlentities($version); ?>"></script>
|
||
|
||
<script src="/assets/js/webuploader.html5only.js?v=<?php echo htmlentities($version); ?>"></script>
|
||
|
||
<script src="/assets/js/art-template.js?v=<?php echo htmlentities($version); ?>"></script>
|
||
|
||
<script src="/addons/upload/js/file.library.js?v=<?php echo htmlentities($version); ?>"></script>
|
||
|
||
<script src="/assets/plugins/vue/vue.min.js?v=<?php echo htmlentities($version); ?>"></script>
|
||
|
||
</body>
|
||
|
||
</html>
|
||
|