<!--# layout("/common/layout.html",{"jsBase":"/js/directed/channelurl/"}){ -->
<style type="text/css">

.right-content{
    width: 260px;
    background: #fff;
    float: left;
    margin-left: 10px;
    overflow: hidden;}
.layui-input-inline{
	width: 500px;
}

</style>
<style type="text/css">
.layui-input{
	width: 500px;
}

</style>
<style type="text/css">
.layui-input-inline{
	width: 500px;
}
.xm-select-parent{
	width: 500px;
}
.xm-form-select{
	width: 500px;
}
.xm-hide-input{
	width: 500px;
}
</style>

<form class="layui-form layui-form-pane " id="addForm">
	<input type="hidden" name="id" value="${entity.id}">
	<input type="hidden" name="url" value="${entity.url}">
	<input type="hidden" name="env" value="${entity.env}">

	<div class="layui-row">
		<div class="layui-col-xs6">
			<div class="layui-form-item">
				<label class="layui-form-label">活动名称</label>
				<div class="layui-input-block">
					<select name="festivalid" id="festivalid"></select>
				</div>
			</div>
		</div>

		<div class="layui-col-xs6">
			<div class="layui-form-item">
				<label class="layui-form-label">渠道名称</label>
				<div class="layui-input-block">
					<select name="channelid" id="channelid"></select>
				</div>
			</div>
		</div>
	</div>



	<hr class="layui-bg-blue">

	<div class="layui-row">
		<div class="layui-col-xs6 layui-col-sm6 layui-col-md4">
			<div class="grid-demo grid-demo-bg1">&nbsp;</div>
		</div>
		<div class="layui-col-xs6 layui-col-sm6 layui-col-md4">
			<div class="layui-input-block">
				<button class="layui-btn" type="button" lay-submit="" lay-filter="submitButton">立即提交</button>
				<button class="layui-btn layui-btn-danger" type="button" id="closeButton">关闭</button>
			</div>
		</div>
		<div class="layui-col-xs4 layui-col-sm12 layui-col-md4">
			<div class="grid-demo layui-bg-blue"></div>
		</div>
	</div>
</form>
<!--#} -->

<script>

layui.use(['edit'], function() {
    var channelUrlEdit = layui.edit;
    channelUrlEdit.init(${entity.fescod}, ${entity.orderchannel});

});


</script>


