guochao-option.hbs 4.95 KB
<div class="right_col" role="main">
    <div class="col-md-12 col-sm-12 col-xs-12">
        <div class="x_panel">
            {{# content}}
                <div class="x_title">
                    <h2>修改品牌信息</h2>
                    <div class="clearfix"></div>
                </div>
                <form id="createForm" class="form-horizontal form-label-left">
                    <input class="form-imput" type="hidden" data-type="id" id="id" value="{{id}}">
                    <input id="place" type="hidden" value="{{place}}">
                    <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="actName">
                            商铺id<span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <input class="form-control col-md-7 col-xs-12"
                                   data-type="shopId"
                                   data-toggle="tooltip"
                                   data-placement="bottom"
                                   title="商铺id不能为空"
                                   name="shopName"
                                   type="text"
                                   maxlength="50"
                                   value="{{shop_id}}">
                        </div>
                    </div>
                    <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="actName">
                            商家logo图片<span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <img src="{{logo}}" class="col-md-6 product-thumb {{#unless logo}}hide{{/unless}}">
                        </div>
                    </div>
                    <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="actName">
                            链接地址<span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <input class="form-control col-md-7 col-xs-12 form-imput"
                                   data-type="url"
                                   data-toggle="tooltip"
                                   data-placement="bottom"
                                   title="链接地址不能为空"
                                   name="shopName"
                                   type="text"
                                   maxlength="50"
                                   value="{{url}}">
                        </div>
                    </div>
                    <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="actName">排序<span
                            class="required">*</span>
                        </label>
                        <div class="col-md-2 col-sm-2 col-xs-12">
                            <input id="actVoteLimit" class="form-control col-md-2 form-imput"
                                   data-type="sort"
                                   data-toggle="tooltip" data-placement="bottom" title="排序"
                                   name="actVoteLimit"
                                   type="text"
                                   maxlength="10"
                                   value="{{sort}}"><span style="color:#d44950">备注:排序权重数大的排在前面</span>
                        </div>
                    </div>
                    <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12">
                            位置
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <label class="control-label col-md-1">
                                <input type="radio"  name="place" required="required"
                                       class="form-contro col-md-7 col-xs-12" value="0">

                            </label>
                            <label class="control-label col-md-1">
                                <input type="radio" name="place" required="required"
                                       class="form-contro col-md-7 col-xs-12" value="1">

                            </label>
                        </div>
                    </div>
                    <div class="item form-group">
                        <div class="col-md-2 col-md-offset-5 action-wrap">
                            <button type="button" class="btn btn-primary btn-save">保存</button>
                        </div>
                    </div>
                </form>
                <a id="upload-btn"></a>
            {{/ content}}
        </div>
    </div>
</div>