Browse Source

更新 路径

wzh 4 years ago
parent
commit
e547d9a980
2 changed files with 4 additions and 4 deletions
  1. 2 2
      index.html
  2. 2 2
      src/components/CapacityCard.vue

+ 2 - 2
index.html

@@ -6,8 +6,8 @@
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title>汇很多航运数字经济总控平台</title>
     <script type="text/javascript" src="https://api.map.baidu.com/getscript?v=1.0&&type=webgl&ak=sUDwQMPuY7yO3ZqC8l4EEZB0jeVrx6wi"></script>
-    <script src="./public//swiper-bundle.min.js"></script>
-    <link rel="stylesheet" href="./public/swiper-bundle.min.css">
+    <script src="/swiper-bundle.min.js"></script>
+    <link rel="stylesheet" href="/swiper-bundle.min.css">
     <style>
       * {
         margin: 0;

+ 2 - 2
src/components/CapacityCard.vue

@@ -167,7 +167,7 @@ export default {
 .swiper-button-prev {
   width: 26px;
   height: 26px;
-  background: url("../../public/prev.png");
+  background: url("/prev.png");
   top: 55%;
   left: 0;
   background-size: contain;
@@ -177,7 +177,7 @@ export default {
   width: 26px;
   height: 26px;
   top: 55%;
-  background: url("../../public/next.png");
+  background: url("/next.png");
   right: 0;
   background-size: contain;
 }