Your Name 8 月之前
父節點
當前提交
503c06f774

+ 51
- 0
application/api/controller/Diyajax.php 查看文件

497
             respose(['code'=>0, 'msg'=>'请求失败', 'data'=>[]]);
497
             respose(['code'=>0, 'msg'=>'请求失败', 'data'=>[]]);
498
         }
498
         }
499
     }
499
     }
500
+
501
+    public function kjForm(){
502
+        $param = request()->param();
503
+        $param['form_id'] = (int)$param['form_id'];
504
+        $one = Db::name('zc_form')->where('id', $param['form_id'])->find();
505
+        if((int)$one['pccs'] === 0){
506
+            //未更新
507
+            if(!empty($param['form_id'])){
508
+                $pccs = Db::name('zc_form')->where(['sjhm'=>$one['sjhm'],'is_del'=>0])->count();
509
+                $data = [
510
+                    'pccs' => (int)$pccs + 1,
511
+                    'is_tg' => (int)$param['is_tg'],
512
+                    'jjfa' => $param['jjfa'],
513
+                    'xy_info' => $param['xy_info'],
514
+                ];
515
+                //更新表单数据
516
+                $list = Db::name('zc_form')
517
+                    ->where('id', $param['form_id'])
518
+                    ->update($data);
519
+                respose(['code'=>1, 'msg'=>'请求成功', 'data'=>[]]);
520
+            }else{
521
+                respose(['code'=>0, 'msg'=>'请求失败', 'data'=>[]]);
522
+            }
523
+        }else{
524
+            respose(['code'=>0, 'msg'=>'请求失败', 'data'=>[]]);
525
+        }
526
+    }
527
+
528
+    public function getFormList()
529
+    {
530
+        $list = Db::name('zc_form')
531
+            //->where('pccs', 1) //同一号码 只调用一次
532
+            ->field('id,ch,sjhm,is_tg,jjfa,extend')
533
+            ->where('is_del', 0)
534
+            ->where('pccs', '>',0)
535
+            ->order('updatetime desc')
536
+            //->fetchSql(true)
537
+            ->limit(20)
538
+            ->select();
539
+        //var_dump($list);
540
+        $is_tg_str = ['条件不符','符合条件'];
541
+        foreach ($list as $key => $item) {
542
+            $item['is_tg_n'] = $item['is_tg'];
543
+            $extend_info = json_decode($item['extend'],true);
544
+            $item['sbxx'] = $extend_info['sbzy'].$extend_info['sbdj'];
545
+            $item['sjhm'] = preg_replace('/(\d{3})\d{4}(\d{4})/', '$1****$2', $item['sjhm']);
546
+            $item['is_tg'] = $is_tg_str[$item['is_tg']];
547
+            $list[$key] = $item;
548
+        }
549
+        respose(['code'=>1, 'msg'=>'请求成功', 'data'=>$list]);
550
+    }
500
 }
551
 }

+ 2
- 2
login.php 查看文件

27
 echo $domainName; // 输出当前域名的完整URL
27
 echo $domainName; // 输出当前域名的完整URL
28
 
28
 
29
 if($domainName == 'www.zc10000.com' || $domainName == 'zc10000.com'){
29
 if($domainName == 'www.zc10000.com' || $domainName == 'zc10000.com'){
30
-    header('HTTP/1.1 301 Moved Permanently');
30
+/*    header('HTTP/1.1 301 Moved Permanently');
31
     // 设置新的位置为主页URL
31
     // 设置新的位置为主页URL
32
     header('Location: https://www.zc10000.com');
32
     header('Location: https://www.zc10000.com');
33
     // 确保之后的代码不会执行
33
     // 确保之后的代码不会执行
34
-    exit();
34
+    exit();*/
35
 }
35
 }
36
 
36
 
37
 header("Content-type:text/html;charset=utf-8");
37
 header("Content-type:text/html;charset=utf-8");

+ 162
- 0
template/pc/common/include/step.htm 查看文件

16
 <!--时间组件-->
16
 <!--时间组件-->
17
 <script type="text/javascript" src="/template/pc/js/botstrap-step/moment.min.js"></script>
17
 <script type="text/javascript" src="/template/pc/js/botstrap-step/moment.min.js"></script>
18
 <script type="text/javascript" src="/template/pc/js/botstrap-step/daterangepicker.js"></script>
18
 <script type="text/javascript" src="/template/pc/js/botstrap-step/daterangepicker.js"></script>
19
+
20
+<!--滚动组件-->
21
+<script src="/template/pc/js/botstrap-step/autoScroll.js"></script>
22
+
19
 <script>
23
 <script>
20
     $(function() {
24
     $(function() {
21
         $(".daterange input").each(function() {
25
         $(".daterange input").each(function() {
375
             }
379
             }
376
         });*/
380
         });*/
377
 
381
 
382
+       /*$("#autoScroll01").autoScroll({
383
+            direction: 'down',                //滚动方向,'up'、'down'、'left'、'right',*必须参数
384
+            interval: 40,                     //滚动间隔,单位'ms',一定要大于'滚动速度',*必须参数
385
+            speed: 10,                        //滚动完成耗时,单位'ms',一定要小于'滚动间隔',*必须参数
386
+            distance: 3,                      //单次滚动距离,单位'px',*必须参数
387
+            liHeight: 35,                     //单个li的盒模型高度&宽度(包括margin值。左右滚动只有liWidth参数,上下滚动只有liHeight参数),*必须参数
388
+            showNum: 5                        //显示几个li,父级高会自适应,但不要超过最大个数,*必须参数
389
+        });*/
390
+
391
+
392
+        //循环滚动
393
+        $("#autoScroll01").autoScroll({
394
+            direction: 'down',              //向下滚动
395
+            interval: 1000,                 //2秒滚动一次
396
+            speed: 500,                     //滚动耗时0.6秒(所以必须2秒内滚完,以免没滚完就执行下一次滚动了)
397
+            distance: 35,                   //一次滚动40px
398
+            liHeight: 35,                   //单个的li的盒模型高度是40px(上下滚动li没有margin跟padding值)
399
+            showNum: 7                      //容器里显示3个li标签
400
+        });
401
+
402
+        //置换头尾
403
+        setInterval(function() {
404
+            var html = $('#autoScroll01 ul li:last').prop('outerHTML');
405
+            $('#autoScroll01 ul li:last').remove();
406
+            //$('#autoScroll01 ul li:first').before(html);
407
+            $('#autoScroll01 ul').append(html);
408
+        }, 1000);
409
+
410
+        //
411
+        $(document).on('click','.hjk',function(){
412
+            var index = $(this).index();
413
+            if($(this).is('.hjk-check')){
414
+                $(this).removeClass('hjk-check');
415
+                $('#inlineCheckbox'+index).attr("checked",false);
416
+            }else{
417
+                $(this).addClass('hjk-check');
418
+                $('#inlineCheckbox'+index).attr("checked",'checked');
419
+            }
420
+        });
421
+
422
+        //展开 拉起
423
+        $('.zklp').click(function(){
424
+            var index = $(this).attr('data');
425
+            var t = $(this).text();
426
+            if(t == '展开'){
427
+                $('.zklp').text('展开');
428
+                $(this).text('收起');
429
+                $('.p-con68').hide();
430
+                $('.klp'+index).show();
431
+                $(this).removeClass('zklp-3');
432
+                $(this).addClass('zklp-2');
433
+            }else{
434
+                //$('.zklp').text('收起');
435
+                $(this).text('展开');
436
+                $('.p-con68').hide();
437
+                $(this).removeClass('zklp-2');
438
+                $(this).addClass('zklp-3');
439
+            }
440
+        });
441
+
442
+        //咨询费用
443
+        $('#zxfy').click(function(){
444
+            var url = '{eyou:global name='web_attr_26' /}';
445
+            var html = "<div style='width:100%;text-align: center;'>请使用微信扫一扫二维码<br/><img src='"+url+"'/></div>";
446
+            //$('#myModal .modal-title').html('提示');
447
+            $('#myModal .modal-body p').html(html);
448
+            $('#myModal').modal('show');
449
+        });
450
+
451
+        //解决方案
452
+        $('#jjfa').click(function(){
453
+            var url = '{eyou:global name='web_attr_26' /}';
454
+            var html = "<div style='width:100%;text-align: left;'>&nbsp;&nbsp;&nbsp;&nbsp;本站已收到您的求助,将于24小时内安排专业的建筑职称申报辅导老师与您联系,请保持电话畅通!并预祝您早日下证!</div>";
455
+            //$('#myModal .modal-title').html('提示');
456
+            $('#myModal .modal-body p').html(html);
457
+            $('#myModal').modal('show');
458
+        });
378
 
459
 
460
+        //点击获取二维码
461
+        $('#getCode').click(function(){
462
+            var url = '{eyou:global name='web_attr_26' /}';
463
+            var html = "<div style='width:100%;text-align: center;'>请使用微信扫一扫二维码<br/><img src='"+url+"'/></div>";
464
+            //$('#myModal .modal-title').html('提示');
465
+            $('#myModal .modal-body p').html(html);
466
+            $('#myModal').modal('show');
467
+        });
379
 
468
 
469
+        //发送后台保存 $param_k_json
470
+        $.ajax({
471
+            url: '/api/Diyajax/kjForm',
472
+            method: 'POST',
473
+            dataType: 'json', // 指定响应数据为JSON
474
+            data: {$param_k_json},
475
+            success: function(data) {
476
+                // 请求成功后隐藏加载状态
477
+                $('#loadingModal').modal('hide');
478
+                // 处理返回的数据
479
+                console.log('Ajax response:', data);
480
+
481
+                //$('#loadingModal .visually-hidden').html(data.msg);
482
+                //$('#loadingModal').modal('show');
483
+
484
+                if(data.code == 0){
485
+                    //setTimeout(function() {
486
+                        //$('#loadingModal').modal('hide');
487
+                    //}, 3000); // 5秒后取消定时器
488
+                }else{
489
+
490
+                }
491
+            },
492
+            error: function(xhr, status, error) {
493
+                // 请求失败后隐藏加载状态
494
+                $('#loadingModal').modal('hide');
495
+                // 处理错误
496
+                console.error('Ajax error:', status, error);
497
+            }
498
+        });
499
+
500
+        //ajax获取表单数据 因为页面是缓存数据
501
+        $.ajax({
502
+            url: '/api/Diyajax/getFormList',
503
+            method: 'POST',
504
+            dataType: 'json', // 指定响应数据为JSON
505
+            data: {},
506
+            success: function(data) {
507
+                // 请求成功后隐藏加载状态
508
+                $('#loadingModal').modal('hide');
509
+                // 处理返回的数据
510
+                console.log('Ajax response:', data);
511
+
512
+                //$('#loadingModal .visually-hidden').html(data.msg);
513
+                //$('#loadingModal').modal('show');
514
+
515
+                if(data.code == 1){
516
+                    //setTimeout(function() {
517
+                    //$('#loadingModal').modal('hide');
518
+                    //}, 3000); // 5秒后取消定时器
519
+
520
+                    var html = '';
521
+                    $.each(data.data,function (i,e){
522
+                        var cal = '';
523
+                        if(e.is_tg_n == 0){
524
+                            cal = 'tib-li-err';
525
+                        }
526
+                        html += '<li class="tib-li '+cal+'"><span class="sp1">'+e.ch+'</span><span class="sp2">'+e.sjhm+'</span><span class="sp3">'+e.sbxx+'</span><span class="sp4">'+e.is_tg+'</span></li>';
527
+                    });
528
+                    //console.log(html);
529
+                    $('#autoScroll01 ul').empty();
530
+                    $('#autoScroll01 ul').append(html);
531
+                }else{
532
+
533
+                }
534
+            },
535
+            error: function(xhr, status, error) {
536
+                // 请求失败后隐藏加载状态
537
+                $('#loadingModal').modal('hide');
538
+                // 处理错误
539
+                console.error('Ajax error:', status, error);
540
+            }
541
+        });
380
     });
542
     });
381
 </script>
543
 </script>

+ 1
- 0
template/pc/common/main/param/ciping.htm 查看文件

3
 $tid = $route_param['tid']?(int)$route_param['tid']:0;
3
 $tid = $route_param['tid']?(int)$route_param['tid']:0;
4
 $tagid = $route_param['tagid']?(int)$route_param['tagid']:0;
