Index.html 3.22 KB
<%include '../../common/__ui/header'%>
<%include '../../common/__partail/ListHeader'%>

<div class="contentpanel">
    <div style="margin-bottom: 20px; display: none">
        <a href="javascript:" class="btn btn-success edit-btn"><i class="fa fa-plus"></i> 添加支付方式</a>
    </div>
    <div class="panel">
        <div class="panel-body nopadding">
            <div class="basicTable_wrapper" id="payment-list"></div>
        </div>
    </div>
</div>

<script type="text/template" id="template">
    <form class="form-horizontal" id="paymentEdit">
        <input type="hidden" name="id" value="[[id]]" id="id" />

        <div class="form-group">
            <label class="col-sm-3 control-label" style="text-align: center">支付方式:</label>
            <div class="col-sm-5" style="padding-top: 10px">[[payName]]</div>
        </div>

        <div class="form-group">
            <label class="col-sm-3 control-label" style="text-align: center">推荐到确认订单页:</label>
            <div class="col-sm-5" style="padding-top: 3px">
                <label class="radio-inline"><input name="recommendOrderPage" type="radio" value=1></label>
                &nbsp;&nbsp;
                <label class="radio-inline"><input name="recommendOrderPage" type="radio" value=0></label>
            </div>
            <input id="recommendOrderPage" type="hidden" value="[[recommendOrderPage]]" for="radio">
        </div>

        <div class="form-group">
            <label for="recommendWords" class="col-sm-3 control-label" style="text-align: center">推荐文案:</label>
            <div class="col-sm-5">
                <input type="text" id="recommendWords" name="recommendWords" value="[[recommendWords]]" class="form-control" />
            </div>
        </div>

        <div class="form-group">
            <label for="sortNumber" class="col-sm-3 control-label" style="text-align: center">前端排序:</label>
            <div class="col-sm-5">
                <input type="number" id="sortNumber" name="sortNumber" value="[[sortNumber]]" class="form-control" />
            </div>
            <div class="col-sm-4"><label style="color: #999"> * 数字越大越靠前,不要跟其他排序相同</label></div>
        </div>

        <div class="form-group">
            <label for="recommendText1" class="col-sm-3 control-label" style="text-align: center">推荐语1</label>
            <div class="col-sm-5">
                <input type="text" id="recommendText1" name="recommendText1" value="[[recommendText1]]" class="form-control" maxlength="20" />
            </div>
            <div class="col-sm-4"><label style="color: #999"> * 建议10个字以内,不超过20个字</label></div>
        </div>

        <div class="form-group">
            <label for="recommendText2" class="col-sm-3 control-label" style="text-align: center">推荐语2</label>
            <div class="col-sm-5">
                <input type="text" id="recommendText2" name="recommendText2" value="[[recommendText2]]" class="form-control" maxlength="20" />
            </div>
            <div class="col-sm-4"><label style="color: #999"> * 建议10个字以内,不超过20个字</label></div>
        </div>
    </form>
</script>

<%include '../../common/__ui/footer'%>