Bladeren bron

上传图片

suochencheng 7 jaren geleden
bovenliggende
commit
e7c95a0a88
100 gewijzigde bestanden met toevoegingen van 113 en 23 verwijderingen
  1. 0 2
      pom.xml
  2. 7 0
      src/main/java/com/izouma/awesomeadmin/service/OSSFileService.java
  3. 97 11
      src/main/java/com/izouma/awesomeadmin/util/ImagesUtil.java
  4. 5 2
      src/main/java/com/izouma/awesomeadmin/web/OrderImageController.java
  5. 1 1
      src/main/vue/src/components/ImgItem.vue
  6. 1 1
      src/main/webapp/WEB-INF/html/admin.html
  7. 1 1
      src/main/webapp/WEB-INF/html/index.html
  8. 1 1
      src/main/webapp/WEB-INF/html/loginAdmin.html
  9. 0 0
      src/main/webapp/static/css/admin.5c411643b8e24842ecf841445c555b30.css
  10. 0 1
      src/main/webapp/static/css/index.17dab5fb2dbb43c4cb8366809eb9a04c.css
  11. 0 0
      src/main/webapp/static/js/0.de62cc186a05be0e0f3d.js
  12. 0 0
      src/main/webapp/static/js/1.c88c806b64a89f945a4e.js
  13. 0 0
      src/main/webapp/static/js/101.d63d7b3ff2887b93929d.js
  14. 0 0
      src/main/webapp/static/js/102.dd7ff2df6f5c3c7070ce.js
  15. 0 0
      src/main/webapp/static/js/103.8cf1e281ea643e8f002c.js
  16. 0 1
      src/main/webapp/static/js/110.07023dfe1d5c87cc5fc2.js
  17. 0 0
      src/main/webapp/static/js/137.f0fd4646660f4bc68f33.js
  18. 0 0
      src/main/webapp/static/js/138.3abcc30f1d58d88606fa.js
  19. 0 0
      src/main/webapp/static/js/139.477b3d2350ad5549b246.js
  20. 0 0
      src/main/webapp/static/js/14.0949d9ad14d1b9c0d1b4.js
  21. 0 1
      src/main/webapp/static/js/140.b606f4181cbc41c7038c.js
  22. 0 0
      src/main/webapp/static/js/15.ebb39a673ad58660bf51.js
  23. 0 0
      src/main/webapp/static/js/152.b0344f8e331a4469d3a0.js
  24. 0 0
      src/main/webapp/static/js/153.540f9ba1dc80fd5b9092.js
  25. 0 0
      src/main/webapp/static/js/154.fbcf42d1428859c7ec91.js
  26. 0 0
      src/main/webapp/static/js/155.5d929502e56c27b0b810.js
  27. 0 0
      src/main/webapp/static/js/156.c2270942b0e23fbebdce.js
  28. 0 0
      src/main/webapp/static/js/157.174d1db5a583f1c9321b.js
  29. 0 0
      src/main/webapp/static/js/158.44ca3f9f73acfdcabb74.js
  30. 0 0
      src/main/webapp/static/js/159.30af25950f7dd7749db8.js
  31. 0 0
      src/main/webapp/static/js/16.70fd8b3a274839e61cda.js
  32. 0 0
      src/main/webapp/static/js/160.2da0e0b20ede0ea561b5.js
  33. 0 0
      src/main/webapp/static/js/161.5e669af032d011df88f6.js
  34. 0 0
      src/main/webapp/static/js/162.c7fc4dc7521f8776a41a.js
  35. 0 0
      src/main/webapp/static/js/163.7429d464c7ac49eca0a5.js
  36. 0 0
      src/main/webapp/static/js/164.0256affebc0358824598.js
  37. 0 0
      src/main/webapp/static/js/165.445214a20b64ad9438a0.js
  38. 0 0
      src/main/webapp/static/js/166.83a6ccb9f8c5906a3a4a.js
  39. 0 0
      src/main/webapp/static/js/167.5db2cdc1d12b874a73b9.js
  40. 0 0
      src/main/webapp/static/js/168.d24e1e4db19de76f1fcf.js
  41. 0 0
      src/main/webapp/static/js/169.65cbc30e74169a6b53e4.js
  42. 0 0
      src/main/webapp/static/js/170.a7265a55d102005a770f.js
  43. 0 1
      src/main/webapp/static/js/171.72b4466cd3afd79b76a6.js
  44. 0 0
      src/main/webapp/static/js/18.ce07251734b147e3ed5e.js
  45. 0 0
      src/main/webapp/static/js/19.ab4cad61014d1723d279.js
  46. 0 0
      src/main/webapp/static/js/2.2c96f5f226c76a5f0f4a.js
  47. 0 0
      src/main/webapp/static/js/20.42009f8cf39ff8b8739e.js
  48. 0 0
      src/main/webapp/static/js/21.a53febceff4dd7532458.js
  49. 0 0
      src/main/webapp/static/js/22.4076bfbe9f4402eef785.js
  50. 0 0
      src/main/webapp/static/js/23.ba3d21f5c7907e541429.js
  51. 0 0
      src/main/webapp/static/js/24.25accdefe1c38588b120.js
  52. 0 0
      src/main/webapp/static/js/25.0915e59345735c4defb0.js
  53. 0 0
      src/main/webapp/static/js/26.9cba59fab19b0a7349f5.js
  54. 0 0
      src/main/webapp/static/js/27.394aa46c65166d97fbe6.js
  55. 0 0
      src/main/webapp/static/js/28.d8587aedf399180f684d.js
  56. 0 0
      src/main/webapp/static/js/29.83ff26fafb8e88544d9d.js
  57. 0 0
      src/main/webapp/static/js/3.2525679fe14f2d26176e.js
  58. 0 0
      src/main/webapp/static/js/31.c02e6833f57541058ef5.js
  59. 0 0
      src/main/webapp/static/js/32.7755dedf332408c52145.js
  60. 0 0
      src/main/webapp/static/js/33.59418dda757714ca3c88.js
  61. 0 0
      src/main/webapp/static/js/34.6bd8c35f941a94c5ff64.js
  62. 0 0
      src/main/webapp/static/js/35.50ac511fb15bb15c57e1.js
  63. 0 0
      src/main/webapp/static/js/37.cd2caaee413f5b0587e5.js
  64. 0 0
      src/main/webapp/static/js/38.55cf348351de107f7047.js
  65. 0 0
      src/main/webapp/static/js/39.98ee50b4841f00e22e5e.js
  66. 0 0
      src/main/webapp/static/js/4.acd744e4b065783209e7.js
  67. 0 0
      src/main/webapp/static/js/40.a0f57b7abb66daa848d1.js
  68. 0 0
      src/main/webapp/static/js/41.ce972dca80473250a7a9.js
  69. 0 0
      src/main/webapp/static/js/42.a6115a18cf2f4045f6c0.js
  70. 0 0
      src/main/webapp/static/js/43.ca7441940e9f53790f13.js
  71. 0 0
      src/main/webapp/static/js/44.0e8059bf7495ff44caaf.js
  72. 0 0
      src/main/webapp/static/js/45.34eeca79d2b4cbf31434.js
  73. 0 0
      src/main/webapp/static/js/46.f6b69e5975fafcfaf92d.js
  74. 0 0
      src/main/webapp/static/js/47.80fb0e0ba08b63b90bc6.js
  75. 0 0
      src/main/webapp/static/js/48.18c1c8481e0c51edd031.js
  76. 0 0
      src/main/webapp/static/js/49.5e6dce03ffdb8af5b7f0.js
  77. 0 0
      src/main/webapp/static/js/5.f908e18caab50816e401.js
  78. 0 0
      src/main/webapp/static/js/50.c1c87c231a47fb737e99.js
  79. 0 0
      src/main/webapp/static/js/58.6311189d51c321e65927.js
  80. 0 0
      src/main/webapp/static/js/59.72f6e89d0ad06d448cc7.js
  81. 0 0
      src/main/webapp/static/js/6.bd67e3bbbecd4d50bfea.js
  82. 0 0
      src/main/webapp/static/js/60.7971647b6a15e690caa6.js
  83. 0 0
      src/main/webapp/static/js/61.4ac4830468d1a75f3ef2.js
  84. 0 0
      src/main/webapp/static/js/62.774202ec827df205dc5d.js
  85. 0 0
      src/main/webapp/static/js/63.50058a8e6ad2bc7237a7.js
  86. 0 0
      src/main/webapp/static/js/64.e78ad3768abdf7dbf660.js
  87. 0 0
      src/main/webapp/static/js/65.36b2d6d1d0a29961cca7.js
  88. 0 0
      src/main/webapp/static/js/66.0eb5e8d6ccd25d8ab2dd.js
  89. 0 0
      src/main/webapp/static/js/67.c877ec1b96b4b469bea5.js
  90. 0 0
      src/main/webapp/static/js/68.caac672969ec2cc9f887.js
  91. 0 0
      src/main/webapp/static/js/69.993748315f4d073be670.js
  92. 0 0
      src/main/webapp/static/js/7.ef93b936af2df5c2c1f0.js
  93. 0 0
      src/main/webapp/static/js/70.ee00b891b264412cb915.js
  94. 0 0
      src/main/webapp/static/js/71.4879b31521489d431eb8.js
  95. 0 0
      src/main/webapp/static/js/72.deb4bec7d52d01daad77.js
  96. 0 0
      src/main/webapp/static/js/73.2d684595c207fb1cd99e.js
  97. 0 0
      src/main/webapp/static/js/74.2e695499c81b91a1e126.js
  98. 0 0
      src/main/webapp/static/js/75.2b3146ea68862a5c1051.js
  99. 0 0
      src/main/webapp/static/js/8.cf622bf97a269a33f5c0.js
  100. 0 0
      src/main/webapp/static/js/9.afa23357dda7b7ffbef2.js

