display.html 1.46 KB
<form id="form_display">
    <div class="row">
        
        <div class="form-group">
                <label class="col-sm-2 control-label">促销页图片</label>
                
                <div class="col-sm-10">
                    <input type="file" name="commonBanner" id="commonBanner" class="form-control" value="[[commonBanner]]" placeholder="促销页图片" required/>                
                </div>                     
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">购物车页图片</label>
                <div class="col-sm-10">                
                    <input type="file" id="shoppingCartBanner" name="shoppingCartBanner" value="[[shoppingCartBanner]]" required placeholder="购物车页图片" />
                </div>                                
            </div>

            
            <div class="form-group">
                <label class="col-sm-2 control-label">促销URL</label>            
                <div class="col-sm-10">
                    <input type="text" id="promotionUrl" name="promotionUrl" class="form-control" value="[[promotionUrl]]" placeholder="促销URL"/>
                </div>                     
            </div>
        
    </div>

    <input type="hidden" id="id" value="[[id]]">                            

    <div class="panel-footer">
        <button class="btn btn-primary" id="save_display">保存</button>
    </div>

</form>