<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>KGCMS企业应用管理平台 - Powered by KGCMS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="renderer" content="webkit">
<!-- <meta http-equiv="cache-control" content="no-siteapp" /> -->
<link rel="stylesheet" href="{{ kg['tpl_url'] }}style/message_push.css">
<script src="{{ kg['tpl_url'] }}script/jquery.min.js"></script>
<script src="{{ kg['server']['HTTP_HOST'] }}/tools/amazeui/js/amazeui.min.js"></script>
<script src="{{kg['tpl_url']}}script/common.js"></script>
<script src="{{ kg['tpl_url'] }}script/message_push.js"></script>
<style>
	.am-selected.am-dropdown{min-width: 170px;}
</style>
</head>
<body data-type="generalComponents">
	{% include 'component_header.tpl' %}
	<div class="tpl-page-container tpl-page-header-fixed">
		<div class="scrollbar-wrap">
		{% include 'component_left.tpl' %}
		<div class="tpl-content-wrapper ngco-Osz-marginT">
			<div class="tpl-content-page-title">
				信息群发功能
			</div>
			<ol class="am-breadcrumb">
				<li><a href="./" class="am-icon-home">首页</a></li>
				<li class="am-active">信息群发功能</li>
			</ol>
			<div class="tpl-portlet-components">
				<div class="portlet-title">
					<div class="caption font-green bold">
						<span class="am-icon-code"></span>&nbsp;信息群发功能
					</div>
				</div>
				<div class="tpl-block ngALL-AFenyeFu-marginT none_paddingT none_paddingB">
					<form action="" method="post" target="_blank" >
						<div class="am-g">
							<div class="am-u-sm-12 ngco-No-paddingR">
								<table class="ngco-Kfubox am-table am-table-striped am-table-hover table-main ngco-Esz-mgibdr">
									<thead>
										<tr>
											<!-- 1 -->
											<th class="table-check">
												<div class="ngjs-ziLi1 ngco-inbl-display">素材</div>
											</th>
											<!-- 2 -->
											<th class="table-id">
												<div class="ngjs-ziLi2 ngco-inbl-display">分组</div>
											</th>
										</tr>
									</thead>
									<tbody>
										<tr>
											<td>
												<select data-am-selected="{btnSize: 'sm'}" name="material" class="" style="display: none;" id="selected-search">
													<option value="0">请选择素材</option>
													{% for row in data %}
													<option value="{{row['id']}}">{{row['name']}}</option>
													{% endfor %}
												</select>
											 </td>
											<td>
												<div><input type="checkbox" name="" id="all" value="" style="vertical-align: middle;">&nbsp;全选/取消</div>
												{% for row in group %}
												<div><input type="checkbox" name="group[]" class="group" value="{{row['id']}}" style="vertical-align: middle;">&nbsp;{{row['name']}} ({{row['count']}})</div>
												{% endfor %}
											</td>
										</tr>
									</tbody>
								</table>
							</div>
							<div class="am-u-sm-12 am-u-md-12 wx_btn">
								<div class="am-btn-toolbar ng-xno-borderL" style="text-align: left;">
									<button type="submit" class="am-btn am-btn-primary">立即推送</button>
								</div>
							</div>
						</div>
						<input type="hidden" name="action" value="submit">
					</form>
				</div>
				<div class="am-alert am-alert-warning">
					<ul>
						<li>1、本模块需高级接口支持，该功能可以向48小时内与公众号有互动的用户无限制的推送消息。</li>
						<li>2、当用户主动发消息给公众号的时候（包括发送信息、点击自定义菜单、订阅事件、扫描二维码事件、支付成功事件、用户维权），可以在48小时内无限制的向用户推送消息。</li>
						<li>3、从2018年10月12日起，微信公众平台图文消息被限制为1条。</li>
					</ul>
				</div>
			</div>
			{% include 'component_footer.tpl' %}
		</div>
		</div><!-- /.scrollbar-wrap -->
	</div>
</body>
</html>