create_form.html 2.4 KB
<style>
    .Pop_up_layer .item {
        width: 270px;
        border: 1px solid #e4e7ed;
        padding: 44px 24px;
        float: left;
        padding-bottom: 0px;
        vertical-align: middle;
        position: relative;
        margin-left: 20px;
        position: relative;
        margin-top: 20px;
        cursor: pointer;
        box-sizing: border-box;
    }
    .Pop_up_layer .item.this {
        border: 1px solid #a6c8ff;
        box-shadow: 0px 0px 10px #a6c8ff;
    }
    .Pop_up_layer .item .item_top {
        width: 68px;
        padding-top: 90px;
        background: url(../img/icon87.png) no-repeat center top;
        margin: 0px auto;
        text-align: center;
    }
</style>
<!-- 创建表单 页 -->
<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <input name="row[match_id]" value="{$match_id}" type="hidden" placeholder="所属比赛"/>
    <input name="row[match_type_id]" value="{$match_type_id}" type="hidden" placeholder="所属赛道"/>

    <input id="stage_type" name="row[stage_type]" value="members" type="hidden"/>
    <div id="" class="layui-layer-content" style="height: 352px;">
        <div class="Pop_up_layer clearfix add_form_layer layui-layer-wrap" style="margin: 0px 20px;">
            <div class="item this" stage_type="members">
                <div class="item_top this"><span>团队</span></div>
                <p>如比赛需采集参赛者团队成员信息,可添加团队应用,可自定义团队成员数量及填报字段。</p>
                <i></i>
            </div>
            <div class="item itemT" stage_type="teachers">
                <div class="item_top"><span>教师</span></div>
                <p>添加指导教师信息。</p>
                <i></i>
            </div>
            <div class="item itemB " stage_type="defualt">
                <div class="item_top"><span>表单</span></div>
                <p>对于报名流程繁琐的比赛,可采用建立多个自定义表单方式引导参赛者分步填报信息,可设置每个表单填报的起止时间。</p>
                <i></i>
            </div>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8" style="text-align: center;">
            <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
        </div>
    </div>
</form>