Your Name 2 veckor sedan
förälder
incheckning
90e0544e90
1 ändrade filer med 3 tillägg och 2 borttagningar
  1. 3
    2
      template/pc/components/index/kop.htm

+ 3
- 2
template/pc/components/index/kop.htm Visa fil

@@ -701,8 +701,9 @@ $tyu_num = 1;
701 701
         if (!empty($map_area)) {
702 702
             foreach ($map_area as $k => $v) {
703 703
                 if (strpos($result_map, $v) !== false) {
704
+                    $downname = explode('.'.$map_file[$v]);
704 705
                     //存在该地区
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
+                    echo "<a href='" . $base_url . $map_file[$v] . "' target='_blank' download='".$downname[0]."' style='color:#000 !important;margin-right:10px;'>" . $map_file[$v] . "</a>";
706 707
                 }
707 708
             }
708 709
         }
@@ -715,7 +716,7 @@ $tyu_num = 1;
715 716
 <?php
716 717
 echo "<p><font style='margin-bottom: 10px; margin-right: 10px;'>业绩材料下载:</font>";
717 718
 //存在该地区
718
-echo "<a href='./uploads/pdf/0/职称申报材料汇总.pdf' target='_blank' download='".$map_file[$v]."' style='color:red !important;margin-right:10px;font-weight: bold;text-decoration: underline;'>职称申报材料汇总.pdf</a>";
719
+echo "<a href='./uploads/pdf/0/职称申报材料汇总.pdf' target='_blank' download='职称申报材料汇总' style='color:red !important;margin-right:10px;font-weight: bold;text-decoration: underline;'>职称申报材料汇总.pdf</a>";
719 720
 echo "</p>";
720 721
 ?>
721 722
 

Loading…
Avbryt
Spara