4
 $tagid = $route_param['tagid']?(int)$route_param['tagid']:0;
5
 $is_mobile = isMobile();
5
 $is_mobile = isMobile();
6
+$param_k_json = '{}';
6
 ?>
7
 ?>
7
 
8
 

+ 255
- 132
template/pc/components/index/kop.htm 查看文件

1
 <?php
1
 <?php
2
-$result_map = "";
3
-$xl = ['不限制','中专','高技','大专','本科','硕士','博士'];
4
-//先列出全国 再其他省 再到市
5
-$sql = 'select * from ey_zcwd_position where type='.$detail['sbzy'].' and sbdj='.$detail['sbdj'].' and is_del=0 and status=1'.$sql_end.' order by sf asc';
6
-$is_list_empty = '';
2
+    $result_map = "";
3
+    $xl = ['不限制','中专','高技','大专','本科','硕士','博士'];
4
+    //先列出全国 再其他省 再到市
5
+    $sql = 'select * from ey_zcwd_position where type='.$detail['sbzy'].' and sbdj='.$detail['sbdj'].' and is_del=0 and status=1'.$sql_end.' order by sf asc';
6
+    $is_list_empty = '';
7
+    //echo $sql;
8
+    $list_data = [];
9
+
10
+    //测试Db操作
11
+    //$row_t = Db::table('ey_zcwd_position')->find();
12
+    //var_dump($row_t);
13
+    $str_no_err = [];
7
 ?>
14
 ?>
8
 {eyou:sql sql="$sql" cachetime='3600' empty='' id="field"}
15
 {eyou:sql sql="$sql" cachetime='3600' empty='' id="field"}
16
+    <?php
17
+        $is_list_empty = $field['id'];
18
+        $list_data[] = $field;
19
+    ?>
20
+{/eyou:sql}
21
+
22
+
23
+{eyou:if condition='(!empty($is_list_empty))'}
9
 <?php
24
 <?php
10
-$is_list_empty = $field['id'];
25
+/**
26
+ * 多种循环体
27
+ * 每一次循环都是一种匹配情况
28
+ */
29
+$tyu_num = 1;
11
 ?>
30
 ?>
12
-<div class="panel panel-primary" style="display:none;">
13
-    <div class="panel-body">
31
+{eyou:volist name='$list_data' id='field'}
32
+
33
+<div class="ta-list-li-box">
34
+    <div class="tllb-t">
35
+<!--<div class="panel panel-primary" style="display:block;">
36
+    <div class="panel-body">-->
14
 
37
 
15
-        {eyou:if condition='((int)$field.sf === 0)'}
16
-        ({$t}匹配结果)全国通用申报要求对比结果如下:
17
-        {eyou:else /}
18
-        <?php
19
-        if((int)$field['sf'] > 0){
20
-            $sql22 = "select id,name from ey_citysite where id=".$field['sf'];
21
-            $sql222 = '';
22
-            if((int)$field['cs'] > 0){
23
-                $sql222 = "select id,name from ey_citysite where id=".$field['cs'];
24
-            }
25
-        }
26
-        ?>
27
 
38
 
28
-        {eyou:sql sql='$sql22' cachetime='3600' empty='' id="kop"}
29
-        <?php
30
-        $aname = $kop['name'];
31
-        ?>
32
-        {/eyou:sql}
33
-        {eyou:if condition='((int)$field.cs > 0)'}
34
-        {eyou:sql sql='$sql222' cachetime='3600' empty='' id="kop"}
35
         <?php
39
         <?php
36
-        $bname = $kop['name'];
40
+        if($tyu_num == 1){
41
+            $t = '收起';
42
+            $t_class = 'zklp-2';
43
+        }else{
44
+            $t = '展开';
45
+            $t_class = 'zklp-3';
46
+        }
37
         ?>
47
         ?>
38
-        {/eyou:sql}
39
-        {/eyou:if}
40
 
48
 
41
-        ({$t}匹配结果){$aname}{$bname}地区申报要求对比结果如下:
42
-        {/eyou:if}
43
 
49
 
44
 
50
 
51
+        {eyou:if condition='((int)$field.sf === 0)'}
52
+            <!--({$t}匹配结果)全国通用申报要求对比结果如下:-->
53
+        <span class="zklp-l">({$tyu_num})根据你的条件符合申报全国地区,结果如下:</span>
54
+        <span class="zklp zklp{$tyu_num} {$t_class}" data="{$tyu_num}">{$t}</span>
55
+        {eyou:else /}
56
+            <?php
57
+            if((int)$field['sf'] > 0){
58
+                $sql22 = "select id,name from ey_citysite where id=".$field['sf'];
59
+                $sql222 = '';
60
+                if((int)$field['cs'] > 0){
61
+                    $sql222 = "select id,name from ey_citysite where id=".$field['cs'];
62
+                }
63
+            }
64
+            ?>
65
+            {eyou:sql sql='$sql22' cachetime='3600' empty='' id="kop"}
66
+                <?php
67
+                    $aname = $kop['name'];
68
+                ?>
69
+            {/eyou:sql}
70
+            {eyou:if condition='((int)$field.cs > 0)'}
71
+                {eyou:sql sql='$sql222' cachetime='3600' empty='' id="kop"}
72
+                <?php
73
+                    $bname = $kop['name'];
74
+                ?>
75
+                {/eyou:sql}
76
+            {/eyou:if}
77
+            <!--({$t}匹配结果){$aname}{$bname}地区申报要求对比结果如下:-->
78
+            <span class="zklp-l">({$tyu_num})根据你的条件符合申报{$aname}{$bname}地区,结果如下:</span>
79
+            <span class="zklp zklp{$tyu_num} {$t_class}" data="{$tyu_num}">{$t}</span>
80
+        {/eyou:if}
45
     </div>
81
     </div>
46
-    <div class="panel-footer" style="padding:3px 5px;">
82
+    <div class="clear"></div>
83
+    <div class="tllb-b p-con68 klp{$tyu_num}">
84
+    <!--</div>
85
+    <div class="panel-footer" style="padding:3px 5px;">-->
86
+
47
 
87
 
48
         <!--查询专业-->
88
         <!--查询专业-->
49
         <?php
89
         <?php
50
-        $num = 0;
51
-        $sql2 = "select * from ey_zcwe_position where type=".$field['id']." and is_del=0 and status=1";
90
+            $num = 0;
91
+            $sql2 = "select * from ey_zcwe_position where type=".$field['id']." and is_del=0 and status=1";
92
+            $son_details = [];
52
         ?>
93
         ?>
53
         {eyou:sql sql="$sql2" cachetime='3600' empty='暂无相关数据' id="field2"}
94
         {eyou:sql sql="$sql2" cachetime='3600' empty='暂无相关数据' id="field2"}
54
-        <table class="table table-bordered" style="margin-bottom:0px;margin-top:5px;">
95
+            <?php
96
+                $son_details[] = $field2;
97
+            ?>
98
+        {/eyou:sql}
99
+
100
+
101
+        <ul class="nav nav-tabs" id="myTab{$tyu_num}" role="tablist">
102
+            <?php
103
+                $io_num = 1;
104
+            ?>
105
+            {eyou:volist name='$son_details' id='field2'}
106
+                <li class="nav-item {eyou:if condition='($io_num == 1)'}active{/eyou:if}">
107
+                    <a class="nav-link {eyou:if condition='($io_num == 1)'}active{/eyou:if}" id="home-tab{$io_num}" data-toggle="tab" href="#home{$io_num}" role="tab" aria-controls="home" aria-selected="true">
108
+                        情况{$i}
109
+                    </a>
110
+                </li>
111
+                <?php
112
+                    $io_num++;
113
+                ?>
114
+            {/eyou:volist}
115
+        </ul>
116
+
117
+
118
+
119
+        <div class="tab-content" id="myTabContent">
120
+            <?php
121
+            $io_d_num = 1;
122
+            ?>
123
+        {eyou:volist name='$son_details' id='field2'}
124
+        <div class="tab-pane fade {eyou:if condition='($io_d_num == 1)'} active in{/eyou:if}" id="home{$io_d_num}" role="tabpanel" aria-labelledby="home-tab{$io_d_num}">
125
+
126
+        <table class="" style="">
127
+            <!--<caption>第{$i}种情况</caption>-->
128
+            <colgroup>
129
+                <col class="t-wid1 batman">
130
+                <col class="t-wid2 flash">
131
+                <col class="t-wid3 flash">
132
+                <col class="t-wid4 flash">
133
+            </colgroup>
134
+
55
             <thead>
135
             <thead>
56
             <tr>
136
             <tr>
57
-                <th scope="col" style="text-align: center;">情况<br/>{$i}</th>
58
-                <th scope="col">字段<br/>信息</th>
59
-                <th scope="col">实际<br/>要求</th>
60
-                <th scope="col">填写<br/>资料</th>
61
-                <th scope="col">匹配<br/>结果</th>
137
+                <th>字段信息</th>
138
+                <th>实际要求</th>
139
+                <th>填写资料</th>
140
+                <th>匹配结果</th>
62
             </tr>
141
             </tr>
63
             </thead>
142
             </thead>
143
+
64
             <tbody>
144
             <tbody>
65
             <?php
145
             <?php
66
             //先判断学历是否符合
146
             //先判断学历是否符合
67
             ?>
147
             ?>
68
             <tr>
148
             <tr>
69
-                <th scope="row">1</th>
70
                 <td>学历</td>
149
                 <td>学历</td>
71
-                <td><?php //echo $xl[$field2['xlyq']];?></td>
72
-                <td><?php //echo $xl[$detail['xl']];?></td>
150
+                <td><?php echo $xl[$field2['xlyq']];?></td>
151
+                <td><?php echo $xl[$detail['xl']];?></td>
73
                 <td>
152
                 <td>
74
                     <?php
153
                     <?php
75
                     if($field2['xlyq'] == $detail['xl']){
154
                     if($field2['xlyq'] == $detail['xl']){
76
                         //echo "<font style='color: blue;'>符合</font>";
155
                         //echo "<font style='color: blue;'>符合</font>";
156
+                        echo '<font class="td-r">√</font>';
77
                         $num++;
157
                         $num++;
78
                     }else{
158
                     }else{
159
+                        echo '<font class="td-b">x</font>';
79
                         //echo "<font style='color: red;'>不符合</font>";
160
                         //echo "<font style='color: red;'>不符合</font>";
161
+                        $str_no_err[$field['id']][$field2['id']]['xlyq'] = '学历不符';
80
                     }
162
                     }
81
                     ?>
163
                     ?>
82
                 </td>
164
                 </td>
83
             </tr>
165
             </tr>
166
+
84
             <tr>
167
             <tr>
85
-                <th scope="row">2</th>
86
                 <td>年龄</td>
168
                 <td>年龄</td>
87
                 <td>
169
                 <td>
88
                     <?php
170
                     <?php
89
                     if((int)$field2['is_ega'] === 0){
171
                     if((int)$field2['is_ega'] === 0){
90
-                        //echo "不限制";
172
+                        echo "不限制";
91
                     }else{
173
                     }else{
92
-                        //echo $field2['ega_0'].'-'.$field2['ega_1'].'岁';
174
+                        echo $field2['ega_0'].'-'.$field2['ega_1'].'岁';
93
                     }
175
                     }
94
                     ?>
176
                     ?>
95
                 </td>
177
                 </td>
98
                 </td>
180
                 </td>
99
                 <td>
181
                 <td>
100
                     <?php
182
                     <?php
101
-                    if((int)$detail['nl'] <= (int)$field2['ega_1'] && (int)$detail['nl'] >= (int)$field2['ega_0']){
102
-                        //echo "<font style='color: blue;'>符合</font>";
183
+                    if((int)$field2['is_ega'] === 0){
184
+                        echo '<font class="td-r">√</font>';
103
                         $num++;
185
                         $num++;
104
                     }else{
186
                     }else{
105
-                        //echo "<font style='color: red;'>不符合</font>";
187
+                        if((int)$detail['nl'] <= (int)$field2['ega_1'] && (int)$detail['nl'] >= (int)$field2['ega_0']){
188
+                            //echo "<font style='color: blue;'>符合</font>";
189
+                            echo '<font class="td-r">√</font>';
190
+                            $num++;
191
+                        }else{
192
+                            echo '<font class="td-b">x</font>';
193
+                            //echo "<font style='color: red;'>不符合</font>";
194
+                            $str_no_err[$field['id']][$field2['id']]['nl'] = '年龄不符';
195
+                        }
106
                     }
196
                     }
