Add.html 3.54 KB
<%include '../../common/__ui/header'%>
<div class="contentpanel">
    <form id="basicForm"  class="form-horizontal form-bordered" method="get" action="/market/vipamount/save">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h4 class="panel-title">活动创建</h4>
            </div>
            <div class="panel-body">
                <div class="row">
                    <div class="form-group">
                        <label for="title" class="col-sm-2 control-label">促销活动名称<i class="red">*</i></label>
                        <div class="col-sm-8">
                            <input type="text" id="title" placeholder="促销活动名称,支持中英文、数字,建议20个字以内"  class="form-control" required maxlength="20" value="<%name%>">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">促销活动类型</label>
                        <div class="col-sm-3">
                            <select  id="type1" class="form-control">
                                <option value="1">vip累计金额翻倍</option>
                            </select>
                        </div>

                        <input type="hidden" id="type" value="1" required>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">倍数设置</label>
                        <div class="col-sm-3">
                            <select  id="num1" class="form-control">
                                <option value="1">1</option>
                                <option value="2">2</option>
                                <option value="3">3</option>
                                <option value="4">4</option>
                                <option value="5">5</option>
                                <option value="6">6</option>
                                <option value="7">7</option>
                                <option value="8">8</option>
                                <option value="9">9</option>
                                <option value="10">10</option>
                            </select>
                        </div>

                        <input type="hidden" id="num" value="1" required>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">活动时间设置<span class="red">*</span></label>
                        <div class="col-sm-3">
                            <input type="text" class="form-control" jsaction="time:end:endTime" id="startTime" placeholder="活动开始时间" value="" readonly required>
                        </div>
                        <div class="col-sm-3">
                            <input type="text" class="form-control" jsaction="time:start:startTime" id="endTime" placeholder="活动结束时间" value="" readonly required>
                        </div>
                    </div>
                </div>
            </div>
            <div class="panel-footer">
                <div class="row">
                    <div class="col-sm-8 col-sm-offset-2">
                        <a href="javascript:;"  onclick="history.go(-1);"  class="btn btn-default">取消</a>
                        <button id="save_brand" type="submit" data-loading-text="保存中..." class="btn btn-primary">保存</button>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>