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

<div class="contentpanel">
    <div style="margin-bottom: 20px">
        <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">
    <div class="form-horizontal" id="paymentEdit">
        <input type="hidden" 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="sort" type="radio" value="1"></label>&nbsp;&nbsp;
                <label class="radio-inline"><input name="sort" type="radio" value="0"></label>
            </div>
        </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" 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" value="[[sortNumber]]" class="form-control" />
            </div>
            <div class="col-sm-4"><label style="color: #999; line-height: 40px"> * 数字越大越靠前,不要跟其他排序相同</label></div>
        </div>

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

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

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