107
                     ?>
197
                     ?>
108
                 </td>
198
                 </td>
109
-
110
             </tr>
199
             </tr>
111
             <tr>
200
             <tr>
112
-                <th scope="row">3</th>
113
-                <td>毕业<br/>专业</td>
201
+                <td>毕业专业</td>
114
                 <td>
202
                 <td>
115
-
116
                     {eyou:if condition='((int)$field2.byzy === 0)'}
203
                     {eyou:if condition='((int)$field2.byzy === 0)'}
117
                     不限制
204
                     不限制
118
                     {eyou:else /}
205
                     {eyou:else /}
132
 
219
 
133
                     {eyou:if condition='($zhengshu2_str != "0")'}
220
                     {eyou:if condition='($zhengshu2_str != "0")'}
134
                     {eyou:sql sql="$sql3" cachetime='3600' empty='' id="field3"}
221
                     {eyou:sql sql="$sql3" cachetime='3600' empty='' id="field3"}
135
-                    <?php /**{$field3.title}*/ ?><br/>
222
+                    {$field3.title}<br/>
136
                     {/eyou:sql}
223
                     {/eyou:sql}
137
                     {eyou:else /}
224
                     {eyou:else /}
138
                     不限制
225
                     不限制
170
                     <?php
257
                     <?php