+ 0 - 2
pom.xml

@@ -1000,8 +1000,6 @@
         </dependency>
 
 
-
-
     </dependencies>
 
 </project>

+ 7 - 0
src/main/java/com/izouma/awesomeadmin/service/OSSFileService.java

@@ -53,6 +53,13 @@ public class OSSFileService {
             object = client.getObject(bucketname, path);
         } catch (Exception r) {
             logger.error("OSS上传异常:", r);
+        } finally {
+
+            try {
+                fin.close();
+            } catch (IOException e) {
+                e.printStackTrace();
+            }
         }
         // 如果不设置content-length, 默认为chunked编码。
         if (object != null) {

+ 97 - 11
src/main/java/com/izouma/awesomeadmin/util/ImagesUtil.java

@@ -1,11 +1,6 @@
 package com.izouma.awesomeadmin.util;
 
-import java.awt.*;
-import java.awt.color.ColorSpace;
-import java.awt.image.*;
-import java.io.*;
-import java.util.Iterator;
-
+import org.apache.commons.io.FileUtils;
 import sun.misc.BASE64Decoder;
 
 import javax.imageio.IIOException;
@@ -13,6 +8,11 @@ import javax.imageio.ImageIO;
 import javax.imageio.ImageReader;
 import javax.imageio.stream.ImageInputStream;
 import javax.imageio.stream.ImageOutputStream;
+import java.awt.*;
+import java.awt.color.ColorSpace;
+import java.awt.image.*;
+import java.io.*;
+import java.util.Iterator;
 
 
 public class ImagesUtil {
@@ -64,14 +64,15 @@ public class ImagesUtil {
      *                  当scale>=1,缩略图height=comBase,width按原图宽高比例;若scale<1,缩略图width=comBase,height按原图宽高比例
      * @throws Exception
      */
-    public static InputStream changeMinPhoto(InputStream fin, String imageType, double comBase,
-                                             double scale) {
+    public static InputStream changeMinPhotoOld(InputStream fin, String imageType, double comBase,
+                                                double scale) {
         try {
             // get image format in a file
             //File file = new File("newimage.jpg");
 
             // create an image input stream from the specified file
-            ImageInputStream iis = ImageIO.createImageInputStream(fin);
+            ByteArrayOutputStream baos = cloneInputStream(fin);
+            ImageInputStream iis = ImageIO.createImageInputStream(new ByteArrayInputStream(baos.toByteArray()));
 
             Iterator<ImageReader> readers = ImageIO.getImageReaders(iis);
             if (readers == null || !readers.hasNext()) {
@@ -88,8 +89,30 @@ public class ImagesUtil {
                     image = reader.read(0); //RGB
                 } catch (IIOException e) {
                     // 读取Raster (没有颜色的转换).
-                    Raster raster = reader.readRaster(0, null);//CMYK
-                    image = createJPEG4(raster);
+//                    Raster raster = reader.readRaster(0, null);//CMYK
+//                    image = createJPEG4(raster);
+
+                    try {
+
+                        String tmpImagename = "CMYK_" + MbappUtil.create_nonce_str() + "." + format;
+                        File src = new File("/tmp/" + tmpImagename);
+                        FileUtils.copyInputStreamToFile(new ByteArrayInputStream(baos.toByteArray()), src);
+                        String[] cmd = {"sh", "-c", "convert -colorspace RGB -resize '4000000@>' -quality 60 /tmp/" + tmpImagename + " /tmp/RGB" + tmpImagename};
+                        //System.out.println("1xxxx:" + new Date());
+                        Process p = Runtime.getRuntime().exec(cmd);
+                        //System.out.println("2xxxx:" + new Date());
+                        p.waitFor();
+                        //System.out.println("3xxxx:" + new Date());
+                        image = ImageIO.read(new FileInputStream(new File("/tmp/RGB" + tmpImagename)));
+                        //System.out.println("4xxxx:" + new Date());
+                        if (!"".equals(tmpImagename)) {//清楚临时文件
+                            deleteFile("/tmp/" + tmpImagename);
+                            deleteFile("/tmp/RGB" + tmpImagename);
+                        }
+
+                    } catch (Exception ee) {
+                        ee.printStackTrace();
+                    }
                 }
             }
 
@@ -129,6 +152,7 @@ public class ImagesUtil {
             ImageOutputStream imageOutput = ImageIO.createImageOutputStream(byteArrayOutputStream);
             ImageIO.write(tag, imageType, imageOutput);
             InputStream inputStream = new ByteArrayInputStream(byteArrayOutputStream.toByteArray());
+            iis.close();
             return inputStream;
         } catch (Exception e) {
             e.printStackTrace();
@@ -136,6 +160,51 @@ public class ImagesUtil {
         return null;
     }
 
+    public static InputStream changeMinPhoto(InputStream fin, String imageType) {
+        try {
+            ByteArrayOutputStream baos = cloneInputStream(fin);
+
+
+            String tmpImagename = "CMYK_" + MbappUtil.create_nonce_str() + "." + imageType;
+            File src = new File("/tmp/" + tmpImagename);
+            FileUtils.copyInputStreamToFile(new ByteArrayInputStream(baos.toByteArray()), src);
+            String[] cmd = {"sh", "-c", "convert -resize '4000000@>' -quality 60 /tmp/" + tmpImagename + " /tmp/RGB" + tmpImagename};
+            //System.out.println("1xxxx:" + new Date());
+            Process p = Runtime.getRuntime().exec(cmd);
+            //System.out.println("2xxxx:" + new Date());
+            p.waitFor();
+            //System.out.println("3xxxx:" + new Date());
+            InputStream inputStream = new FileInputStream(new File("/tmp/RGB" + tmpImagename));
+            //System.out.println("4xxxx:" + new Date());
+            if (!"".equals(tmpImagename)) {//清楚临时文件
+                deleteFile("/tmp/" + tmpImagename);
+                deleteFile("/tmp/RGB" + tmpImagename);
+            }
+
+            return inputStream;
+        } catch (Exception ee) {
+            ee.printStackTrace();
+        }
+        return null;
+    }
+
+
+    private static ByteArrayOutputStream cloneInputStream(InputStream input) {
+        try {
+            ByteArrayOutputStream baos = new ByteArrayOutputStream();
+            byte[] buffer = new byte[1024];
+            int len;
+            while ((len = input.read(buffer)) > -1) {
+                baos.write(buffer, 0, len);
+            }
+            baos.flush();
+            return baos;
+        } catch (IOException e) {
+            e.printStackTrace();
+            return null;
+        }
+    }
+
     private static BufferedImage createJPEG4(Raster raster) {
         int w = raster.getWidth();
         int h = raster.getHeight();
@@ -169,4 +238,21 @@ public class ImagesUtil {
         ColorModel cm = new ComponentColorModel(cs, false, true, Transparency.OPAQUE, DataBuffer.TYPE_BYTE);
         return new BufferedImage(cm, (WritableRaster) raster, true, null);
     }
+
+    public static boolean deleteFile(String fileName) {
+        File file = new File(fileName);
+        // 如果文件路径所对应的文件存在,并且是一个文件,则直接删除
+        if (file.exists() && file.isFile()) {
+            if (file.delete()) {
+                System.out.println("删除单个文件" + fileName + "成功!");
+                return true;
+            } else {
+                System.out.println("删除单个文件" + fileName + "失败!");
+                return false;
+            }
+        } else {
+            System.out.println("删除单个文件失败:" + fileName + "不存在!");
+            return false;
+        }
+    }
 }

+ 5 - 2
src/main/java/com/izouma/awesomeadmin/web/OrderImageController.java

@@ -323,15 +323,17 @@ public class OrderImageController {
                             //System.out.println("5xxxx:" + new Date());
                             String min = OSSFileService.upload(ImagesUtil.changeMinPhoto(
                                     in,
-                                    fileType,
-                                    2000, 1), minPath);
+                                    fileType), minPath);
 
                             imageUploadLog.setUrl(min);
 
+
                             if (!"".equals(srcName)) {//清楚临时文件
                                 deleteFile("/tmp/" + srcName);
                                 deleteFile("/tmp/" + srcName + ".jpg");
                             }
+
+                            in.close();
                         }
 
                         imageUploadLogService.createImageUploadLog(imageUploadLog);
@@ -496,6 +498,7 @@ public class OrderImageController {
 
     /**
      * 统计存储空间
+     *
      * @param record
      * @return
      */

+ 1 - 1
src/main/vue/src/components/ImgItem.vue

@@ -3,7 +3,7 @@
         <template v-if="img[label]">
             <div class="img" v-if='!(imgStyle=="storeUpload"&&img.statusFlag==2)'>
                 <!-- <div class="image" v-if="img" @click="choose" :style="imageStyle" ref="img"></div> -->
-                <img :src="img[label]+'?x-oss-process=image/resize,l_120'" @click="choose" alt="">
+                <img :src="img[label]+'?x-oss-process=image/resize,m_lfit,h_120,w_120'" @click="choose" alt="">
             </div>
             <div class="remark" v-if='!(imgStyle=="storeUpload"&&img.statusFlag==2)'>{{img.imageName}}
                 <span v-if="label=='originalImage'">{{img.remark}}</span>

+ 1 - 1
src/main/webapp/WEB-INF/html/admin.html

@@ -1 +1 @@
-<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=referrer content=origin><title>管理后台</title><link rel=icon href=/static/favicon.ico><script src=/static/polyfill.min.js></script><script src=/static/fontawesome-v5.2.0.js></script><link href=/static/css/admin.5c411643b8e24842ecf841445c555b30.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.e34aa2ef73d4584c9fe1.js></script><script type=text/javascript src=/static/js/vendor.d09a4f8d3e413458d931.js></script><script type=text/javascript src=/static/js/admin.d912c8d8d31065fb5c10.js></script></body></html>
+<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=referrer content=origin><title>管理后台</title><link rel=icon href=/static/favicon.ico><script src=/static/polyfill.min.js></script><script src=/static/fontawesome-v5.2.0.js></script><link href=/static/css/admin.0367d2dd301093c6fc4e8a183d5ecceb.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.a7b9effba3d63045addd.js></script><script type=text/javascript src=/static/js/vendor.d09a4f8d3e413458d931.js></script><script type=text/javascript src=/static/js/admin.b164010b89eb024ea60b.js></script></body></html>

+ 1 - 1
src/main/webapp/WEB-INF/html/index.html

@@ -5,7 +5,7 @@
             position: absolute;
             top: 0;
             left: 0;
-        }</style><link href=/static/css/index.17dab5fb2dbb43c4cb8366809eb9a04c.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.e34aa2ef73d4584c9fe1.js></script><script type=text/javascript src=/static/js/vendor.d09a4f8d3e413458d931.js></script><script type=text/javascript src=/static/js/index.c57dd527b9ac018d6d7a.js></script></body><script>var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
+        }</style><link href=/static/css/index.09bb22a861f3d39410e4ffc07a094cce.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.a7b9effba3d63045addd.js></script><script type=text/javascript src=/static/js/vendor.d09a4f8d3e413458d931.js></script><script type=text/javascript src=/static/js/index.25d1c24672627f881121.js></script></body><script>var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
     var isIE = userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1; //判断是否IE<11浏览器
     var isEdge = userAgent.indexOf("Edge") > -1 && !isIE; //判断是否IE的Edge浏览器
     var isIE11 = userAgent.indexOf('Trident') > -1 && userAgent.indexOf("rv:11.0") > -1;

+ 1 - 1
src/main/webapp/WEB-INF/html/loginAdmin.html

@@ -1 +1 @@
-<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=referrer content=origin><title>管理后台</title><link rel=icon href=/static/favicon.ico><script src=/static/polyfill.min.js></script><link href=/static/css/loginAdmin.93a3f42423a08260c7ba54563141eab6.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.e34aa2ef73d4584c9fe1.js></script><script type=text/javascript src=/static/js/vendor.d09a4f8d3e413458d931.js></script><script type=text/javascript src=/static/js/loginAdmin.258e0caecb7468f979cb.js></script></body></html>
+<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=referrer content=origin><title>管理后台</title><link rel=icon href=/static/favicon.ico><script src=/static/polyfill.min.js></script><link href=/static/css/loginAdmin.93a3f42423a08260c7ba54563141eab6.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.a7b9effba3d63045addd.js></script><script type=text/javascript src=/static/js/vendor.d09a4f8d3e413458d931.js></script><script type=text/javascript src=/static/js/loginAdmin.258e0caecb7468f979cb.js></script></body></html>

File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/css/admin.5c411643b8e24842ecf841445c555b30.css


File diff suppressed because it is too large
+ 0 - 1
src/main/webapp/static/css/index.17dab5fb2dbb43c4cb8366809eb9a04c.css


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/0.de62cc186a05be0e0f3d.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/1.c88c806b64a89f945a4e.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/101.d63d7b3ff2887b93929d.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/102.dd7ff2df6f5c3c7070ce.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/103.8cf1e281ea643e8f002c.js


+ 0 - 1
src/main/webapp/static/js/110.07023dfe1d5c87cc5fc2.js

@@ -1 +0,0 @@
-webpackJsonp([110],{"76TP":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var s={name:"home",data:function(){return{joinInfo:{},bannerList:[]}},mounted:function(){var t=this;this.$http.get({url:"/joinUs/getOne",data:{id:1}}).then(function(n){n.success&&(t.joinInfo=n.data)}).catch(function(t){console.log(t)}),this.$http.get({url:"/bannerInfo/all",data:{location:14}}).then(function(n){n.success&&(t.bannerList=n.data)}).catch(function(t){console.log(t)})},computed:{},methods:{goNext:function(){window.open(this.joinInfo.zhaopin)}}},i={render:function(){var t=this,n=t.$createElement,s=t._self._c||n;return s("div",{staticClass:"conatiner"},[s("el-carousel",{staticClass:"swiper banner",class:[1==t.bannerList.length?"noButton":""],attrs:{height:"220px",interval:4e3}},[t._l(t.bannerList,function(n){return[s("el-carousel-item",{style:{backgroundImage:"url("+n.imageUrl+")"}},[n.url?s("a",{attrs:{href:n.url}}):t._e()])]})],2),t._v(" "),s("div",{staticClass:"content"},[t._m(0),t._v(" "),s("div",{staticClass:"content-content"},[s("div",{staticClass:"content-text"},[s("div",{domProps:{innerHTML:t._s(t.joinInfo.manifesto)}}),t._v("\n                邮箱:"+t._s(t.joinInfo.email)+"\n                "),s("br"),t._v(" 联系方式:"+t._s(t.joinInfo.telephone)+"\n            ")]),t._v(" "),s("div",{staticClass:"line"}),t._v(" "),s("div",{staticClass:"content-img"},[s("img",{attrs:{src:e("Ns+n"),alt:""}}),t._v(" "),s("div",{staticClass:"button",on:{click:t.goNext}},[t._v("诚聘英才")])])])])],1)},staticRenderFns:[function(){var t=this.$createElement,n=this._self._c||t;return n("div",{staticClass:"name"},[n("div",{staticClass:"kuai"}),this._v(" "),n("span",[this._v("加入我们")])])}]};var a=e("VU/8")(s,i,!1,function(t){e("JPpr")},"data-v-60bc1eee",null);n.default=a.exports},JPpr:function(t,n){},"Ns+n":function(t,n,e){t.exports=e.p+"static/img/join.999e208.png"}});

File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/137.f0fd4646660f4bc68f33.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/138.3abcc30f1d58d88606fa.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/139.477b3d2350ad5549b246.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/14.0949d9ad14d1b9c0d1b4.js


+ 0 - 1
src/main/webapp/static/js/140.b606f4181cbc41c7038c.js

@@ -1 +0,0 @@
-webpackJsonp([140],{V8wA:function(t,e){},izdZ:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});r("NYxO");var i={created:function(){this.getIframeSrc()},data:function(){return{iframeSrc:"/404"}},computed:{height:function(){return window.innerHeight-104+"px"}},methods:{getIframeSrc:function(){this.iframeSrc=this.$route.query.code}},watch:{$route:function(){this.getIframeSrc()}}},n={render:function(){var t=this.$createElement;return(this._self._c||t)("iframe",{staticClass:"iframe",attrs:{src:this.iframeSrc,height:this.height,width:"100%"}})},staticRenderFns:[]};var c=r("VU/8")(i,n,!1,function(t){r("V8wA")},"data-v-6d20da16",null);e.default=c.exports}});

