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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
 
 
        <!-- 固定的手机底部 -->
        
        <div class="wap_footer">
            <div class="wap_footerfixd">
                <div class="wap_footerbox">
                    <a class="wap_footernav" href="{yun:}url m=wap{/yun}">
                        <div class="wap_footericon">
                            {yun:}if isset($indexnav){/yun}
                            <img src="{yun:}$wap_style{/yun}/images/tab_icon_home_s.png" alt="" style="width: 100%;">
                            {yun:}else{/yun}
                            <img src="{yun:}$wap_style{/yun}/images/tab_icon_home_n.png" alt="" style="width: 100%;">
                            {yun:}/if{/yun}
                        </div>
                        <div class="wap_footer_name">首页</div>
                    </a>
                    {yun:}if $usertype==1 || !$usertype{/yun}
                    <a class="wap_footernav" href="{yun:}url m=wap c=job{/yun}">
                        <div class="wap_footericon">
                            {yun:}if $smarty.get.c=='job'{/yun}
                            <img src="{yun:}$wap_style{/yun}/images/tab_icon_position_s.png" alt="" style="width: 100%;">
                            {yun:}else{/yun}
                            <img src="{yun:}$wap_style{/yun}/images/tab_icon_position_n.png" alt="" style="width: 100%;">
                            {yun:}/if{/yun}
                        </div>
                        <div class="wap_footer_name">职位</div>
                    </a>
                    {yun:}else{/yun}
                    <a class="wap_footernav" href="{yun:}url m=wap c=resume{/yun}">
                        <div class="wap_footericon">
                            {yun:}if $smarty.get.c=='resume'{/yun}
                            <img src="{yun:}$wap_style{/yun}/images/tab_icon_jl_n.png" alt="" style="width: 100%;">
                            {yun:}else{/yun}
                            <img src="{yun:}$wap_style{/yun}/images/tab_icon_jl.png" alt="" style="width: 100%;">
                            {yun:}/if{/yun}
                        </div>
                        <div class="wap_footer_name">简历</div>
                    </a>
                    {yun:}/if{/yun}
 
                    <div class="wap_footernav" onclick="fabu();">
                        <div class="wap_footer_fb ">
                            <img src="{yun:}$wap_style{/yun}/images/home_icon_release_default.png" alt=""
                                style="width: 100%;">
                        </div>    
                        <div class="wap_footer_name">{yun:}if $usertype=='1'{/yun}发布简历{yun:}elseif $usertype=='2'{/yun}发布职位{yun:}else{/yun}发布{yun:}/if{/yun}</div>
                    </div>
 
                    <a class="wap_footernav" href="{yun:}if !$username{/yun}{yun:}url m=wap c=login{/yun}{yun:}else{/yun}{yun:}url m=wap{/yun}member/index.php?c=sysnews{yun:}/if{/yun}">
                        <div class="wap_footericon">
                            <!--未读消息数量-->
                            <div id="tzmsgNum" class="none  Unread_message"></div>
                            {yun:}if $smarty.get.c=='sysnews'{/yun}
                            <img src="{yun:}$wap_style{/yun}/images/tab_icon_news_s.png" alt="" style="width: 100%;">
                            {yun:}else{/yun}
                            <img src="{yun:}$wap_style{/yun}/images/tab_icon_news_n.png" alt="" style="width: 100%;">
                            {yun:}/if{/yun}
                        </div>
                        <div class="wap_footer_name">消息</div>
                    </a>
                    <a class="wap_footernav" href="{yun:}if !$username{/yun}{yun:}url m=wap c=login{/yun}{yun:}else{/yun}{yun:}url m=wap{/yun}member/{yun:}/if{/yun}">
                        <div class="wap_footericon">
                            {yun:}if $smarty.get.c=='login' || isset($membernav){/yun}
                            <img src="{yun:}$wap_style{/yun}/images/tab_icon_me_s.png" alt="" style="width: 100%;">
                            {yun:}else{/yun}
                            <img src="{yun:}$wap_style{/yun}/images/tab_icon_me_n.png" alt="" style="width: 100%;">
                            {yun:}/if{/yun}
                        </div>
                        <div class="wap_footer_name">我的</div>
                    </a>
                </div>
            </div>
        </div>
 
 
        <!--企业点击发布-->
        {yun:}if $usertype=='2' && !$membernav{/yun}
            <!-- 余额不足提示 -->
            {yun:}include file="$wapstyle/publichtm/yun_modal.htm"{/yun}
            <!-- 强制操作提醒弹出框 -->
            {yun:}include file="$wapstyle/publichtm/yun_cert.htm"{/yun}
            <script src="{yun:}$wap_style{/yun}/js/com.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
        {yun:}else if $usertype=='3' && !$membernav{/yun}
            <style type="text/css">
                .yun_prompt_release_ws_a {
                    color: #5183ff;
                    display: inline-block;
                    margin-left: 10px;
                    position: absolute;
                    right: 0px;
                    top: 10px;
                    font-weight: normal;
                }
                .yun_prompt_release_ws {
                    line-height: 25px;
                    font-size: 14px;
                    color: #333;
                    padding: 8px 0px 8px 25px;
                    border-bottom: 1px solid #eee;
                    position: relative;
                    font-weight: bold;
                    text-align: left;
                }
                .tjwmz {
                    padding-top: 15px;
                    text-align: left;
                    color: #999;
                }
            </style>
            <script src="{yun:}$wap_style{/yun}/js/lt_public.js?v={yun:}$config.cachecode{/yun}"></script>
        {yun:}/if{/yun}
 
        <script type="text/javascript">
            var wapurl   = '{yun:}url m=wap{/yun}';
            var uid  = '{yun:}$uid{/yun}';
            var usertype  = '{yun:}$usertype{/yun}';
            var fabu_resume_maxnum = '{yun:}$fabu_resume_maxnum{/yun}';
            var resume_num = '{yun:}$resume_num{/yun}';
            function fabu(){
 
                if(parseInt(uid)>0){
                    if(usertype=='1'){
                        if(resume_num>0){
                            location.href = wapurl+"member/index.php?c=resume";
                        }else if(fabu_resume_maxnum >0 || fabu_resume_maxnum == ''){
                              location.href = wapurl+"member/index.php?c=addresume";
                          }else{
                              showToast("你的简历数已经达到系统设置的简历数了");
                          }
                    }else if(usertype=='2'){
                        var url = "{yun:}url d=wxapp h=com m=index c=addCheck{/yun}";
                        comjobAdd(url, { job: 'job' }, function (res) {
                            if(res.msg){
                                // 套餐不足
                                modalVue.$data.mb_content = res.msg;
                                modalVue.$data.cancelText = '不用了';
                                modalVue.$data.confirmText = '去购买';
                                modalVue.$data.yunModal = true;
                                modalType = 'job';
                            }else{
                                // 强制操作
                                certVue.$data.checked = res;
                                certVue.$data.yunCert = true;
                            }
                        });
                    }else if(usertype=='3'){
                        jobadd_url('{yun:}$addltjobnum{/yun}','{yun:}$config.integral_job{/yun}','lietou','{yun:}$config.com_integral_online{/yun}','{yun:}$config.integral_proportion{/yun}');
                    }else if(usertype=='4'){
                        location.href = wapurl+'member/index.php?c=addsubject';
                    }else{
                        location.href = "{yun:}url m=wap c=register a=ident{/yun}";
                    }
                }else{
                    navigateTo('{yun:}url m=wap c=login{/yun}');
                }
            }
        </script>
 
        <div id='uclogin' class='none'></div>
        <div class='none'>{yun:}tongji{/yun}</div>
        {yun:}if $config.sy_chat_open == 1 && $uid && ($usertype && $usertype !=4) && $smarty.get.c!='xjhlive'{/yun}
        <!--获取直聊新增数量-->
        <script>
            var socketUrl = "{yun:}$config.sy_chat_weburl{/yun}",
                chat_name = "{yun:}$config.sy_chat_name{/yun}";
        </script>
        <script src="{yun:}$wap_style{/yun}/chat/yunliao/socket.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
        {yun:}/if{/yun}
        
        <script>
 
            var wapurl   = '{yun:}url m=wap{/yun}';
            $(function(){
 
                '{yun:}if $usertype{/yun}'
                $.get(wapurl + "index.php?c=ajax&a=msgNum", function(datas) {
                    if(datas.usertype == 1) {
                        if(datas.msgNum) {
                            $('#tzmsgNum').css('display','block');
                            $('#tzmsgNum').text(datas.msgNum);
                        }
                    }
                    if(datas.usertype == 2) {
                        if(datas.msgNum) {
                            $('#tzmsgNum').css('display','block');
                            $('#tzmsgNum').text(datas.msgNum);
                        }
                    }
                    if(datas.usertype == 3) {
                        if(datas.msgNum) {
                            $('#sysmsgnum').text(datas.msgNum);
                            $('#tzmsgNum').text(datas.msgNum);
                            $('#tzmsgNum').show();
                        }
                        $('#ypnum').text(datas.ypnum);
                        $('#jobnum').text(datas.jobnum);
                        $('#downnum').text(datas.downnum);
                        if(datas.couponNum>0) {
                            $('#couponNum').text(datas.couponNum+'张优惠券快过期');
                            $('#couponNum').show();
                        }
                    }
                    if(datas.usertype == 4) {
                        if(datas.msgNum) {
                            $('#sysmsgnum').text(datas.msgNum);
                            $('#tzmsgNum').text(datas.msgNum);
                            $('#tzmsgNum').show();
                        }
                        $('#baoming_num').text(datas.baoming_num);
                        $('#zixun_num').text(datas.zixun_num);
                        $('#subject_num').text(datas.subject_num);
                    }
                }, 'json');
                '{yun:}/if{/yun}'
            })
 
            
        </script>
    </body>
</html>