Index.html 4.23 KB
<%include '../../../common/views/__ui/header'%>

<%include '../../../common/views/__partail/ListHeader'%>

<div class="contentpanel">
    <div class="panel panel-default" style="...">
        <div class="panel-body" style="padding-bottom: 0">
            <a class="btn btn-success " id="add-content"><i class="fa fa-plus"></i> 添加试穿模特</a>
        </div>
        <div class="panel-body">
            <div class="row">
                <div class="panel-col2">
                    <input type="text" id="beginTime" class="form-control panel-input hasDatepicker " name="begin_time"
                           placeholder="开始时间" value="" >
                </div>
                <div class="panel-col2">
                    <input type="text" id="endTime" class="form-control panel-input hasDatepicker " name="end_time"
                           placeholder="结束时间" value="" >
                </div>
                <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2">
                    <input type="text" value="" name="modelName" id="content-filter1" placeholder="姓名"
                           class="form-control">
                </div>
                <a id="filter-btn" href="javascript:;" class="btn btn-info">查询</a>
                <a id="filter-all" href="/meterManage/tryModel/index" class="btn btn-info">全部</a>
            </div>
        </div>
    </div>
    <div id="content-list"></div>
</div>

<script type="text/template" id="template">
    <div class="rows" id="baseform" >
        <div class="form-group">
            <label class="col-sm-2 control-label" for="avatar">头像</label>
            [[if avatar]]
            <div class="col-sm-6">
                <div class="goods-img">
                    <a class="fileinput-button-icon" href="javascript:void(0);">
                        <img src="[[avatar]]?imageView/2/w/100/h/100">
                    </a>
                    <i class="remove-item-btn remove1 glyphicon glyphicon-remove-circle" data-link="avatar"></i>
                </div>
            </div>
            [[else]]
            <div class="col-sm-6">
                <input type="file" bucket="modelCard" class="form-control avatar" id="avatar" name="avatar"
                       placeholder="头像" data-field="avatar"/>
            </div>
            [[/if]]
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label" for="modelName">姓名</label>

            <div class="col-sm-3">
                <input type="text" value="[[modelName]]" class="form-control observe" id="modelName"
                       placeholder="姓名" required="required" data-field="modelName"/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label" for="height">身高</label>

            <div class="col-sm-3">
                <input type="text" value="[[height]]" class="form-control observe" id="height"
                       match="numbers" placeholder="身高(cm)" required="required" data-field="height"/>
            </div>
            <label class="col-sm-2 control-label" for="weight">体重</label>
            <div class="col-sm-3">
                <input type="text" value="[[weight]]" class="form-control observe" id="weight"
                       match="numbers" placeholder="体重(kg)" required="required" data-field="weight"/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">三围</label>

            <div class="col-sm-3">
                <input type="text" value="[[Bust]]" class="form-control observe" id="Bust"
                       match="numbers" placeholder="胸围(cm)" required="required" data-field="Bust"/>
            </div>
            <div class="col-sm-3">
                <input type="text" value="[[waist]]" class="form-control observe" id="waist"
                       match="numbers" placeholder="腰围(cm)" required="required" data-field="waist"/>
            </div>
            <div class="col-sm-3">
                <input type="text" value="[[hips]]" class="form-control observe" id="hips"
                       match="numbers" placeholder="臀围(cm)" required="required" data-field="hips"/>
            </div>
        </div>
    </div>
</script>