File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/15.ebb39a673ad58660bf51.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/152.b0344f8e331a4469d3a0.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/153.540f9ba1dc80fd5b9092.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/154.fbcf42d1428859c7ec91.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/155.5d929502e56c27b0b810.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/156.c2270942b0e23fbebdce.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/157.174d1db5a583f1c9321b.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/158.44ca3f9f73acfdcabb74.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/159.30af25950f7dd7749db8.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/16.70fd8b3a274839e61cda.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/160.2da0e0b20ede0ea561b5.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/161.5e669af032d011df88f6.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/162.c7fc4dc7521f8776a41a.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/163.7429d464c7ac49eca0a5.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/164.0256affebc0358824598.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/165.445214a20b64ad9438a0.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/166.83a6ccb9f8c5906a3a4a.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/167.5db2cdc1d12b874a73b9.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/168.d24e1e4db19de76f1fcf.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/169.65cbc30e74169a6b53e4.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/170.a7265a55d102005a770f.js


+ 0 - 1
src/main/webapp/static/js/171.72b4466cd3afd79b76a6.js

@@ -1 +0,0 @@
-webpackJsonp([171],{"7pWu":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a={name:"home",data:function(){return{aboutInfo:{},bannerList:[]}},mounted:function(){var t=this;this.$http.get({url:"/aboutUs/getOne",data:{id:1}}).then(function(n){n.success&&(t.aboutInfo=n.data)}).catch(function(t){console.log(t)}),this.$http.get({url:"/bannerInfo/all",data:{location:16}}).then(function(n){n.success&&(t.bannerList=n.data)}).catch(function(t){console.log(t)})},computed:{},methods:{scrollMenu:function(){}}},s={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"conatiner"},[e("el-carousel",{staticClass:"swiper banner",class:[1==t.bannerList.length?"noButton":""],attrs:{height:"220px",interval:4e3}},[t._l(t.bannerList,function(n){return[e("el-carousel-item",{style:{backgroundImage:"url("+n.imageUrl+")"}},[n.url?e("a",{attrs:{href:n.url}}):t._e()])]})],2),t._v(" "),e("div",{staticClass:"content"},[t._m(0),t._v(" "),e("div",{staticClass:"content-content"},[e("div",{staticClass:"content-img",style:{backgroundImage:"url("+t.aboutInfo.image+")"}}),t._v(" "),e("div",{staticClass:"content-text"},[e("div",{staticClass:"title"},[t._v(t._s(t.aboutInfo.title))]),t._v(" "),e("div",{staticClass:"content-all",domProps:{innerHTML:t._s(t.aboutInfo.description)}})])])])],1)},staticRenderFns:[function(){var t=this.$createElement,n=this._self._c||t;return n("div",{staticClass:"name"},[n("div",{staticClass:"kuai"}),this._v(" "),n("span",[this._v("关于我们")])])}]};var i=e("VU/8")(a,s,!1,function(t){e("SH8R")},"data-v-115aa2ee",null);n.default=i.exports},SH8R:function(t,n){}});

