sugangqiang 2 роки тому
батько
коміт
26a20b3351
2 змінених файлів з 5 додано та 6 видалено
  1. 2 0
      app/common.php
  2. 3 6
      app/enterprise/view/index/center_page.html

+ 2 - 0
app/common.php

@@ -277,6 +277,8 @@ function getHostWithProtocol() {
  * @return string
  */
 function getStoragePath($path) {
+    if (!$path)
+        return "";
     if (strpos($path, "jjrcw") === 0) {
         $path = "https://rc.jucai.gov.cn/ftp/{$path}";
     } else {

+ 3 - 6
app/enterprise/view/index/center_page.html

@@ -62,8 +62,7 @@
                                                         {$ep.name}
                                                     </td>
                                                     <td rowspan="4"  style="border: 1px solid #c0a16b">
-                                                        <label>营业执照</label><img onclick="Feng.showImg(this)" id="yyzz" alt="营业执照" src="{$ep.imgurl|getStoragePath}"
-                                                                                        style="max-width: 100px;">
+                                                        <label>营业执照</label><img onclick="Feng.showImg(this)" id="yyzz" src="{$ep.imgurl|getStoragePath}" style="max-width: 100px;">
                                                     </td>
                                                 </tr>
                                                 <tr>
@@ -118,8 +117,7 @@
                                                     </td>
                                                     <td rowspan="2" style="border: 1px solid #c0a16b">
                                                         <label>开户许可证</label>
-                                                        <img onclick="Feng.showImg(this)" id="bankImg" alt="开户许可证"
-                                                             src="{$ep.bankImg|getStoragePath}" style="max-width: 100px;">
+                                                        <img onclick="Feng.showImg(this)" id="bankImg" src="{$ep.bankImg|getStoragePath}" style="max-width: 100px;">
                                                     </td>
                                                 </tr>
                                                 <tr>
@@ -164,8 +162,7 @@
                                                     </td>
                                                     <td rowspan="2" style="border: 1px solid #c0a16b">
                                                         <label>行业领域佐证材料</label>
-                                                        <img onclick="Feng.showImg(this)" id="domainImg" alt="行业领域佐证材料"
-                                                                             src="{$ep.domainImg|getStoragePath}" style="max-width: 100px;">
+                                                        <img onclick="Feng.showImg(this)" id="domainImg" src="{$ep.domainImg|getStoragePath}" style="max-width: 100px;">
                                                     </td>
                                                 </tr>
                                                 <tr class="type1">