chengkun
2025-04-18 1bb985f32f2efe0f9dd69f3cf29a1c809b1cf96d
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
        <link href="images/reset.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
        <link href="images/system.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
        <link href="images/table_form.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
        <script src="{yun:}$config.sy_weburl{/yun}/js/jquery-1.8.0.min.js?v={yun:}$config.cachecode{/yun}"></script>
        <script src="js/admin_public.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
        <link href="{yun:}$config.sy_weburl{/yun}/js/layui/css/layui.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
        <script src="{yun:}$config.sy_weburl{/yun}/js/layui/layui.js?v={yun:}$config.cachecode{/yun}"></script>
        <script src="{yun:}$config.sy_weburl{/yun}/js/layui/phpyun_layer.js?v={yun:}$config.cachecode{/yun}"></script>
        <title>后台管理</title>
    </head>
    <body class="body_ifm">
        <form class="layui-form">
            <div class="infoboxp">
                <div class="tty-tishi_top">
                    <div class="tabs_info">
                        <ul>
                            <li><a href="index.php?m=admin_userset">个人设置</a></li>
                            <li><a href="index.php?m=admin_userset&c=logo">头像设置</a></li>
                            <li class="curr"><a href="index.php?m=admin_userset&c=userspend">消费设置</a></li>
                        </ul>
                    </div>
 
                    <div class="tag_box">
                        <div>
                            <table width="100%" class="table_form">
                                <tr>
                                    <th width="220">个人简历置顶费用:</th>
                                    <td>
                                        <input type="text" name="integral_resume_top" id="integral_resume_top" required lay-verify="required" value="{yun:}$config.integral_resume_top{/yun}" autocomplete="off" onKeyUp="this.value=this.value.replace(/[^0-9.]/g,'')" class="tty_input t_w480" onBlur="payintegral(this,'{yun:}$config.integral_proportion{/yun}');">
                                        元 / 天
                                    </td>
                                </tr>
                                <tr>
                                    <th width="220">个人委托简历费用:</th>
                                    <td>
                                        <input class="tty_input t_w480" type="text" name="pay_trust_resume" id="pay_trust_resume" value="{yun:}$config.pay_trust_resume{/yun}" size="20" maxlength="255" onKeyUp="this.value=this.value.replace(/[^0-9.]/g,'')" onBlur="payintegral(this,'{yun:}$config.integral_proportion{/yun}');" />
                                        元 / 份
                                    </td>
                                </tr>
                                <tr class="admin_table_trbg">
                                    <th>&nbsp;</th>
                                    <td align="left">
                                        <input class="tty_sub" id="integral" type="button" name="config" value="提交" />&nbsp;&nbsp;
                                        <input class="tty_cz" type="reset" value="重置" /></td>
                                </tr>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
            <input type="hidden" name="pytoken" id='pytoken' value="{yun:}$pytoken{/yun}">
            <script>
                var proportion = '{yun:}$config.integral_proportion{/yun}';
                layui.use(['layer', 'form'], function() {
                    var layer = layui.layer,
                        form = layui.form,
                        $ = layui.$;
                });
                $(function() {
                    $("#integral").click(function() {
                        loadlayer();
                        $.post("index.php?m=admin_userset&c=saveSpend", {
                            config: $("#integral").val(),
                            integral_resume_top_type: 2,
                            integral_resume_top: $("#integral_resume_top").val(),
                            pay_trust_resume: $("#pay_trust_resume").val(),
                            pytoken: $("#pytoken").val()
                        }, function(data, textStatus) {
                            parent.layer.closeAll('loading');
                            config_msg(data);
                        });
                    });
                })
            </script>
        </form>
    </body>
</html>