File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/18.ce07251734b147e3ed5e.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/19.ab4cad61014d1723d279.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/2.2c96f5f226c76a5f0f4a.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/20.42009f8cf39ff8b8739e.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/21.a53febceff4dd7532458.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/22.4076bfbe9f4402eef785.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/23.ba3d21f5c7907e541429.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/24.25accdefe1c38588b120.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/25.0915e59345735c4defb0.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/26.9cba59fab19b0a7349f5.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/27.394aa46c65166d97fbe6.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/28.d8587aedf399180f684d.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/29.83ff26fafb8e88544d9d.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/3.2525679fe14f2d26176e.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/31.c02e6833f57541058ef5.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/32.7755dedf332408c52145.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/33.59418dda757714ca3c88.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/34.6bd8c35f941a94c5ff64.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/35.50ac511fb15bb15c57e1.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/37.cd2caaee413f5b0587e5.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/38.55cf348351de107f7047.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/39.98ee50b4841f00e22e5e.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/4.acd744e4b065783209e7.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/40.a0f57b7abb66daa848d1.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/41.ce972dca80473250a7a9.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/42.a6115a18cf2f4045f6c0.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/43.ca7441940e9f53790f13.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/44.0e8059bf7495ff44caaf.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/45.34eeca79d2b4cbf31434.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/46.f6b69e5975fafcfaf92d.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/47.80fb0e0ba08b63b90bc6.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/48.18c1c8481e0c51edd031.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/49.5e6dce03ffdb8af5b7f0.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/5.f908e18caab50816e401.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/50.c1c87c231a47fb737e99.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/58.6311189d51c321e65927.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/59.72f6e89d0ad06d448cc7.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/6.bd67e3bbbecd4d50bfea.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/60.7971647b6a15e690caa6.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/61.4ac4830468d1a75f3ef2.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/62.774202ec827df205dc5d.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/63.50058a8e6ad2bc7237a7.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/64.e78ad3768abdf7dbf660.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/65.36b2d6d1d0a29961cca7.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/66.0eb5e8d6ccd25d8ab2dd.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/67.c877ec1b96b4b469bea5.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/68.caac672969ec2cc9f887.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/69.993748315f4d073be670.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/7.ef93b936af2df5c2c1f0.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/70.ee00b891b264412cb915.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/71.4879b31521489d431eb8.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/72.deb4bec7d52d01daad77.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/73.2d684595c207fb1cd99e.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/74.2e695499c81b91a1e126.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/75.2b3146ea68862a5c1051.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/8.cf622bf97a269a33f5c0.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/static/js/9.afa23357dda7b7ffbef2.js


Some files were not shown because too many files changed in this diff