Your Name 2 weeks ago
parent
commit
387536d99c
2 changed files with 18 additions and 18 deletions
  1. 1
    1
      template/pc/components/index/kop.htm
  2. 17
    17
      template/pc/components/index/step.htm

+ 1
- 1
template/pc/components/index/kop.htm View File

702
             foreach ($map_area as $k => $v) {
702
             foreach ($map_area as $k => $v) {
703
                 if (strpos($result_map, $v) !== false) {
703
                 if (strpos($result_map, $v) !== false) {
704
                     //存在该地区
704
                     //存在该地区
705
-                    echo "<a href='" . $base_url . $map_file[$v] . ".pdf' target='_blank' download='".$map_file[$v]."' style='color:#000 !important;margin-right:10px;'>" . $map_file[$v] . "</a>";
705
+                    echo "<a href='" . $base_url . $map_file[$v] . "' target='_blank' download='".$map_file[$v]."' style='color:#000 !important;margin-right:10px;'>" . $map_file[$v] . "</a>";
706
                 }
706
                 }
707
             }
707
             }
708
         }
708
         }

+ 17
- 17
template/pc/components/index/step.htm View File

584
                                     $base_url = './uploads/pdf/2/';
584
                                     $base_url = './uploads/pdf/2/';
585
                                     $map_area = ['吉林','内蒙古','新疆','天津','陕西','山东'];
585
                                     $map_area = ['吉林','内蒙古','新疆','天津','陕西','山东'];
586
                                     $map_file = [
586
                                     $map_file = [
587
-                                        '吉林' => '吉林中级专业对应表',
588
-                                        '内蒙古' => '内蒙古中级专业对应表',
589
-                                        '新疆' => '新疆中级专业对应表',
590
-                                        '天津' => '天津中级专业对应表',
591
-                                        '陕西' => '陕西中级专业对应表',
592
-                                        '山东' => '山东中级专业对应表',
587
+                                        '吉林' => '吉林中级专业对应表.pdf',
588
+                                        '内蒙古' => '内蒙古中级专业对应表.pdf',
589
+                                        '新疆' => '新疆中级专业对应表.pdf',
590
+                                        '天津' => '天津中级专业对应表.pdf',
591
+                                        '陕西' => '陕西中级专业对应表.pdf',
592
+                                        '山东' => '山东中级专业对应表.pdf',
593
                                     ];
593
                                     ];
594
                                 }else if(strpos($extend_info['sbdj'],'副高') !== false){
594
                                 }else if(strpos($extend_info['sbdj'],'副高') !== false){
595
                                     $base_url = './uploads/pdf/1/';
595
                                     $base_url = './uploads/pdf/1/';
596
                                     $map_area = ['广西','河北','吉林','内蒙古','山东','天津','新疆','陕西'];
596
                                     $map_area = ['广西','河北','吉林','内蒙古','山东','天津','新疆','陕西'];
597
                                     $map_file = [
597
                                     $map_file = [
598
-                                        '广西' => '广西副高评审条件及专业表',
599
-                                        '河北' => '河北副高评审条件及专业表',
600
-                                        '吉林' => '吉林副高评审条件及专业表',
601
-                                        '内蒙古' => '内蒙古副高评审条件及专业表',
602
-                                        '山东' => '山东副高评审条件及专业表',
603
-                                        '天津' => '天津副高评审条件及专业表',
604
-                                        '新疆' => '新疆副高评审条件及专业表',
605
-                                        '陕西' => '陕西副高评审条件及专业表',
598
+                                        '广西' => '广西副高评审条件及专业表.png',
599
+                                        '河北' => '河北副高评审条件及专业表.png',
600
+                                        '吉林' => '吉林副高评审条件及专业表.png',
601
+                                        '内蒙古' => '内蒙古副高评审条件及专业表.png',
602
+                                        '山东' => '山东副高评审条件及专业表.png',
603
+                                        '天津' => '天津副高评审条件及专业表.png',
604
+                                        '新疆' => '新疆副高评审条件及专业表.png',
605
+                                        '陕西' => '陕西副高评审条件及专业表.png',
606
                                     ];
606
                                     ];
607
                                 } else if(strpos($extend_info['sbdj'],'正高') !== false){
607
                                 } else if(strpos($extend_info['sbdj'],'正高') !== false){
608
                                     $base_url = './uploads/pdf/0/';
608
                                     $base_url = './uploads/pdf/0/';
609
                                     $map_area = ['河北','吉林','内蒙古'];
609
                                     $map_area = ['河北','吉林','内蒙古'];
610
                                     $map_file = [
610
                                     $map_file = [
611
-                                        '河北' => '河北正高评审条件及专业表',
612
-                                        '吉林' => '吉林正高评审条件及专业表',
613
-                                        '内蒙古' => '内蒙古正高评审条件及专业表',
611
+                                        '河北' => '河北正高评审条件及专业表.png',
612
+                                        '吉林' => '吉林正高评审条件及专业表.png',
613
+                                        '内蒙古' => '内蒙古正高评审条件及专业表.png',
614
                                     ];
614
                                     ];
615
                                 }else {
615
                                 }else {
616
                                     $base_url = '';
616
                                     $base_url = '';

Loading…
Cancel
Save