<!--# layout("/common/layout.html",{"jsBase":"/js/directed/smstemplate/"}){ -->
<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" id="cpname" name="cpname">
    <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="cpid" id="cpid" lay-filter="productid"></select>
                </div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-col-xs12">
            <div class="layui-form-item">
                <label class="layui-form-label">短信内容</label>
                <div class="layui-input-block">
                    <textarea type="text" name="content" lay-verify="required"
                           placeholder="请输入" class="layui-textarea" rows="3"
                              value=""></textarea>
                </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(['add'], function() {
    var festivalAdd = layui.add;
    festivalAdd.init();

});


</script>