171
                     if((int)$field2.byzy === 0 || empty($zhengshu2)){
258
                     if((int)$field2.byzy === 0 || empty($zhengshu2)){
172
                         //echo "<font style='color: blue;'>符合</font>";
259
                         //echo "<font style='color: blue;'>符合</font>";
260
+                        echo '<font class="td-r">√</font>';
173
                         $num++;
261
                         $num++;
174
                     }else{
262
                     }else{
175
                         if(empty($zhengshu)){
263
                         if(empty($zhengshu)){
264
+                            echo '<font class="td-b">x</font>';
176
                             //echo "<font style='color: red;'>不符合</font>";
265
                             //echo "<font style='color: red;'>不符合</font>";
266
+                            $str_no_err[$field['id']][$field2['id']]['byzy'] = '专业不符';
177
                         }else{
267
                         }else{
178
-                            $run = "<font style='color: red;'>不符合</font>";
268
+                            //$run = "<font style='color: red;'>不符合</font>";
269
+                            $run = '<font class="td-b">x</font>';
270
+                            $str_no_err[$field['id']][$field2['id']]['byzy'] = '专业不符';
179
                             $ik = 1;
271
                             $ik = 1;
180
                             foreach ($zhengshu as $k => $v){
272
                             foreach ($zhengshu as $k => $v){
181
                                 if(in_array($v,$zhengshu2)){
273
                                 if(in_array($v,$zhengshu2)){
182
                                     //$run = '<font style="color: blue;">符合</font><br/>'.$ik.'项';
274
                                     //$run = '<font style="color: blue;">符合</font><br/>'.$ik.'项';
183
-                                    $run = '<font style="color: blue;">符合</font><br/>';
275
+                                    //$run = '<font style="color: blue;">符合</font><br/>';
276
+                                    $run = '<font class="td-r">√</font>';
277
+                                    $str_no_err[$field['id']][$field2['id']]['byzy'] = '';
184
                                     $ik++;
278
                                     $ik++;
185
                                 }
279
                                 }
186
                             }
280
                             }
187
-                            //echo $run;
281
+                            echo $run;
188
                             if($ik>1){
282
                             if($ik>1){
189
                                 $num++; //符合+1
283
                                 $num++; //符合+1
190
                             }
284
                             }
196
 
290
 
197
             </tr>
291
             </tr>
198
             <tr>
292
             <tr>
199
-                <th scope="row">4</th>
200
-                <td>学校<br/>类型</td>
293
+                <td>学校类型</td>
201
                 <td>
294
                 <td>
202
                     {eyou:if condition='((int)$field2.xxlx === 0)'}
295
                     {eyou:if condition='((int)$field2.xxlx === 0)'}
203
                     不限制
296
                     不限制
204
                     {eyou:else /}
297
                     {eyou:else /}
205
                     <?php
298
                     <?php
206
-                    //if((int)$field2['xxlx'] === 1) //echo "全日制";
207
-                    //if((int)$field2['xxlx'] === 2) //echo "非全日制";
299
+                    if((int)$field2['xxlx'] === 1) echo "全日制";
300
+                    if((int)$field2['xxlx'] === 2) echo "非全日制";
208
                     ?>
301
                     ?>
209
                     {/eyou:if}
302
                     {/eyou:if}
210
                 </td>
303
                 </td>
219
                     {eyou:if condition='((int)$field2.xxlx === 0)'}
312
                     {eyou:if condition='((int)$field2.xxlx === 0)'}
220
                     <!--<font style='color: blue;'>符合</font>-->
313
                     <!--<font style='color: blue;'>符合</font>-->
221
                     <?php
314
                     <?php
315
+                    echo '<font class="td-r">√</font>';
222
                     $num++;
316
                     $num++;
223
                     ?>
317
                     ?>
224
                     {eyou:else /}
318
                     {eyou:else /}
225
                     <?php
319
                     <?php
226
                     if((int)$field2['xxlx'] === (int)$detail['xxlx']){
320
                     if((int)$field2['xxlx'] === (int)$detail['xxlx']){
227
                         //echo "<font style='color: blue;'>符合</font>";
321
                         //echo "<font style='color: blue;'>符合</font>";
322
+                        echo '<font class="td-r">√</font>';
228
                         $num++;
323
                         $num++;
229
                     }else{
324
                     }else{
230
                         //echo "<font style='color: red;'>不符合</font>";
325
                         //echo "<font style='color: red;'>不符合</font>";
326
+                        echo '<font class="td-b">x</font>';
327
+                        $str_no_err[$field['id']][$field2['id']]['xxlx'] = '学校类型不符';
231
                     }
328
                     }
232
                     ?>
329
                     ?>
233
                     {/eyou:if}
330
                     {/eyou:if}
234
                 </td>
331
                 </td>
235
             </tr>
332
             </tr>
236
             <tr>
333
             <tr>
237
-                <th scope="row">5</th>
238
-                <td>毕业<br/>时间</td>
334
+                <td>毕业时间</td>
239
                 <td>
335
                 <td>
240
                     {eyou:if condition='((int)$field2.bysj === 0)'}
336
                     {eyou:if condition='((int)$field2.bysj === 0)'}
241
-                    <?php /*不要求**/  ?>
337
+                    不要求
242
                     {eyou:else /}
338
                     {eyou:else /}
243
-                    <?php /*要求>={$field2.bysj_time}年**/  ?>
339
+                    要求>={$field2.bysj_time}年
244
                     {/eyou:if}
340
                     {/eyou:if}
245
                 </td>
341
                 </td>
246
                 <td>
342
                 <td>
257
                     // 输出年份
353
                     // 输出年份
258
                     ////echo $interval->y . ' years';
354
                     ////echo $interval->y . ' years';
259
                     if($interval->y > 0){
355
                     if($interval->y > 0){
260
-                        //echo '已毕业'.$interval->y . '年';
356
+                        echo '已毕业'.$interval->y . '年';
261
                     }else{
357
                     }else{
262
-                        //echo '刚毕业不足1年';
358
+                        echo '刚毕业不足1年';
263
                     }
359
                     }
264
 
360
 
265
-
266
                     ?>
361
                     ?>
267
 
362
 
268
 
363
 
271
                     <?php
366
                     <?php
272
                     if((int)$field2['bysj'] === 0){
367
                     if((int)$field2['bysj'] === 0){
273
                         //echo "<font style='color: blue;'>符合</font>";
368
                         //echo "<font style='color: blue;'>符合</font>";
369
+                        echo '<font class="td-r">√</font>';
274
                         $num++;
370
                         $num++;
275
                     }else{
371
                     }else{
276
                         if((int)$field2['bysj_time'] <= $interval->y){
372
                         if((int)$field2['bysj_time'] <= $interval->y){
277
                             //echo "<font style='color: blue;'>符合</font>";
373
                             //echo "<font style='color: blue;'>符合</font>";
374
+                            echo '<font class="td-r">√</font>';
278
                             $num++;
375
                             $num++;
279
                         }else{
376
                         }else{
280
                             //echo "<font style='color: red;'>不符合</font>";
377
                             //echo "<font style='color: red;'>不符合</font>";
378
+                            echo '<font class="td-b">x</font>';
379
+                            $str_no_err[$field['id']][$field2['id']]['bysj'] = '毕业时间不符';
281
                         }
380
                         }
282
                     }
381
                     }
283
                     ?>
382
                     ?>
284
                 </td>
383
                 </td>
285
             </tr>
384
             </tr>
286
             <tr>
385
             <tr>
287
-                <th scope="row">6</th>
288
-                <td>前置<br/>证书</td>
386
+                <td>前置证书</td>
289
                 <td>
387
                 <td>
290
                     <?php
388
                     <?php
291
                     $zhengshu3 = '';
389
                     $zhengshu3 = '';
298
 
396
 
299
                     <?php
397
                     <?php
300
                     if($i > 1){
398
                     if($i > 1){
301
-                        //echo "或<br/>";
399
+                        echo "或<br/>";
302
                     }
400
                     }
303
                     ?>
401
                     ?>
304
 
402
 
325
                     {eyou:if condition='($zhengshu3_str != "0")'}
423
                     {eyou:if condition='($zhengshu3_str != "0")'}
326
                     {eyou:sql sql="$sql3" cachetime='3600' empty='' id="field4"}
424
                     {eyou:sql sql="$sql3" cachetime='3600' empty='' id="field4"}
327
                     <?php
425
                     <?php
328
-                        $key_s = array_search($field4['id'], $zhengshu3);
329
-                        $year_s = $sjnx[$key_s];
426
+                    $key_s = array_search($field4['id'], $zhengshu3);
427
+                    $year_s = $sjnx[$key_s];
330
                     ?>
428
                     ?>
331
-                    <?php  /**{$field4.title}(需要{$year_s}年)**/?><br/>
429
+                    {$field4.title}<br/>(需要{$year_s}年)<br/>
332
                     {/eyou:sql}
430
                     {/eyou:sql}
333
                     {eyou:else /}
431
                     {eyou:else /}
334
                     <!--忽略-->
432
                     <!--忽略-->
359
                     $key_s = array_search($field3['id'], $zhengshu);
457
                     $key_s = array_search($field3['id'], $zhengshu);
360
                     $year_s = $zsnx[$key_s];
458
                     $year_s = $zsnx[$key_s];
361
                     ?>
459
                     ?>
362
-                    <?php /**{$field3.title}(拥有{$year_s}年)**/ ?><br/>
460
+                    {$field3.title}<br/>(拥有{$year_s}年)<br/>
363
                     {/eyou:sql}
461
                     {/eyou:sql}
364
                     {eyou:else /}
462
                     {eyou:else /}
365
463
374
                     //表示没查出限制要求
472
                     //表示没查出限制要求
375
                     if(empty($zhengshu3)){
473
                     if(empty($zhengshu3)){
376
                         //echo "<font style='color: blue;'>符合</font>";
474
                         //echo "<font style='color: blue;'>符合</font>";
475
+                        echo '<font class="td-r">√</font>';
377
                         $num++;
476
                         $num++;
378
                     }else{
477
                     }else{
379
                         if(empty($zhengshu)){
478
                         if(empty($zhengshu)){
380
                             //用户没有证书
479
                             //用户没有证书
381
                             //echo "<font style='color: red;'>不符合</font>";
480
                             //echo "<font style='color: red;'>不符合</font>";
481
+                            echo '<font class="td-b">x</font>';
482
+                            $str_no_err[$field['id']][$field2['id']]['xxlx'] = '未拥有证书';
382
                         }else{
483
                         }else{
383
                             //判断是否包含
484
                             //判断是否包含
384
                             //第一轮 循环 或
485
                             //第一轮 循环 或
486
+                            $ik = 1;
487
+                            $ik2 = 1;
488
+                            $ik3 = 1;
385
                             foreach ($zs_all as $k => $v){
489
                             foreach ($zs_all as $k => $v){
386
                                 if($k > 0){
490
                                 if($k > 0){
387
-                                    ////echo "或<br/>";
491
+                                    //echo "或<br/>";
388
                                 }
492
                                 }
389
-                                $ik = 1;
390
-                                $ik2 = 1;
391
-                                $ik3 = 1;
392
                                 //第二轮 循环 且
493
                                 //第二轮 循环 且
393
                                 //var_dump($v['a']);
494
                                 //var_dump($v['a']);
394
                                 $ik4 = 0; //真实有效数量
495
                                 $ik4 = 0; //真实有效数量
397
                                     //var_dump($zhengshu);
498
                                     //var_dump($zhengshu);
398
                                     //第三轮 循环 每一项要求是否在 用户拥有的证书 里面
499
                                     //第三轮 循环 每一项要求是否在 用户拥有的证书 里面
399
                                     //必须完全满足
500
                                     //必须完全满足
501
+                                    $run_1 = '';
502
+                                    $run_2 = '';
503
+                                    $run_3 = '';
400
                                     if((int)$v2 > 0) {
504
                                     if((int)$v2 > 0) {
401
                                         if (in_array($v2, $zhengshu)) {
505
                                         if (in_array($v2, $zhengshu)) {
402
                                             //判断年限是否符合要求
506
                                             //判断年限是否符合要求
415
                                         }
519
                                         }
416
                                         $ik4++;
520
                                         $ik4++;
417
                                     }
521
                                     }
522
+                                    //具体情况 循环且
523
+                                    //if(!empty($run_1)) echo $run_1.'<br/>';
524
+                                    //if(!empty($run_2)) echo $run_2.'<br/>';
525
+                                    //if(!empty($run_3)) echo $run_3.'<br/>';
418
                                 }
526
                                 }
419
-                                //具体情况 循环且
420
-                                ////echo $run_1;
421
-                                ////echo $run_2;
422
-                                ////echo $run_3;
527
+
423
                                 ////echo count($v['a']);
528
                                 ////echo count($v['a']);
424
                                 //var_dump($ik);
529
                                 //var_dump($ik);
425
                                 //var_dump(count($v['a']));
530
                                 //var_dump(count($v['a']));
426
                                 if(($ik-1) === $ik4){
531
                                 if(($ik-1) === $ik4){
427
                                     ////echo "<font style='color: blue;'>符合1</font>";
532
                                     ////echo "<font style='color: blue;'>符合1</font>";
428
-                                    $res = "<font style='color: blue;'>符合</font>";
533
+                                    //$res = "<font style='color: blue;'>符合</font>";
534
+                                    $res = '<font class="td-r">√</font>';
429
                                     $num++;
535
                                     $num++;
430
                                     //跳出循环 已经符合其中 一个 且了
536
                                     //跳出循环 已经符合其中 一个 且了
431
                                     break;
537
                                     break;
432
                                 }else{
538
                                 }else{
433
                                     ////echo "<font style='color: red;'>不符合2</font>";
539
                                     ////echo "<font style='color: red;'>不符合2</font>";
434
-                                    $res = "<font style='color: red;'>不符合</font>";
540
+                                    //$res = "<font style='color: red;'>不符合</font>";
541
+                                    $res = '<font class="td-b">x</font>';
542
+                                    $str_no_err[$field['id']][$field2['id']]['xxlx'] = '证书要求不符';
435
                                 }
543
                                 }
436
                             }
544
                             }
437
-                            //echo $res;
545
+                            echo $res;
438
                         }
546
                         }
439
                     }
547
                     }
440
                     ?>
548
                     ?>
445
 
553
 
446
             </tr>
554
             </tr>
447
             <tr>
555
             <tr>
448
-                <th scope="row">7</th>
449
-                <td>综合<br/>评估</td>
556
+                <td>综合评估</td>
450
                 <td colspan="3" style="vertical-align:middle;">
557
                 <td colspan="3" style="vertical-align:middle;">
451
 
558
 
452
-
453
                     <?php
559
                     <?php
454
-                        ////echo $num;
455
-                        if($num >= 6){
456
-                            //多次循环可能大于6
457
-                            echo "<font style='color: blue;'>完全符合要求!</font>";
458
-
459
-                            if(!empty($bname)){
460
-                                $bname_str = '/'.$bname;
461
-                            }
462
-
463
-                            $result_map .= $aname.$bname_str.'地区<br/>';
464
-
465
-
466
-                        }else if($num === 0){
467
-                            echo "<font style='color: red;'>完全不符合要求!</font>";
468
-                        }else{
469
-                            echo "<font style='color: #ff4c08;'>未完全符合要求!</font>";
560
+                    ////echo $num;
561
+                    if($num >= 6){
562
+                        //多次循环可能大于6
563
+                        echo "<font style='color: blue;'>完全符合要求!</font>";
564
+                        if(!empty($bname)){
565
+                            $bname_str = '/'.$bname;
470
                         }
566
                         }
471
-                        $num = 0;
567
+                        $result_map .= $aname.$bname_str.'地区<br/>';
568
+                        $str_no_err[$field['id']][$field2['id']]['zhpg'] = 2;
569
+                        $str_no_err[$field['id']][$field2['id']]['diqu'] = $aname.'/'.$bname_str;
570
+                    }else if($num === 0){
571
+                        echo "<font style='color: red;'>完全不符合要求!</font>";
572
+                        $str_no_err[$field['id']][$field2['id']]['zhpg'] = 0;
573
+                    }else{
574
+                        echo "<font style='color: #ff4c08;'>未完全符合要求!</font>";
575
+                        $str_no_err[$field['id']][$field2['id']]['zhpg'] = 1;
576
+                    }
577
+                    $num = 0;
472
                     ?>
578
                     ?>
473
 
579
 
474
                 </td>
580
                 </td>
475
             </tr>
581
             </tr>
476
             </tbody>
582
             </tbody>
477
         </table>
583
         </table>
478
-        {/eyou:sql}
584
+        </div>
585
+
586
+            <?php
587
+             $io_d_num++;
588
+            ?>
589
+        {/eyou:volist}
590
+        </div>
591
+<!--    </div>
592
+</div>-->
479
     </div>
593
     </div>
480
 </div>
594
 </div>
481
-{/eyou:sql}
482
 
595
 
483
 <?php
596
 <?php
484
-//var_dump($is_list_empty);
597
+    $tyu_num++;
485
 ?>
598
 ?>
486
-{eyou:if condition='(empty($is_list_empty))'}
487
-<div class="alert alert-danger" role="alert" style="">
488
-    <!--<span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
489
-    <span class="sr-only">Error:</span>-->
490
-    {$scen}
491
-</div>
492
-{eyou:else /}
599
+{/eyou:volist}
600
+{/eyou:if}
493
 
601
 
602
+<!--以下输出结果-->
494
 <?php
603
 <?php
495
-if(empty($result_map)){
496
-    $info = '';
497
-    $result_map = "抱歉!未找到符合地区!";
498
-    $class = 'alert-danger';
499
-}else{
500
-    //$result_map;
501
-    $info = "找到以下符合申请的地区:<br/><br/>";
502
-    $class = 'alert-success';
503
-}
604
+    //var_dump($is_list_empty);
504
 ?>
605
 ?>
505
-
506
-
507
-<div class="alert {$class}" role="alert" style="">
606
+{eyou:if condition='(empty($is_list_empty))'}
508
     <?php
607
     <?php
509
-        echo $info;
510
-        echo $result_map;
608
+        $is_tg = 0;
511
     ?>
609
     ?>
512
-</div>
610
+    <div class="alert alert-danger" role="alert" style="margin-top:10px;margin-bottom:8px;">
611
+        <!--<span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
612
+        <span class="sr-only">Error:</span>-->
613
+        <font class='result-div'>{$scen}</font>
614
+    </div>
615
+{eyou:else /}
513
 
616
 
617
+    <!--输出结论 后台有规则 但是可能匹配不成功或者成功-->
618
+    <?php
619
+    if(empty($result_map)){
620
+        $info = '';
621
+        $result_map = "<font class='result-div'>抱歉!未找到完全符合条件的地区!</font>";
622
+        $class = 'alert-danger';
623
+        $is_tg = 0;
624
+    }else{
625
+        //$result_map;
626
+        $info = "<font class='result-div'>找到以下条件完全符合申请的地区:</font>";
627
+        $class = 'alert-success';
628
+        $is_tg = 1;
629
+    }
630
+    ?>
631
+    <div class="alert {$class}" role="alert" style="margin-top:10px;display: block;margin-bottom:8px;">
632
+        <?php
633
+            echo $info;
634
+            echo "<font class='result-div'>".$result_map."</font>";
635
+        ?>
636
+    </div>
514
 {/eyou:if}
637
 {/eyou:if}

+ 386
- 74
template/pc/components/index/step.htm 查看文件

202
     <div class="inner-bg">
202
     <div class="inner-bg">
203
         <div class="container">
203
         <div class="container">
204
             <div class="row">
204
             <div class="row">
205
-                <div class="col-sm-8 col-sm-offset-2 text" style="text-align: center;">
206
-                    <h1><strong>Bootstrap</strong> Multi Step Registration Form</h1>
205
+                <!--col-sm-8 col-sm-offset-2-->
206
+                <div class="col-sm-12 text" style="width:100%;text-align: center;">
207
+                    <span class="title-h1">
208
+                        本系统已收录全国各地职称评审条件,并实时更新各地人才政策对应的绿色评审方案,您可输入您的基础信息,根据您的条件一键为您匹配通过率最高的地区!
209
+                    </span>
207
                     <div class="description">
210
                     <div class="description">
208
                         <p>
211
                         <p>
209
 
212
 
212
                 </div>
215
                 </div>
213
             </div>
216
             </div>
214
             <div class="row">
217
             <div class="row">
215
-                <div class="col-sm-6 col-sm-offset-3 form-box">
216
 
218
 
217
-                    <form role="form" action="" method="post" class="registration-form">
218
 
219
 
220
+                <!--col-sm-6 col-sm-offset-3 form-box-->
221
+                <div class="form-box">
222
+                    <div class="form-gb">
223
+                        <div class="form-gb-con">
224
+                            <img src="/template/pc/js/botstrap-step/laba.png"/>
225
+                            <img src="/template/pc/js/botstrap-step/laba.png" />
226
+                            <span>最新公告:<font class="tib-li-end">河北建筑职称副高级破格已发布</font>(<font id="getCode">点击获取二维码</font>)</span>
227
+                        </div>
228
+                    </div>
229
+                    <div class="form-box-ssl">
230
+
231
+                        <!--案例显示-->
232
+                        <div class="ssl-list">
233
+
234
+                            <div class="ssl-list-t">
235
+                                目前已有<font>265180</font>人参与测评
236
+                            </div>
237
+                            <div class="ssl-list-b">
238
+                                <div class="ti">
239
+                                    <span class="sp1">姓名</span>
240
+                                    <span class="sp2">手机号码</span>
241
+                                    <span class="sp3">申报等级</span>
242
+                                    <span class="sp4">匹配结果</span>
243
+                                </div>
244
+                                <div class="tib autoBox" id="autoScroll01">
245
+                                    <ul class="clearfix">
246
+                                        <!--加入 tib-li-end 有动画效果-->
247
+                                        <li class="tib-li">
248
+                                            <span class="sp1">李*新</span>
249
+                                            <span class="sp2">150****5632</span>
250
+                                            <span class="sp3">符合条件</span>
251
+                                            <span class="sp4">中级建筑工程师[协助申报]</span>
252
+                                        </li>
253
+                                        <li class="tib-li tib-li-err">
254
+                                            <span class="sp1">李*新</span>
255
+                                            <span class="sp2">150****5632</span>
256
+                                            <span class="sp3">条件不符</span>
257
+                                            <span class="sp4">学历不符[解决方案]</span>
258
+                                        </li>
259
+                                        <li class="tib-li">
260
+                                            <span class="sp1">李*新</span>
261
+                                            <span class="sp2">150****5632</span>
262
+                                            <span class="sp3">符合条件</span>
263
+                                            <span class="sp4">中级建筑工程师[协助申报]</span>
264
+                                        </li>
265
+                                        <li class="tib-li">
266
+                                            <span class="sp1">李*新</span>
267
+                                            <span class="sp2">150****5632</span>
268
+                                            <span class="sp3">符合条件</span>
269
+                                            <span class="sp4">中级建筑工程师[协助申报]</span>
270
+                                        </li>
271
+                                        <li class="tib-li tib-li-err">
272
+                                            <span class="sp1">李*新</span>
273
+                                            <span class="sp2">150****5632</span>
274
+                                            <span class="sp3">条件不符</span>
275
+                                            <span class="sp4">学历不符[解决方案]</span>
276
+                                        </li>
277
+                                        <li class="tib-li">
278
+                                            <span class="sp1">李*新</span>
279
+                                            <span class="sp2">150****5632</span>
280
+                                            <span class="sp3">符合条件</span>
281
+                                            <span class="sp4">中级建筑工程师[协助申报]</span>
282
+                                        </li>
283
+                                        <li class="tib-li">
284
+                                            <span class="sp1">李*新</span>
285
+                                            <span class="sp2">150****5632</span>
286
+                                            <span class="sp3">符合条件</span>
287
+                                            <span class="sp4">中级建筑工程师[协助申报]</span>
288
+                                        </li>
289
+                                        <li class="tib-li tib-li-err">
290
+                                            <span class="sp1">李*新</span>
291
+                                            <span class="sp2">150****5632</span>
292
+                                            <span class="sp3">条件不符</span>
293
+                                            <span class="sp4">学历不符[解决方案]</span>
294
+                                        </li>
295
+                                        <li class="tib-li">
296
+                                            <span class="sp1">李*新</span>
297
+                                            <span class="sp2">150****5632</span>
298
+                                            <span class="sp3">符合条件</span>
299
+                                            <span class="sp4">中级建筑工程师[协助申报]</span>
300
+                                        </li>
301
+                                        <li class="tib-li">
302
+                                            <span class="sp1">李*新</span>
303
+                                            <span class="sp2">150****5632</span>
304
+                                            <span class="sp3">符合条件</span>
305
+                                            <span class="sp4">中级建筑工程师[协助申报]</span>
306
+                                        </li>
307
+                                        <li class="tib-li">
308
+                                            <span class="sp1">李*新</span>
309
+                                            <span class="sp2">150****5632</span>
310
+                                            <span class="sp3">符合条件</span>
311
+                                            <span class="sp4">中级建筑工程师[协助申报]</span>
312
+                                        </li>
313
+                                        <li class="tib-li">
314
+                                            <span class="sp1">李*新</span>
315
+                                            <span class="sp2">150****5632</span>
316
+                                            <span class="sp3">符合条件</span>
317
+                                            <span class="sp4">中级建筑工程师[协助申报]</span>
318
+                                        </li>
319
+                                        <li class="tib-li">
320
+                                            <span class="sp1">李*新</span>
321
+                                            <span class="sp2">150****5632</span>
322
+                                            <span class="sp3">符合条件</span>
323
+                                            <span class="sp4">中级建筑工程师[协助申报]</span>
324
+                                        </li>
325
+                                        <li class="tib-li">
326
+                                            <span class="sp1">李*新</span>
327
+                                            <span class="sp2">150****5632</span>
328
+                                            <span class="sp3">符合条件</span>
329
+                                            <span class="sp4">中级建筑工程师[协助申报]</span>
330
+                                        </li>
331
+                                    </ul>
332
+                                </div>
333
+                            </div>
334
+                        </div>
335
+
336
+                    <!--成功示例--->
337
+                    <div class="ssl-box">
338
+                        <div class="ssl-box-t">
339
+
340
+                            <p>匹配成功结果展示:</p>
341
+                            <p>
342
+                                姓名:... <br/>
343
+                                手机:183****8270 <br/>
344
+                                地区:辽宁/葫芦岛 <br/>
345
+                            </p>
346
+                            <p>
347
+                                申报专业:建筑职称 <br/>
348
+                                申报等级:高级工程师
349
+                            </p>
350
+
351
+
352
+                        </div>
353
+                        <div class="ssl-box-b">
354
+                            <div class="p-con">
355
+                                匹配结果展示: <br/>
356
+                                河南省建筑副高级申报条件
357
+                            </div>
358
+
359
+                            <div class="p-con2">
360
+                                <table>
361
+                                    <!--<caption>Awesome caption</caption>-->
362
+                                    <colgroup>
363
+                                        <col class="t-wid1 batman">
364
+                                        <col class="t-wid2 flash">
365
+                                        <col class="t-wid3 flash">
366
+                                        <col class="t-wid4 flash">
367
+                                    </colgroup>
368
+                                    <thead>
369
+                                    <tr>
370
+                                        <th>字段信息</th>
371
+                                        <th>实际要求</th>
372
+                                        <th>填写资料</th>
373
+                                        <th>匹配结果</th>
374
+                                    </tr>
375
+                                    </thead>
376
+                                    <tbody>
377
+                                    <tr>
378
+                                        <td>学历</td>
379
+                                        <td>本科</td>
380
+                                        <td>本科</td>
381
+                                        <td class="td-r">√</td>
382
+                                    </tr>
383
+                                    <tr>
384
+                                        <td>年龄</td>
385
+                                        <td>不限制</td>
386
+                                        <td>30岁</td>
387
+                                        <td class="td-b">x</td>
388
+                                    </tr>
389
+                                    <tr>
390
+                                        <td>毕业专业</td>
391
+                                        <td>不限制</td>
392
+                                        <td>无</td>
393
+                                        <td class="td-r">√</td>
394
+                                    </tr>
395
+                                    </tbody>
396
+                                   <!-- <tfoot>
397
+                                    <tr>
398
+                                        <td>Footer content 1</td>
399
+                                        <td>Footer content 2</td>
400
+                                        <td>Footer content 3</td>
401
+                                        <td>Footer content 4</td>
402
+                                    </tr>
403
+                                    </tfoot>-->
404
+                                </table>
405
+                            </div>
219
 
406
 
220
 
407
 
408
+
409
+                        </div>
410
+                    </div>
411
+
412
+                    {eyou:if condition='($is_cha === 1)'}
413
+                    <style>
414
+                        .ssl-box{
415
+                            display: none;
416
+                        }
417
+                    </style>
418
+                    {/eyou:if}
419
+
420
+                    <form role="form" action="" method="post" class="registration-form">
221
                         {eyou:if condition='($is_cha === 1)'}
421
                         {eyou:if condition='($is_cha === 1)'}
222
 
422
 
223
                         <?php
423
                         <?php
229
                         ?>
429
                         ?>
230
                         <fieldset>
430
                         <fieldset>
231
 
431
 
232
-                            <div class="form-top">
432
+                            <div class="form-top form-t-e">
433
+                                <div class="form-title">
434
+                                    <span>职称申报&nbsp;一键测评</span>
435
+                                </div>
233
                                 <div class="form-top-left">
436
                                 <div class="form-top-left">
234
-                                    <h3>Step 5 / 5</h3>
235
-
437
+                                    <h3>第五步</h3>
438
+                                    <!--<p>请填写您用于接收匹配结果的手机号码:</p>-->
236
 
439
 
237
                                     <?php
440
                                     <?php
238
                                     function hide_phone_number_regex($phone_number) {
441
                                     function hide_phone_number_regex($phone_number) {
244
 
447
 
245
                                     ?>
448
                                     ?>
246
                                     {eyou:if condition='($is_detail === 0)'}
449
                                     {eyou:if condition='($is_detail === 0)'}
247
-                                        <p>查询结果展示:<br/><br/>
450
+                                        <p>
451
+                                            <span style="display:block;margin-bottom: 12px;">查询结果展示:</span>
248
                                             <!--编号: 202410247774<br/>-->
452
                                             <!--编号: 202410247774<br/>-->
249
                                             <!-- 姓名: 郑工<br/>-->
453
                                             <!-- 姓名: 郑工<br/>-->
250
                                             手机: <?php echo hide_phone_number_regex($param['p']); ?><br/>
454
                                             手机: <?php echo hide_phone_number_regex($param['p']); ?><br/>
251
                                         </p>
455
                                         </p>
252
                                     {eyou:else /}
456
                                     {eyou:else /}
253
-                                        <p>匹配结果展示:<br/><br/>
457
+                                        <div class="ftl-l">
458
+                                            <!--<span style="display:block;margin-bottom: 12px;">匹配结果展示:</span>-->
254
                                             <!--编号: 202410247774<br/>-->
459
                                             <!--编号: 202410247774<br/>-->
255
                                             姓名: {$detail.ch}<br/>
460
                                             姓名: {$detail.ch}<br/>
256
                                             手机: <?php echo hide_phone_number_regex($detail['sjhm']); ?><br/>
461
                                             手机: <?php echo hide_phone_number_regex($detail['sjhm']); ?><br/>
257
-                                            地区: {$extend_info.szsf}/{$extend_info.szcs}
258
-                                        </p>
462
+                                            地区: {$extend_info.szsf}/{$extend_info.szcs}<br/>
463
+                                        </div>
464
+                                        <span style="display: block;width: 100%;height:5px;"></span>
465
+                                        <div class="ftl-r">
466
+                                            申报专业: {$extend_info.sbzy}<br/>
467
+                                            申报等级: {$extend_info.sbdj}<br/>
468
+                                        </div>
469
+                                        <div class="clear"></div>
259
                                     {/eyou:if}
470
                                     {/eyou:if}
260
                                 </div>
471
                                 </div>
261
                                 <div class="form-top-right">
472
                                 <div class="form-top-right">
262
-                                    <i class="fa fa-twitter"></i>
473
+                                    <img src="/template/pc/js/botstrap-step/img_5.png" />
263
                                 </div>
474
                                 </div>
264
                             </div>
475
                             </div>
265
 
476
 
266
-
267
-
268
-
269
-
270
-
271
-                            <div class="form-bottom" style="padding:0 !important;background: none;">
477
+                            <div class="form-bottom form-b-e" style="">
272
 
478
 
273
                                 {eyou:if condition='($is_detail === 0)'}
479
                                 {eyou:if condition='($is_detail === 0)'}
274
-                                <div class="panel" style="margin-top:15px;">
275
-                                    <div class="panel-body">
480
+                                <div class="panel" style="margin-top:0px;margin-bottom:8px;">
481
+                                    <div class="panel-body" style='font-family: "黑体", sans-serif !important;font-size:17px;font-weight:"bold";'>
276
                                         查询最新10条结果:
482
                                         查询最新10条结果:
277
                                     </div>
483
                                     </div>
278
-                                    <div class="panel-footer">
484
+                                    <div class="panel-footer" style="background: #fff;padding:10px 0 0 0;">
279
                                         <ul class="list-group">
485
                                         <ul class="list-group">
280
                                             <?php
486
                                             <?php
281
                                             $sql = "select id,code,addtime,ch from ey_zc_form where sjhm='".$param['p']."' and status=1 and is_del=0 order by addtime desc limit 0,10";
487
                                             $sql = "select id,code,addtime,ch from ey_zc_form where sjhm='".$param['p']."' and status=1 and is_del=0 order by addtime desc limit 0,10";
292
                                 {eyou:else /}
498
                                 {eyou:else /}
293
 
499
 
294
 
500
 
295
-                                <div class="well" style="margin-top:20px;">
501
+                                <div class="ta-info-detail">
502
+                                    <p>匹配结果展示:</p>
503
+                                </div>
296
 
504
 
505
+                                <div class="well" style="margin-top:20px;display: none;">
297
                                     <?php
506
                                     <?php
298
                                     /*
507
                                     /*
299
                                      *
508
                                      *
302
                                     ?>
511
                                     ?>
303
                                     申报专业: {$extend_info.sbzy}<br/>
512
                                     申报专业: {$extend_info.sbzy}<br/>
304
                                     申报等级: {$extend_info.sbdj}<br/>
513
                                     申报等级: {$extend_info.sbdj}<br/>
305
-
306
                                 </div>
514
                                 </div>
307
 
515
 
308
                                 {eyou:if condition='($detail.yxdq > 0 && $detail.yxdq < 10001)'}
516
                                 {eyou:if condition='($detail.yxdq > 0 && $detail.yxdq < 10001)'}
329
                                         $t = '';
537
                                         $t = '';
330
                                         $scen = '抱歉!暂时未找到相关匹配结果信息!';
538
                                         $scen = '抱歉!暂时未找到相关匹配结果信息!';
331
                                     ?>
539
                                     ?>
540
+
332
                                     {eyou:include file='/template/pc/components/index/kop.htm' /}
541
                                     {eyou:include file='/template/pc/components/index/kop.htm' /}
333
                                 {/eyou:if}
542
                                 {/eyou:if}
334
 
543
 
335
-
336
-
337
-
338
                                 {/eyou:if}
544
                                 {/eyou:if}
339
 
545
 
340
                                 <!--<button type="button" class="btn btn-previous">上一步</button>
546
                                 <!--<button type="button" class="btn btn-previous">上一步</button>
341
                                 <button type="button" class="btn btn-next">下一步</button>-->
547
                                 <button type="button" class="btn btn-next">下一步</button>-->
342
-                                <button type="button" class="btn" onclick="location.href='https://www.zc10000.com/cp'">重新匹配</button>
548
+                                <button type="button" class="btn" onclick="location.href='https://www.zc10000.com/cp'">
549
+                                    重新匹配
550
+                                </button>
551
+
552
+                                {eyou:if condition='($is_detail > 0)'}
553
+                                {eyou:if condition='($is_tg === 1)'}
554
+                                    <button type="button" class="btn" id="zxfy">
555
+                                        咨询费用
556
+                                    </button>
557
+                                {eyou:else /}
558
+                                    <button type="button" class="btn" id="jjfa">
559
+                                        解决方案
560
+                                    </button>
561
+                                {/eyou:if}
562
+                                {/eyou:if}
563
+
343
                                 <!--<button type="button" class="btn">下载文档</button>
564
                                 <!--<button type="button" class="btn">下载文档</button>
344
                                 <button type="button" class="btn">分享结果</button>-->
565
                                 <button type="button" class="btn">分享结果</button>-->
345
 
566
 
355
                         </fieldset>
576
                         </fieldset>
356
 
577
 
357
 
578
 
358
-
579
+                        <?php
580
+                            /*
581
+                             * //构建保存参数
582
+                            //不做冗余 规则变 提交信息不变 结果就会变
583
+                            //规则和结果都不做冗余
584
+                             */
585
+                            /*$data = [
586
+                                'sjhm'=> $detail['sjhm'],
587
+                                'code'=> $detail['code'],
588
+                                'form_id'=> $detail['id'],
589
+                                'sbzy'=> $detail['sbzy'],
590
+                                'sbdj'=> $detail['sbdj'],
591
+                                'sbzy_str'=> $detail['sbzy'],
592
+                                'sbdj_str'=> $detail['sbdj'],
593
+                                'ch' => $detail['ch'],
594
+                            ];*/
595
+                            /*
596
+                             * 地区: {$extend_info.szsf}/{$extend_info.szcs}<br/>
597
+                                <span style="display: block;width: 100%;height:5px;"></span>
598
+                                申报专业: {$extend_info.sbzy}<br/>
599
+                                申报等级: {$extend_info.sbdj}<br/>
600
+                             */
601
+                            /*不建立新表了
602
+                            //评测次数 是否符合 解决方案({$extend_info.sbzy}{$extend_info.sbdj}[协助申报])
603
+                            //[解决方案]*/
604
+
605
+                            if($is_tg === 1){
606
+                                $param_k = [
607
+                                        'form_id'=> $detail['id'],
608
+                                        'pccs' => 0,
609
+                                        /*'sjhm' => $detail['sjhm'],*/
610
+                                        'is_tg' => $is_tg,
611
+                                        'jjfa' => $extend_info['sbzy'].$extend_info['sbdj'].'[协助申报]',
612
+                                        'xy_info' => json_encode($str_no_err,JSON_UNESCAPED_UNICODE),
613
+                                    ];
614
+                            }else{
615
+                                $yy = [];
616
+                                foreach ($str_no_err as $k => $v) {
617
+                                    foreach ($v as $k1 => $v1) {
618
+                                        foreach ($v1 as $k2 => $v2) {
619
+                                            if(!empty($v2)){
620
+                                                $yy[] = $v2.'[解决方案]';
621
+                                            }
622
+                                        }
623
+                                    }
624
+                                }
625
+                                $param_k = [
626
+                                    'form_id'=> $detail['id'],
627
+                                    'pccs' => 0,
628
+                                    /*'sjhm' => $detail['sjhm'],*/
629
+                                    'is_tg' => $is_tg,
630
+                                    'jjfa' => $yy[0], /*//不符合 总有原因**/
631
+                                    'xy_info' => json_encode($str_no_err,JSON_UNESCAPED_UNICODE),
632
+                                ];
633
+                            }
634
+                            /*var_dump($param_k);*/
635
+                            $param_k_json = json_encode($param_k,JSON_UNESCAPED_UNICODE);
636
+                        ?>
359
 
637
 
360
                         {eyou:else /}
638
                         {eyou:else /}
361
 
639
 
362
-
363
-
364
-
365
-
366
-
367
-
368
                         <?php
640
                         <?php
369
                         /*
641
                         /*
370
                          * 选择地区
642
                          * 选择地区
373
                          */
645
                          */
374
                         ?>
646
                         ?>
375
                         <fieldset>
647
                         <fieldset>
648
+
649
+
376
                             <div class="form-top">
650
                             <div class="form-top">
651
+                                <div class="form-title">
652
+                                    <span>职称申报&nbsp;一键测评</span>
653
+                                </div>
377
                                 <div class="form-top-left">
654
                                 <div class="form-top-left">
378
-                                    <h3>Step 1 / 5</h3>
655
+                                    <h3>第一步</h3>
379
                                     <p>选择申报专业与等级:</p>
656
                                     <p>选择申报专业与等级:</p>
380
                                 </div>
657
                                 </div>
381
                                 <div class="form-top-right">
658
                                 <div class="form-top-right">
382
-                                    <i class="fa fa-user"></i>
659
+                                   <!-- <i class="fa fa-user"></i>-->
660
+                                    <img src="/template/pc/js/botstrap-step/img_1.png" />
383
                                 </div>
661
                                 </div>
384
                             </div>
662
                             </div>
385
                             <div class="form-bottom">
663
                             <div class="form-bottom">
436
                                     </select>
714
                                     </select>
437
                                 </div>
715
                                 </div>
438
                                 <button type="button" class="btn btn-next">下一步</button>
716
                                 <button type="button" class="btn btn-next">下一步</button>
717
+
718
+
719
+                                <button type="button" class="btn but-success but-success2">成功匹配示例</button>
720
+
721
+                                <div class="context-menu-arrow"></div>
722
+
439
                             </div>
723
                             </div>
440
                         </fieldset>
724
                         </fieldset>
441
 
725
 
726
+
727
+
728
+
729
+
442
                         <?php
730
                         <?php
443
                         /*
731
                         /*
444
                          * 输入年龄
732
                          * 输入年龄
449
                          */
737
                          */
450
                         ?>
738
                         ?>
451
                         <fieldset>
739
                         <fieldset>
740
+
452
                             <div class="form-top">
741
                             <div class="form-top">
742
+                                <div class="form-title">
743
+                                    <span>职称申报&nbsp;一键测评</span>
744
+                                </div>
453
                                 <div class="form-top-left">
745
                                 <div class="form-top-left">
454
-                                    <h3>Step 2 / 5</h3>
746
+                                    <h3>第二步</h3>
455
                                     <p>个人基本信息:</p>
747
                                     <p>个人基本信息:</p>
456
                                 </div>
748
                                 </div>
457
                                 <div class="form-top-right">
749
                                 <div class="form-top-right">
458
-                                    <i class="fa fa-key"></i>
750
+                                    <!--<i class="fa fa-key"></i>-->
751
+                                    <img src="/template/pc/js/botstrap-step/img_2.png" />
459
                                 </div>
752
                                 </div>
460
                             </div>
753
                             </div>
754
+
461
                             <div class="form-bottom">
755
                             <div class="form-bottom">
462
                                 <div class="form-group">
756
                                 <div class="form-group">
463
                                     <!--<label class="sr-only" for="form-email">Email</label>
757
                                     <!--<label class="sr-only" for="form-email">Email</label>
500
                                     </select>
794
                                     </select>
501
                                 </div>
795
                                 </div>
502
 
796
 
797
+                                <!--<div class="form-group">
798
+                                       <label class="sr-only" for="form-password">Password</label>
799
+                                       <input type="password" name="form-password" placeholder="Password..." class="form-password form-control" id="form-password">
800
+                                   </div>-->
801
+                                <div class="form-group daterange" style="display:none;">
802
+                                    <label style="margin-left: 5px;">选择毕业时间</label>
803
+                                    <!--range_date-->
804
+                                    <div class="">
805
+                                        <input class="form-control" name="bysj" type="text" value="">
806
+                                        <i class="fa fa-calendar"></i>
807
+                                    </div>
808
+                                </div>
503
 
809
 
504
-
505
-
810
+                                <?php
811
+                                $end_year = date('Y', time()) + 1;
812
+                                /*{eyou:if condition='($i==$end_year)'}selected{/eyou:if}**/
813
+                                ?>
814
+                                <select class="form-control" id="choose33" name="bysj2" style="margin-bottom: 15px;">
815
+                                    <option value="0">选择毕业时间</option>
816
+                                    {eyou:for start='1990' end="$end_year"}
817
+                                    <option value="{$i}-07-01">{$i}年</option>
818
+                                    {/eyou:for}
819
+                                </select>
506
 
820
 
507
                                 <div id="zy_box" class="form-group" style="padding-left: 5px;position: relative;">
821
                                 <div id="zy_box" class="form-group" style="padding-left: 5px;position: relative;">
508
-                                    <label class="col-sm-12 control-label" style="padding-left: 0;">是否以下相关毕业专业</label>
822
+                                    <label class="col-sm-12 control-label" style="padding-left: 0;">是否以下相关毕业专业:</label>
509
                                     <div class="col-sm-12" style="padding-left: 0;margin-bottom: 0px;" id="zys">
823
                                     <div class="col-sm-12" style="padding-left: 0;margin-bottom: 0px;" id="zys">
510
                                         <!--先初始化证书-->
824
                                         <!--先初始化证书-->
511
                                         <!--<p class="form-control-static" style="min-height:20px;padding-top:5px;padding-bottom:0px;">
825
                                         <!--<p class="form-control-static" style="min-height:20px;padding-top:5px;padding-bottom:0px;">
512
                                             <font>建筑一级证书</font>  <font style="margin-left:15px;">3年</font>
826
                                             <font>建筑一级证书</font>  <font style="margin-left:15px;">3年</font>
513
                                         </p>-->
827
                                         </p>-->
514
                                     </div>
828
                                     </div>
829
+                                    <div class="col-sm-12" style="padding-left: 0;margin-bottom: 0px;" id="zys-list">
830
+                                        <!--
831
+                                        <span class="hjk">计算机技术</span>
832
+                                        <span class="hjk">计算机网络技术</span>
833
+                                        <span class="hjk">计算机网络技术</span>
834
+                                        <span class="hjk hjk-check">计算机网络技术</span>-->
835
+                                    </div>
515
                                     <div class="clear"></div>
836
                                     <div class="clear"></div>
516
                                 </div>
837
                                 </div>
517
 
838
 
526
                                     </label>
847
                                     </label>
527
                                 </div>-->
848
                                 </div>-->
528
 
849
 
529
-                                <!--<div class="form-group">
530
-                                    <label class="sr-only" for="form-password">Password</label>
531
-                                    <input type="password" name="form-password" placeholder="Password..." class="form-password form-control" id="form-password">
532
-                                </div>-->
533
-                                <div class="form-group daterange" style="display:none;">
534
-                                    <label style="margin-left: 5px;">选择毕业时间</label>
535
-                                    <!--range_date-->
536
-                                    <div class="">
537
-                                        <input class="form-control" name="bysj" type="text" value="">
538
-                                        <i class="fa fa-calendar"></i>
539
-                                    </div>
540
-                                </div>
541
 
850
 
542
-                                <?php
543
-                                    $end_year = date('Y', time()) + 1;
544
-                                    /*{eyou:if condition='($i==$end_year)'}selected{/eyou:if}**/
545
-                                ?>
546
-                                <select class="form-control" id="choose33" name="bysj2" style="margin-bottom: 15px;">
547
-                                    <option value="0">选择毕业时间</option>
548
-                                    {eyou:for start='1990' end="$end_year"}
549
-                                    <option value="{$i}-07-01">{$i}年</option>
550
-                                    {/eyou:for}
551
-                                </select>
552
 
851
 
553
                                 <!--<label class="sr-only" for="form-repeat-password">Repeat password</label>
852
                                 <!--<label class="sr-only" for="form-repeat-password">Repeat password</label>
554
                                     <input type="password" name="form-repeat-password" placeholder="Repeat password..."
853
                                     <input type="password" name="form-repeat-password" placeholder="Repeat password..."
572
                         ?>
871
                         ?>
573
 
872
 
574
                         <fieldset>
873
                         <fieldset>
874
+
875
+
575
                             <div class="form-top">
876
                             <div class="form-top">
877
+                                <div class="form-title">
878
+                                    <span>职称申报&nbsp;一键测评</span>
879
+                                </div>
576
                                 <div class="form-top-left">
880
                                 <div class="form-top-left">
577
-                                    <h3>Step 3 / 5</h3>
881
+                                    <h3>第三步</h3>
578
                                     <p>前置条件咨询:</p>
882
                                     <p>前置条件咨询:</p>
579
                                 </div>
883
                                 </div>
580
                                 <div class="form-top-right">
884
                                 <div class="form-top-right">
581
-                                    <i class="fa fa-twitter"></i>
885
+                                    <!--<i class="fa fa-twitter"></i>-->
886
+                                    <img src="/template/pc/js/botstrap-step/img_3.png" />
582
                                 </div>
887
                                 </div>
583
                             </div>
888
                             </div>
889
+
584
                             <div class="form-bottom">
890
                             <div class="form-bottom">
585
                                 <!--<div class="form-group">
891
                                 <!--<div class="form-group">
586
                                     <label class="sr-only" for="form-facebook">Facebook</label>
892
                                     <label class="sr-only" for="form-facebook">Facebook</label>
617
                                             <font>建筑一级证书</font>  <font style="margin-left:15px;">3年</font>
923
                                             <font>建筑一级证书</font>  <font style="margin-left:15px;">3年</font>
618
                                         </p>-->
924
                                         </p>-->
619
                                     </div>
925
                                     </div>
926
+                                    <div class="clear"></div>
620
                                     <input type="hidden" id="zhengshu_val" name="zhengshu_val" value="" />
927
                                     <input type="hidden" id="zhengshu_val" name="zhengshu_val" value="" />
621
                                 </div>
928
                                 </div>
622
 
929
 
646
                         ?>
953
                         ?>
647
                         <fieldset>
954
                         <fieldset>
648
                             <div class="form-top">
955
                             <div class="form-top">
956
+                                <div class="form-title">
957
+                                    <span>职称申报&nbsp;一键测评</span>
958
+                                </div>
649
                                 <div class="form-top-left">
959
                                 <div class="form-top-left">
650
-                                    <h3>Step 4 / 5</h3>
651
-                                    <p>安全验证:</p>
960
+                                    <h3>第四步</h3>
961
+                                    <p>请填写您用于接收匹配结果的手机号码:</p>
652
                                 </div>
962
                                 </div>
653
                                 <div class="form-top-right">
963
                                 <div class="form-top-right">
654
-                                    <i class="fa fa-twitter"></i>
964
+                                    <!--<i class="fa fa-twitter"></i>-->
965
+                                    <img src="/template/pc/js/botstrap-step/img_4.png" />
655
                                 </div>
966
                                 </div>
656
                             </div>
967
                             </div>
657
                             <div class="form-bottom">
968
                             <div class="form-bottom">
663
                                 </div>
974
                                 </div>
664
                                 <div class="form-group" style="position:relative;">
975
                                 <div class="form-group" style="position:relative;">
665
                                     <input type="text" name="yzm" value="" placeholder="请输入验证码" class="form-first-name form-control" id="per-code" style="width:60%;">
976
                                     <input type="text" name="yzm" value="" placeholder="请输入验证码" class="form-first-name form-control" id="per-code" style="width:60%;">
666
-                                    <button type="button" class="btn btn-default get-code get-code-hover email-retrieve-code" id="retrieve-code" style="width: 38%;position:absolute;right: 0;top: 0;background-color:#19b9e7 !important;padding: 0 7px;">获取验证码</button>
977
+                                    <button type="button" class="btn btn-default get-code get-code-hover email-retrieve-code" id="retrieve-code" style="width: 38%;position:absolute;right: 0;top: 0;background-color:#3366ff !important;padding: 0 7px;height:43px;">获取验证码</button>
667
                                 </div>
978
                                 </div>
668
                                 <input type="hidden" name="__mobile_1_token__" value=""  id="token" />
979
                                 <input type="hidden" name="__mobile_1_token__" value=""  id="token" />
669
                                 <button type="button" class="btn btn-previous">上一步</button>
980
                                 <button type="button" class="btn btn-previous">上一步</button>
675
                         {/eyou:if}
986
                         {/eyou:if}
676
                     </form>
987
                     </form>
677
 
988
 
989
+                    </div>
678
                 </div>
990
                 </div>
679
             </div>
991
             </div>
680
         </div>
992
         </div>
685
 {eyou:if condition='($is_mobile === false)'}
997
 {eyou:if condition='($is_mobile === false)'}
686
 
998
 
687
 <div class="col-sm-6 col-sm-offset-3 form-box" id="sele-box" style="padding-top:0;padding-bottom: 50px;text-align: left;margin-top:-60px;">
999
 <div class="col-sm-6 col-sm-offset-3 form-box" id="sele-box" style="padding-top:0;padding-bottom: 50px;text-align: left;margin-top:-60px;">
688
-    <form class="form-inline" style="width:700px;">
1000
+    <form class="form-inline form-inline-pc">
689
         <div class="form-group" style="float: left;width: 100%;height: 20px;margin-bottom:5px;text-align: left;">
1001
         <div class="form-group" style="float: left;width: 100%;height: 20px;margin-bottom:5px;text-align: left;">
690
-            <label for="exampleInputFile" style="color: #fff;">如果您提交过资料信息:</label>
1002
+            <label class="form-info-t" for="exampleInputFile" style="color: #fff;">如果您提交过资料信息:</label>
691
         </div>
1003
         </div>
692
         <div class="form-group" style="text-align: left;width: 100%;float: left;width: 100%;margin-bottom:5px;text-align: center;">
1004
         <div class="form-group" style="text-align: left;width: 100%;float: left;width: 100%;margin-bottom:5px;text-align: center;">
693
             <label class="sr-only" for="form-first-name">请输入手机号码</label>
1005
             <label class="sr-only" for="form-first-name">请输入手机号码</label>
694
-            <input type="text" name="p" placeholder="请输入手机号码" class="form-first-name form-control" id="ffnp" value="<?php echo $param['p']?$param['p']:$detail['sjhm']; ?>" style="width: 250px;float: left;">
1006
+            <input type="text" name="p" placeholder="请输入手机号码" class="form-first-name form-control" id="ffnp" value="<?php echo $param['p']?$param['p']:$detail['sjhm']; ?>" style="width: 170px;">
695
             <input type="hidden" name="t" value="" id="times"/>
1007
             <input type="hidden" name="t" value="" id="times"/>
696
             <input type="text" name="cxyzm" value="" placeholder="请输入验证码" class="form-first-name form-control" id="cx-code" style="width: 150px;float: left;margin-left:5px;">
1008
             <input type="text" name="cxyzm" value="" placeholder="请输入验证码" class="form-first-name form-control" id="cx-code" style="width: 150px;float: left;margin-left:5px;">
697
-            <button type="button" class="btn btn-default get-code get-code-hover email-retrieve-code" id="cx-rel-code" style="background-color:#19b9e7 !important;padding: 0 7px;width: 100px;float: left;">获取验证码</button>
1009
+            <button type="button" class="btn btn-default get-code get-code-hover email-retrieve-code" id="cx-rel-code" style="background-color:#3366ff !important;padding: 0 7px;width: 116px;float: left;">获取验证码</button>
698
             <button type="submit" id="cx-submit" class="btn btn-default btn-sm" onclick="return false;" style="float: left;margin-left: 5px;">立即查询</button>
1010
             <button type="submit" id="cx-submit" class="btn btn-default btn-sm" onclick="return false;" style="float: left;margin-left: 5px;">立即查询</button>
699
         </div>
1011
         </div>
700
         <div class="form-group"  style="position:relative;float: left;width: 100%;height: 50px;margin-bottom:5px;text-align: center;">
1012
         <div class="form-group"  style="position:relative;float: left;width: 100%;height: 50px;margin-bottom:5px;text-align: center;">
715
         <div class="form-group" style="text-align: left;width: 100%;float: left;width: 100%;margin-bottom:5px;">
1027
         <div class="form-group" style="text-align: left;width: 100%;float: left;width: 100%;margin-bottom:5px;">
716
             <label for="exampleInputFile" style="color: #fff;">如果您提交过资料信息:</label>
1028
             <label for="exampleInputFile" style="color: #fff;">如果您提交过资料信息:</label>
717
             <label class="sr-only" for="form-first-name">请输入手机号码</label>
1029
             <label class="sr-only" for="form-first-name">请输入手机号码</label>
718
-            <input type="text" name="p" placeholder="请输入手机号码" class="form-first-name form-control" id="ffnp" value="<?php echo $param['p']?$param['p']:$detail['sjhm']; ?>">
1030
+            <input type="text" name="p" placeholder="请输入手机号码" class="form-first-name form-control" id="ffnp" value="<?php echo $param['p']?$param['p']:$detail['sjhm']; ?>" >
719
             <input type="hidden" name="t" value="" id="times"/>
1031
             <input type="hidden" name="t" value="" id="times"/>
720
         </div>
1032
         </div>
721
         <div class="form-group"  style="position:relative;float: left;width: 100%;height: 50px;margin-bottom:5px;">
1033
         <div class="form-group"  style="position:relative;float: left;width: 100%;height: 50px;margin-bottom:5px;">

+ 156
- 0
template/pc/js/botstrap-step/autoScroll.js 查看文件

1
+/**
2
+ *    Name   : 循环滚动列表
3
+ *  Author :子纯
4
+ *    Time   :2015-12-15
5
+ **/
6
+(function(jQuery){
7
+    $.fn.autoScroll = function (o) {
8
+        o = $.extend({                                    //设置默认参数
9
+            direction: 'left',
10
+            interval: null,
11
+            speed: null,
12
+            distance: null,
13
+            liWidth: null,
14
+            liHeight: null,
15
+            showNum: null
16
+        },o || {});
17
+        return this.each(function(){                    //回调开始
18
+            var $ts = $(this),
19
+                $ul = $ts.children("ul"),
20
+                $li = $ul.children("li"),
21
+                len = $li.length;
22
+            if (o.direction == 'up' || o.direction == 'down' ){            //根据类型设置css
23
+                $ts.css({ "width": "100%", "height": o.showNum * o.liHeight });
24
+                $ul.css({ "width": "100%", "height": len * o.liHeight });
25
+                $li.css({ "float": "none", "width": "100%", "height": o.liHeight, "margin": 0,"padding": 0 });
26
+            };
27
+            if (o.direction == 'left' || o.direction == 'right' ){        //其实也可以在css里写好
28
+                $ts.css({ "width": o.showNum * o.liWidth });
29
+                $ul.css({ "width": len * o.liWidth });
30
+                $li.css({ "float": "left" });
31
+            };
32
+            switch (o.direction){                                        //分四种情况,进行事件调用
33
+                case 'left': sroLeft();
34
+                    break;
35
+                case 'right':sroRight();
36
+                    break;
37
+                case 'up':      sroUp();
38
+                    break;
39
+                case 'down': sroDown();
40
+                    break;
41
+            };
42
+            function sroLeft(){                                            //向左滚动事件
43
+                $ul.css("left", 0);
44
+                var left;
45
+                function leftMoving(){
46
+                    var dis = -o.distance,
47
+                        dif = -o.liWidth * (len - o.showNum);
48
+                    left = parseFloat($ul.css("left"));
49
+                    if (left <= dif){
50
+                        $ul.css("left",0);
51
+                        left = 0;
52
+                        $ul.delay(o.interval);
53
+                    };
54
+                    var ltDis = left + dis;
55
+                    if(ltDis <= dif){
56
+                        ltDis = dif;
57
+                    };
58
+                    $ul.animate({"left":ltDis+"px"}, o.speed);
59
+                };
60
+                $ul.hover(                                                //鼠标移上、移下的阻止与恢复滚动
61
+                    function(){
62
+                        clearInterval(fnLeft);
63
+                    },
64
+                    function(){
65
+                        fnLeft = setInterval(function(){leftMoving()}, o.interval);
66
+                    }
67
+                );
68
+                fnLeft = setInterval(function(){leftMoving()}, o.interval);
69
+            };
70
+            function sroRight(){                                        //向右滚动事件
71
+                $ul.css("right", 0);
72
+                var right;
73
+                function rightMoving(){
74
+                    var dis = -o.distance,
75
+                        dif = -o.liWidth * (len - o.showNum);
76
+                    right = parseFloat($ul.css("right"));
77
+                    if (right <= dif){
78
+                        $ul.css("right",0);
79
+                        right = 0;
80
+                        $ul.delay(o.interval);
81
+                    };
82
+                    var rtDis = right + dis;
83
+                    if(rtDis <= dif){
84
+                        rtDis = dif;
85
+                    };
86
+                    $ul.animate({"right":rtDis+"px"}, o.speed);
87
+                };
88
+                $ul.hover(
89
+                    function(){
90
+                        clearInterval(fnRight);
91
+                    },
92
+                    function(){
93
+                        fnRight = setInterval(function(){rightMoving()}, o.interval);
94
+                    }
95
+                );
96
+                fnRight = setInterval(function(){rightMoving()}, o.interval);
97
+            };
98
+            function sroUp(){                                            //向上滚动事件
99
+                $ul.css("top", 0);
100
+                var top;
101
+                function upMoving(){
102
+                    var dis = -o.distance,
103
+                        dif = -o.liHeight * (len - o.showNum);
104
+                    top =  parseFloat($ul.css("top"));
105
+                    if (top <= dif){
106
+                        $ul.css("top",0);
107
+                        top = 0;
108
+                        $ul.delay(o.interval);
109
+                    };
110
+                    var tpDis = top + dis;
111
+                    if(tpDis <= dif){
112
+                        tpDis = dif;
113
+                    };
114
+                    $ul.animate({"top":tpDis+"px"}, o.speed);
115
+                };
116
+                $ul.hover(
117
+                    function(){
118
+                        clearInterval(fnUp);
119
+                    },
120
+                    function(){
121
+                        fnUp = setInterval(function(){upMoving()}, o.interval);
122
+                    }
123
+                );
124
+                fnUp = setInterval(function(){upMoving()}, o.interval);
125
+            };
126
+            function sroDown(){                                            //向下滚动事件
127
+                $ul.css("bottom",0);
128
+                var bottom;
129
+                function downMoving(){
130
+                    var dis = -o.distance,
131
+                        dif = -o.liHeight * (len - o.showNum);
132
+                    bottom =  parseFloat($ul.css("bottom"));
133
+                    if (bottom <= dif){
134
+                        $ul.css("bottom",0);
135
+                        bottom = 0;
136
+                        $ul.delay(o.interval);
137
+                    };
138
+                    var bmDis = bottom + dis;
139
+                    if(bmDis <= dif){
140
+                        bmDis = dif;
141
+                    };
142
+                    $ul.animate({"bottom":bmDis+"px"}, o.speed);
143
+                };
144
+                $ul.hover(
145
+                    function(){
146
+                        clearInterval(fnDown);
147
+                    },
148
+                    function(){
149
+                        fnDown = setInterval(function(){downMoving()}, o.interval);
150
+                    }
151
+                );
152
+                fnDown = setInterval(function(){downMoving()}, o.interval);
153
+            };
154
+        });
155
+    };
156
+})(jQuery);

二進制
template/pc/js/botstrap-step/bg.jpg 查看文件


+ 3
- 3
template/pc/js/botstrap-step/form-elements.css 查看文件

83
     margin: 0;
83
     margin: 0;
84
     padding: 0 20px;
84
     padding: 0 20px;
85
     vertical-align: middle;
85
     vertical-align: middle;
86
-    background: #19b9e7;
86
+    background: #3366ff;
87
     border: 0;
87
     border: 0;
88
     font-family: 'Roboto', sans-serif;
88
     font-family: 'Roboto', sans-serif;
89
     font-size: 16px;
89
     font-size: 16px;
100
 
100
 
101
 button.btn:active { outline: 0; opacity: 0.6; color: #fff; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
101
 button.btn:active { outline: 0; opacity: 0.6; color: #fff; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
102
 
102
 
103
-button.btn:focus { outline: 0; opacity: 0.6; background: #19b9e7; color: #fff; }
103
+button.btn:focus { outline: 0; opacity: 0.6; background: #3366ff; color: #fff; }
104
 
104
 
105
-button.btn:active:focus, button.btn.active:focus { outline: 0; opacity: 0.6; background: #19b9e7; color: #fff; }
105
+button.btn:active:focus, button.btn.active:focus { outline: 0; opacity: 0.6; background: #3366ff; color: #fff; }

二進制
template/pc/js/botstrap-step/img.png 查看文件


二進制
template/pc/js/botstrap-step/img_1.png 查看文件


二進制
template/pc/js/botstrap-step/img_2.png 查看文件


二進制
template/pc/js/botstrap-step/img_3.png 查看文件


二進制
template/pc/js/botstrap-step/img_4.png 查看文件


二進制
template/pc/js/botstrap-step/img_5.png 查看文件


二進制
template/pc/js/botstrap-step/laba.png 查看文件


+ 33
- 10
template/pc/js/botstrap-step/scripts.js 查看文件

4
     /*
4
     /*
5
         Fullscreen background
5
         Fullscreen background
6
     */
6
     */
7
-    $.backstretch("/template/pc/js/botstrap-step/cb10b62fa1f10acac99339fcfc511914_1.jpg");
7
+    $.backstretch("/template/pc/js/botstrap-step/bg.jpg");
8
 
8
 
9
     $('#top-navbar-1').on('shown.bs.collapse', function(){
9
     $('#top-navbar-1').on('shown.bs.collapse', function(){
10
         $.backstretch("resize");
10
         $.backstretch("resize");
52
         }
52
         }
53
 
53
 
54
 
54
 
55
-
56
-
57
-
58
-
59
-
60
         console.log($(this).index());
55
         console.log($(this).index());
61
         //调用专业
56
         //调用专业
62
         if($(this).index() == 4) {
57
         if($(this).index() == 4) {
63
 
58
 
64
             //隐藏查询表单
59
             //隐藏查询表单
65
             $('#sele-box').hide();
60
             $('#sele-box').hide();
61
+            $('.ssl-box').hide();
66
 
62
 
67
 
63
 
68
             $('#loadingModal').modal('show');
64
             $('#loadingModal').modal('show');
80
                     console.log('Ajax response:', data);
76
                     console.log('Ajax response:', data);
81
                     console.log(data.data);
77
                     console.log(data.data);
82
                     var html = '';
78
                     var html = '';
79
+                    var html2 = '';
83
                     $.each(data.data, function (i, e) {
80
                     $.each(data.data, function (i, e) {
84
                         console.log(e);
81
                         console.log(e);
85
                         html += '<p class="form-control-static" style="min-height:20px;padding-top:5px;padding-bottom:0px;"><label class="checkbox-inline"><input type="checkbox" name="zy[]" id="inlineCheckbox'+i+'" value="'+e.id+'"> '+e.title+'</label></p>';
82
                         html += '<p class="form-control-static" style="min-height:20px;padding-top:5px;padding-bottom:0px;"><label class="checkbox-inline"><input type="checkbox" name="zy[]" id="inlineCheckbox'+i+'" value="'+e.id+'"> '+e.title+'</label></p>';
83
+                        html2 += '<span class="hjk">'+e.title+'</span>';
86
                     });
84
                     });
87
 
85
 
88
                     if(html == ''){
86
                     if(html == ''){
90
                         $('#zy_box').hide();
88
                         $('#zy_box').hide();
91
                         html = '暂无相关要求';
89
                         html = '暂无相关要求';
92
                     }
90
                     }
91
+                    if(html2 == ''){
92
+                        //隐藏
93
+                        $('#zy_box').hide();
94
+                        html2 = '暂无相关要求';
95
+                    }
93
 
96
 
94
                     $('#zys').empty();
97
                     $('#zys').empty();
95
                     $('#zys').append(html);
98
                     $('#zys').append(html);
96
 
99
 
97
 
100
 
101
+                    $('#zys-list').empty();
102
+                    $('#zys-list').append(html2);
103
+
98
 
104
 
99
                 },
105
                 },
100
                 error: function (xhr, status, error) {
106
                 error: function (xhr, status, error) {
109
         //填完个人资料 点击下一步
115
         //填完个人资料 点击下一步
110
         if($(this).index() == 7) {
116
         if($(this).index() == 7) {
111
 
117
 
112
-
113
-
114
-
115
             var b = $('#choose6').val();
118
             var b = $('#choose6').val();
116
             console.log(a);
119
             console.log(a);
117
             if(b == 0){
120
             if(b == 0){
166
 
169
 
167
                     $.each(data.data, function (i, e) {
170
                     $.each(data.data, function (i, e) {
168
                         console.log(e);
171
                         console.log(e);
169
-                        html += '<p class="form-control-static" style="min-height:20px;padding-top:5px;padding-bottom:0px;"><label class="checkbox-inline"><input type="checkbox" name="zs[]" id="inlineCheckbox' + i + '" value="' + e.id + '"> ' + e.title + '</label><font style="margin-left:15px;"><select className="form-control-s" name="zsnx[]">'+options+'</select></font></p>';
172
+                        html += '<p class="form-control-static" style="min-height:20px;padding-top:5px;padding-bottom:0px;"><label class="checkbox-inline" style="margin-top: -4px;font-size: 15px;"><input type="checkbox" name="zs[]" id="inlineCheckbox' + i + '" value="' + e.id + '"> ' + e.title + '</label><font style="margin-left:15px;"><select className="form-control-s" name="zsnx[]">'+options+'</select></font></p>';
170
                     });
173
                     });
171
 
174
 
172
                     if(html == ''){
175
                     if(html == ''){
248
         if($(this).index() == 6){
251
         if($(this).index() == 6){
249
             //隐藏查询表单
252
             //隐藏查询表单
250
             $('#sele-box').show();
253
             $('#sele-box').show();
254
+            $('.ssl-box').show();
251
         }
255
         }
252
 
256
 
253
         $(this).parents('fieldset').fadeOut(400, function() {
257
         $(this).parents('fieldset').fadeOut(400, function() {
461
     var times= timestamp + _getRandomString(32);
465
     var times= timestamp + _getRandomString(32);
462
     console.log(times);
466
     console.log(times);
463
     $('#times').val(times);
467
     $('#times').val(times);
468
+
469
+
470
+    /**
471
+     * 点击显示成功 示例
472
+     */
473
+    $('.but-success').click(function (){
474
+        //$('.ssl-box').toggle();
475
+        //.fadeOut();
476
+        //.fadeIn();
477
+        if($('.ssl-box').is(":hidden")){
478
+            $('.ssl-box').fadeIn().show();
479
+            $('.but-success').addClass('but-success2');
480
+        }else{
481
+            $('.ssl-box').fadeOut().hide();
482
+            $('.but-success').removeClass('but-success2');
483
+        }
484
+    });
485
+
486
+
464
 });
487
 });

+ 1347
- 8
template/pc/js/botstrap-step/style.css
文件差異過大導致無法顯示
查看文件


+ 1
- 1
template/pc/lists_yjcp_cp.htm 查看文件

9
 <link rel="stylesheet" href="/template/pc/js/botstrap-step/bootstrap.min.css">
9
 <link rel="stylesheet" href="/template/pc/js/botstrap-step/bootstrap.min.css">
10
 <link rel="stylesheet" href="/template/pc/js/botstrap-step/font-awesome.min.css">
10
 <link rel="stylesheet" href="/template/pc/js/botstrap-step/font-awesome.min.css">
11
 <link rel="stylesheet" href="/template/pc/js/botstrap-step/form-elements.css">
11
 <link rel="stylesheet" href="/template/pc/js/botstrap-step/form-elements.css">
12
-<link rel="stylesheet" href="/template/pc/js/botstrap-step/style.css">
12
+<link rel="stylesheet" href="/template/pc/js/botstrap-step/style.css?t=<?php echo time();?>">
13
 
13
 
14
 <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
14
 <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
15
 <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
15
 <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->

Loading…
取消
儲存