mitao
2024-04-30 ab4ea7b8f10c9b66aed9c2ea161a08b25c3851a7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-title">
        <h5>系统设置</h5>
    </div>
    <style> .form-control { display: inline!important; width: 300px!important;} </style>
    <div class="ibox-content">
        <div class="form-horizontal">
            <div class="row">
                <div class="col-sm-10">
                    <div class="form-group">
                        <div class="col-sm-12">
                            <label class="col-sm-3 control-label">平台客服联系电话:</label>
                            <div class="col-sm-9">
                                <input type="text" class="form-control" id="t_1" value="${t_1!}" />
                            </div>
                        </div>
                    </div>
                </div>
            </div>
 
            <div class="row btn-group-m-t">
                <div class="col-sm-10 col-sm-offset-5">
                    <#button btnCss="info" name="&nbsp;保&nbsp;存&nbsp;" id="ensure" icon="fa-check" clickFun="SetDlg.editSubmit();"/>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    var SetDlg = {}
 
    SetDlg.editSubmit = function () {
        //提交信息
        var ajax = new $ax(Feng.ctxPath + "/tSystemSet/update_1", function(data){
            Feng.success("操作成功!");
        },function(data){
            Feng.error("操作失败!");
        });
        ajax.set("val", $("#t_1").val());
        ajax.start();
    }
</script>
@}