From b1086afdaad5ccbf9d68fbae5529d3644f690f71 Mon Sep 17 00:00:00 2001
From: xiebin <123456>
Date: Mon, 29 Aug 2022 17:58:41 +0800
Subject: [PATCH] 修改图片访问地址

---
 src/views/lyout/index.vue              |   11 +--
 src/styles/element-ui.min.css          |    2 
 src/views/farm/index.vue               |   31 +++++-----
 src/components/publicNapeBox/index.vue |    2 
 src/views/home/index.vue               |   54 +++++++++---------
 src/styles/index.css                   |   14 ++--
 vue.config.js                          |    2 
 src/components/timeLine/index.vue      |    6 +-
 src/views/manage/index.vue             |   28 ++++----
 src/components/map/index.vue           |    2 
 src/styles/element-ui.css              |   10 +-
 src/styles/element-ui.scss             |   10 +-
 12 files changed, 85 insertions(+), 87 deletions(-)

diff --git a/src/components/map/index.vue b/src/components/map/index.vue
index e7eedc8..e3ad160 100644
--- a/src/components/map/index.vue
+++ b/src/components/map/index.vue
@@ -267,7 +267,7 @@
                 new global.DC.Position(center[0], center[1], 0),
                 `
                         <div class="farm-map-icon">
-                            <img src="/img/icon/3858.png" alt="">
+                            <img src="../../../zhny-dp/img/icon/3858.png" alt="">
                             <div>${item.farmName}</div>
                         </div>
                         `
diff --git a/src/components/publicNapeBox/index.vue b/src/components/publicNapeBox/index.vue
index 0645925..f1a45d1 100644
--- a/src/components/publicNapeBox/index.vue
+++ b/src/components/publicNapeBox/index.vue
@@ -4,7 +4,7 @@
             <div class="header">
                 <slot name="public-box-header"></slot>
 
-                <img @click="close" class="close" src="/img/icon/plot-popup-close.png" alt />
+                <img @click="close" class="close" src="../../../public/img/icon/plot-popup-close.png" alt />
             </div>
             <div class="content">
                 <slot name="public-box-content"></slot>
diff --git a/src/components/timeLine/index.vue b/src/components/timeLine/index.vue
index 95b45e6..bb2fd71 100644
--- a/src/components/timeLine/index.vue
+++ b/src/components/timeLine/index.vue
@@ -2,7 +2,7 @@
     <!--时间线-->
     <div class="time-box">
         <div class="l-btn" @click="moveLeft">
-            <img src="/img/icon/left.png" />
+            <img src="../../../public/img/icon/left.png" />
         </div>
         <div class="time-line-box">
             <div class="ul_box">
@@ -15,7 +15,7 @@
                 </ul>
             </div>
 
-            <img ref="TimePointer" class="pointer" src="/img/icon/lump.png" style="left: 16px" alt />
+            <img ref="TimePointer" class="pointer" src="../../../public/img/icon/lump.png" style="left: 16px" alt />
 
             <div ref="TextPopup" class="text-popup" style="left: -36px; top: -44px;">
                 {{currentObj.timestamp}}
@@ -23,7 +23,7 @@
             </div>
         </div>
         <div class="r-btn" @click="moveRight">
-            <img src="/img/icon/right.png" />
+            <img src="../../../public/img/icon/right.png" />
         </div>
     </div>
 </template>
diff --git a/src/styles/element-ui.css b/src/styles/element-ui.css
index b6d1998..d232c12 100644
--- a/src/styles/element-ui.css
+++ b/src/styles/element-ui.css
@@ -6,7 +6,7 @@
 }
 
 .el-icon-my-sy {
-  background: url("/img/icon/1016.png") center no-repeat;
+  background: url("../../public/img/icon/1016.png") center no-repeat;
   /* background-size: cover;*/
 }
 
@@ -17,7 +17,7 @@
 }
 
 .el-icon-my-sb {
-  background: url("/img/icon/3666.png") center no-repeat;
+  background: url("../../public/img/icon/3666.png") center no-repeat;
   /* background-size: cover;*/
 }
 
@@ -28,7 +28,7 @@
 }
 
 .el-icon-my-nc-menu {
-  background: url("/img/icon/nc-menu.png") center no-repeat;
+  background: url("../../public/img/icon/nc-menu.png") center no-repeat;
   /* background-size: cover;*/
 }
 
@@ -39,7 +39,7 @@
 }
 
 .el-icon-my-jksb-menu {
-  background: url("/img/icon/jksb-menu.png") center no-repeat;
+  background: url("../../public/img/icon/jksb-menu.png") center no-repeat;
   /* background-size: cover;*/
 }
 
@@ -50,7 +50,7 @@
 }
 
 .el-icon-my-jcsb-menu {
-  background: url("/img/icon/jcsb-menu.png") center no-repeat;
+  background: url("../../public/img/icon/jcsb-menu.png") center no-repeat;
   /* background-size: cover;*/
 }
 
diff --git a/src/styles/element-ui.min.css b/src/styles/element-ui.min.css
index 91ca80a..afb0d84 100644
--- a/src/styles/element-ui.min.css
+++ b/src/styles/element-ui.min.css
@@ -1 +1 @@
-.emit-el-date-picker input{background:#003555;border-color:#849EAE;color:rgba(255,255,255,0.6)}.el-icon-my-sy{background:url("/img/icon/1016.png") center no-repeat}.el-icon-my-sy:before{content:"替";font-size:18px;visibility:hidden}.el-icon-my-sb{background:url("/img/icon/3666.png") center no-repeat}.el-icon-my-sb:before{content:"替";font-size:24px;visibility:hidden}.el-icon-my-nc-menu{background:url("/img/icon/nc-menu.png") center no-repeat}.el-icon-my-nc-menu:before{content:"替";font-size:24px;visibility:hidden}.el-icon-my-jksb-menu{background:url("/img/icon/jksb-menu.png") center no-repeat}.el-icon-my-jksb-menu:before{content:"替";font-size:24px;visibility:hidden}.el-icon-my-jcsb-menu{background:url("/img/icon/jcsb-menu.png") center no-repeat}.el-icon-my-jcsb-menu:before{content:"替";font-size:24px;visibility:hidden}.dialog-fixed{margin:0 !important;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:99}.equipment-plot-select .el-input{position:relative;display:flex;align-items:center;justify-content:center}.equipment-plot-select .el-input .el-input__suffix{display:flex;align-items:center;justify-content:center}.equipment-plot-select input{color:#fff;font-size:28px !important;font-weight:bold;background:transparent !important;border:none !important}
+.emit-el-date-picker input{background:#003555;border-color:#849EAE;color:rgba(255,255,255,0.6)}.el-icon-my-sy{background:url("../../public/img/icon/1016.png") center no-repeat}.el-icon-my-sy:before{content:"替";font-size:18px;visibility:hidden}.el-icon-my-sb{background:url("../../public/img/icon/3666.png") center no-repeat}.el-icon-my-sb:before{content:"替";font-size:24px;visibility:hidden}.el-icon-my-nc-menu{background:url("../../public/img/icon/nc-menu.png") center no-repeat}.el-icon-my-nc-menu:before{content:"替";font-size:24px;visibility:hidden}.el-icon-my-jksb-menu{background:url("../../public/img/icon/jksb-menu.png") center no-repeat}.el-icon-my-jksb-menu:before{content:"替";font-size:24px;visibility:hidden}.el-icon-my-jcsb-menu{background:url("../../public/img/icon/jcsb-menu.png") center no-repeat}.el-icon-my-jcsb-menu:before{content:"替";font-size:24px;visibility:hidden}.dialog-fixed{margin:0 !important;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:99}.equipment-plot-select .el-input{position:relative;display:flex;align-items:center;justify-content:center}.equipment-plot-select .el-input .el-input__suffix{display:flex;align-items:center;justify-content:center}.equipment-plot-select input{color:#fff;font-size:28px !important;font-weight:bold;background:transparent !important;border:none !important}
diff --git a/src/styles/element-ui.scss b/src/styles/element-ui.scss
index 2a8caa6..113150a 100644
--- a/src/styles/element-ui.scss
+++ b/src/styles/element-ui.scss
@@ -8,7 +8,7 @@
 
 // icon图标
 .el-icon-my-sy {
-    background: url('/img/icon/1016.png') center no-repeat;
+    background: url('../../public/img/icon/1016.png') center no-repeat;
     // background-size: 100% 100%;
     /* background-size: cover;*/
 }
@@ -20,7 +20,7 @@
 }
 
 .el-icon-my-sb {
-    background: url('/img/icon/3666.png') center no-repeat;
+    background: url('../../public/img/icon/3666.png') center no-repeat;
     // background-size: 100% 100%;
     /* background-size: cover;*/
 }
@@ -32,7 +32,7 @@
 }
 
 .el-icon-my-nc-menu {
-    background: url('/img/icon/nc-menu.png') center no-repeat;
+    background: url('../../public/img/icon/nc-menu.png') center no-repeat;
     // background-size: 100% 100%;
     /* background-size: cover;*/
 }
@@ -44,7 +44,7 @@
 }
 
 .el-icon-my-jksb-menu {
-    background: url('/img/icon/jksb-menu.png') center no-repeat;
+    background: url('../../public/img/icon/jksb-menu.png') center no-repeat;
     // background-size: 100% 100%;
     /* background-size: cover;*/
 }
@@ -56,7 +56,7 @@
 }
 
 .el-icon-my-jcsb-menu {
-    background: url('/img/icon/jcsb-menu.png') center no-repeat;
+    background: url('../../public/img/icon/jcsb-menu.png') center no-repeat;
     // background-size: 100% 100%;
     /* background-size: cover;*/
 }
diff --git a/src/styles/index.css b/src/styles/index.css
index cd0a317..369e8b2 100644
--- a/src/styles/index.css
+++ b/src/styles/index.css
@@ -6,7 +6,7 @@
 }
 
 .el-icon-my-sy {
-  background: url("/img/icon/1016.png") center no-repeat;
+  background: url("../../public/img/icon/1016.png") center no-repeat;
   /* background-size: cover;*/
 }
 
@@ -17,7 +17,7 @@
 }
 
 .el-icon-my-sb {
-  background: url("/img/icon/3666.png") center no-repeat;
+  background: url("../../public/img/icon/3666.png") center no-repeat;
   /* background-size: cover;*/
 }
 
@@ -28,7 +28,7 @@
 }
 
 .el-icon-my-nc-menu {
-  background: url("/img/icon/nc-menu.png") center no-repeat;
+  background: url("../../public/img/icon/nc-menu.png") center no-repeat;
   /* background-size: cover;*/
 }
 
@@ -39,7 +39,7 @@
 }
 
 .el-icon-my-jksb-menu {
-  background: url("/img/icon/jksb-menu.png") center no-repeat;
+  background: url("../../public/img/icon/jksb-menu.png") center no-repeat;
   /* background-size: cover;*/
 }
 
@@ -50,7 +50,7 @@
 }
 
 .el-icon-my-jcsb-menu {
-  background: url("/img/icon/jcsb-menu.png") center no-repeat;
+  background: url("../../public/img/icon/jcsb-menu.png") center no-repeat;
   /* background-size: cover;*/
 }
 
@@ -934,14 +934,14 @@
   width: 200px;
   height: 50px;
   color: #fff;
-  background: url(/img/icon/popup-nav-btn.png) no-repeat;
+  background: url(../../public/img/icon/popup-nav-btn.png) no-repeat;
   background-size: 100% 100%;
   cursor: pointer;
   font-size: 18px;
 }
 
 .public-nape-plot-details .header .nav.on {
-  background: url(/img/icon/popup-nav-btn-sel.png) no-repeat;
+  background: url(../../public/img/icon/popup-nav-btn-sel.png) no-repeat;
   background-size: 100% 100%;
 }
 
diff --git a/src/views/farm/index.vue b/src/views/farm/index.vue
index 20f9d03..8d306a9 100644
--- a/src/views/farm/index.vue
+++ b/src/views/farm/index.vue
@@ -154,11 +154,11 @@
                     @click="setSiteCenter(item)"
                 >
                     <div class="title">
-                        <img v-if="item.dictTypeNum == 0" src="/img/icon/jk.png" alt />
-                        <img v-else-if="item.dictTypeNum == 1" src="/img/icon/qx.png" alt />
-                        <img v-else-if="item.dictTypeNum == 2" src="/img/icon/qx.png" alt />
-                        <img v-else-if="item.dictTypeNum == 3" src="/img/icon/sz.png" alt />
-                        <img v-else-if="item.dictTypeNum == 4" src="/img/icon/tr.png" alt />
+                        <img v-if="item.dictTypeNum == 0" src="../../../public/img/icon/jk.png" alt />
+                        <img v-else-if="item.dictTypeNum == 1" src="../../../public/img/icon/qx.png" alt />
+                        <img v-else-if="item.dictTypeNum == 2" src="../../../public/img/icon/qx.png" alt />
+                        <img v-else-if="item.dictTypeNum == 3" src="../../../public/img/icon/sz.png" alt />
+                        <img v-else-if="item.dictTypeNum == 4" src="../../../public/img/icon/tr.png" alt />
                         <img v-else src="/img/icon/qx.png" alt />
                         {{item.name}}
                     </div>
@@ -208,7 +208,7 @@
                 <div class="title">农产品溯源码</div>
                 <img
                     @click="tracePopupFlag = false"
-                    src="/img/icon/public-close.png"
+                    src="../../../public/img/icon/public-close.png"
                     alt
                     class="close"
                 />
@@ -732,18 +732,18 @@
                     that.equipmentList.forEach(item => {
                         // 气象
                         if (item.dictTypeNum == 1) {
-                            that.$refs.modalForm.addSiteEntity(item, '/img/icon/map-qx.png')
+                            that.$refs.modalForm.addSiteEntity(item, '../../../zhny-dp/img/icon/map-qx.png')
                         } else if (item.dictTypeNum == 2) {
                             // 空气
-                            that.$refs.modalForm.addSiteEntity(item, '/img/icon/map-qx.png')
+                            that.$refs.modalForm.addSiteEntity(item, '../../../zhny-dp/img/icon/map-qx.png')
                         } else if (item.dictTypeNum == 3) {
                             // 水质
-                            that.$refs.modalForm.addSiteEntity(item, '/img/icon/map-sz.png')
+                            that.$refs.modalForm.addSiteEntity(item, '../../../zhny-dp/img/icon/map-sz.png')
                         } else if (item.dictTypeNum == 4) {
                             // 土壤
-                            that.$refs.modalForm.addSiteEntity(item, '/img/icon/map-tr.png')
+                            that.$refs.modalForm.addSiteEntity(item, '../../../zhny-dp/img/icon/map-tr.png')
                         } else if (item.dictTypeNum == 0) {
-                            that.$refs.modalForm.addSiteEntity(item, '/img/icon/map-jk.png')
+                            that.$refs.modalForm.addSiteEntity(item, '../../../zhny-dp/img/icon/map-jk.png')
                         }
                     })
 
@@ -771,7 +771,6 @@
             this.vidInfo = item
             this.JkDetail = true
             this.$nextTick(() => {
-                console.log('gggggggg55555', item)
                 this.playFlvVideo(item.wssFlv)
             })
         },
@@ -1004,10 +1003,10 @@
 <style scoped lang="scss">
 @font-face {
     font-family: 'DS-Digital';
-    src: url('/DS-Digital/DS-DIGI-1.ttf');
-    src: url('/DS-Digital/DS-DIGIB-2.ttf');
-    src: url('/DS-Digital/DS-DIGII-3.ttf');
-    src: url('/DS-Digital/DS-DIGIT-4.ttf');
+    src: url('../../../public/DS-Digital/DS-DIGI-1.ttf');
+    src: url('../../../public/DS-Digital/DS-DIGIB-2.ttf');
+    src: url('../../../public/DS-Digital/DS-DIGII-3.ttf');
+    src: url('../../../public/DS-Digital/DS-DIGIT-4.ttf');
 }
 
 .container {
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index c8ba674..a7e4ba0 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -336,7 +336,7 @@
             <template slot="public-box-header">
                 <div class="logo"></div>
                 <div class="title">市场流通</div>
-                <img @click="cityShow = false" src="/img/icon/public-close.png" alt class="close" />
+                <img @click="cityShow = false" src="../../../public/img/icon/public-close.png" alt class="close" />
             </template>
             <template slot="public-box-content">
                 <div class="market-title">
@@ -400,7 +400,7 @@
                 <div class="title">{{this.farmDetails.farmName}}</div>
                 <img
                     @click="farmProfiles = false"
-                    src="/img/icon/public-close.png"
+                    src="../../../public/img/icon/public-close.png"
                     alt
                     class="close"
                 />
@@ -414,7 +414,7 @@
                         </div>
                         <div class="scene">
                             <a :href="farmDetails.panoramic" target="_blank">
-                                <img src="/img/icon/360.png" alt />
+                                <img src="../../../public/img/icon/360.png" alt />
                             </a>
                         </div>
                     </div>
@@ -457,7 +457,7 @@
                 <div class="title">农事操作</div>
                 <img
                     @click="farmOperPopup = false"
-                    src="/img/icon/public-close.png"
+                    src="../../../public/img/icon/public-close.png"
                     alt
                     class="close"
                 />
@@ -1543,20 +1543,20 @@
                     that.equipmentList.staList.forEach(item => {
                         // 气象
                         if (item.dictTypeNum == 1) {
-                            that.$refs.modalForm.addSiteEntity(item, '/img/icon/map-qx.png')
+                            that.$refs.modalForm.addSiteEntity(item, '../../../zhny-dp/img/icon/map-qx.png')
                         } else if (item.dictTypeNum == 2) {
                             // 空气
-                            that.$refs.modalForm.addSiteEntity(item, '/img/icon/map-qx.png')
+                            that.$refs.modalForm.addSiteEntity(item, '../../../zhny-dp/img/icon/map-qx.png')
                         } else if (item.dictTypeNum == 3) {
                             // 水质
-                            that.$refs.modalForm.addSiteEntity(item, '/img/icon/map-sz.png')
+                            that.$refs.modalForm.addSiteEntity(item, '../../../zhny-dp/img/icon/map-sz.png')
                         } else if (item.dictTypeNum == 4) {
                             // 土壤
-                            that.$refs.modalForm.addSiteEntity(item, '/img/icon/map-tr.png')
+                            that.$refs.modalForm.addSiteEntity(item, '../../../zhny-dp/img/icon/map-tr.png')
                         }
                     })
                     that.equipmentList.vidList.forEach(item => {
-                        that.$refs.modalForm.addSiteEntity(item, '/img/icon/map-jk.png')
+                        that.$refs.modalForm.addSiteEntity(item, '../../../zhny-dp/img/icon/map-jk.png')
                     })
                 }
             })
@@ -1979,10 +1979,10 @@
 <style scoped lang="scss">
 @font-face {
     font-family: 'DS-Digital';
-    src: url('/DS-Digital/DS-DIGI-1.ttf');
-    src: url('/DS-Digital/DS-DIGIB-2.ttf');
-    src: url('/DS-Digital/DS-DIGII-3.ttf');
-    src: url('/DS-Digital/DS-DIGIT-4.ttf');
+    src: url('../../../public/DS-Digital/DS-DIGI-1.ttf');
+    src: url('../../../public/DS-Digital/DS-DIGIB-2.ttf');
+    src: url('../../../public/DS-Digital/DS-DIGII-3.ttf');
+    src: url('../../../public/DS-Digital/DS-DIGIT-4.ttf');
 }
 
 .container {
@@ -2031,7 +2031,7 @@
                         .log {
                             left: auto;
                             right: 0;
-                            background: url(/img/icon/nc-num.png) no-repeat;
+                            background: url(../../../public/img/icon/nc-num.png) no-repeat;
                         }
 
                         .t-l,
@@ -2065,7 +2065,7 @@
                         .log {
                             left: 0;
                             right: auto;
-                            background: url(/img/icon/pel-num.png) no-repeat;
+                            background: url(../../../public/img/icon/pel-num.png) no-repeat;
                         }
 
                         .t-l,
@@ -2504,7 +2504,7 @@
                         margin-left: 16px;
                         width: 10px;
                         height: 14px;
-                        background: url(/img/icon/l-icon.png) no-repeat;
+                        background: url(../../../public/img/icon/l-icon.png) no-repeat;
                         background-size: 100% 100%;
                     }
 
@@ -2518,7 +2518,7 @@
                         right: -54px;
                         width: 74px;
                         height: 19px;
-                        background: url(/img/icon/r-icon.png) no-repeat;
+                        background: url(../../../public/img/icon/r-icon.png) no-repeat;
                         background-size: 100% 100%;
                     }
 
@@ -2528,7 +2528,7 @@
                         bottom: 0;
                         width: 378px;
                         height: 5px;
-                        background: url(/img/icon/line.png) no-repeat;
+                        background: url(../../../public/img/icon/line.png) no-repeat;
                         background-size: 100% 100%;
                     }
 
@@ -2538,7 +2538,7 @@
                         bottom: 0;
                         width: 20px;
                         height: 3px;
-                        background: url(/img/icon/r-line.png) no-repeat;
+                        background: url(../../../public/img/icon/r-line.png) no-repeat;
                         background-size: 100% 100%;
                     }
                 }
@@ -2652,7 +2652,7 @@
         .icon {
             width: 24px;
             height: 24px;
-            background: url(/img/icon/city-flow.png) no-repeat;
+            background: url(../../../public/img/icon/city-flow.png) no-repeat;
             background-size: 100% 100%;
         }
 
@@ -2668,12 +2668,12 @@
         bottom: 16px;
 
         .sl {
-            background: url(/img/icon/SL.jpg) no-repeat;
+            background: url(../../../public/img/icon/SL.jpg) no-repeat;
         }
 
         .yx {
             margin-left: 16px;
-            background: url(/img/icon/YX.jpg) no-repeat;
+            background: url(../../../public/img/icon/YX.jpg) no-repeat;
         }
 
         .sl,
@@ -2772,7 +2772,7 @@
 
             li:nth-child(1) {
                 .icon {
-                    background: url(/img/icon/nc.png) no-repeat;
+                    background: url(../../../public/img/icon/nc.png) no-repeat;
                     background-size: 100% 100%;
                 }
             }
@@ -2788,28 +2788,28 @@
 
             li:nth-child(3) {
                 .icon {
-                    background: url(/img/icon/jk.png) no-repeat;
+                    background: url(../../../public/img/icon/jk.png) no-repeat;
                     background-size: 100% 100%;
                 }
             }
 
             li:nth-child(4) {
                 .icon {
-                    background: url(/img/icon/tr.png) no-repeat;
+                    background: url(../../../public/img/icon/tr.png) no-repeat;
                     background-size: 100% 100%;
                 }
             }
 
             li:nth-child(5) {
                 .icon {
-                    background: url(/img/icon/qx.png) no-repeat;
+                    background: url(../../../public/img/icon/qx.png) no-repeat;
                     background-size: 100% 100%;
                 }
             }
 
             li:nth-child(6) {
                 .icon {
-                    background: url(/img/icon/sz.png) no-repeat;
+                    background: url(../../../public/img/icon/sz.png) no-repeat;
                     background-size: 100% 100%;
                 }
             }
diff --git a/src/views/lyout/index.vue b/src/views/lyout/index.vue
index a56b587..72a9352 100644
--- a/src/views/lyout/index.vue
+++ b/src/views/lyout/index.vue
@@ -80,11 +80,10 @@
             left: 0;
             width: 100%;
             height: 76px;
-            background: url(/img/header-bg.png) no-repeat;
+            background: url(../../../public/img/header-bg.png) no-repeat;
             background-size: auto 100%;
             z-index: 1;
         }
-
         .content {
             position: absolute;
             top: 0;
@@ -102,12 +101,12 @@
 
                 .nav {
                     margin-left: 16px;
-                    background: url(/img/select.png) no-repeat;
+                    background: url(../../../public/img/select.png) no-repeat;
                     background-size: 100% 100%;
                 }
 
                 .nav.on {
-                    background: url(/img/selected.png) no-repeat;
+                    background: url(../../../public/img/selected.png) no-repeat;
                     background-size: 100% 100%;
                 }
             }
@@ -118,12 +117,12 @@
 
                 .nav {
                     margin-right: 16px;
-                    background: url(/img/right-select.png) no-repeat;
+                    background: url(../../../public/img/right-select.png) no-repeat;
                     background-size: 100% 100%;
                 }
 
                 .nav.on {
-                    background: url(/img/right-selected.png) no-repeat;
+                    background: url(../../../public/img/right-selected.png) no-repeat;
                     background-size: 100% 100%;
                 }
             }
diff --git a/src/views/manage/index.vue b/src/views/manage/index.vue
index c9b1686..4adb2d4 100644
--- a/src/views/manage/index.vue
+++ b/src/views/manage/index.vue
@@ -28,7 +28,7 @@
                 <statistics-num
                     :className="'td'"
                     :totalRegion="znum"
-                    :imgUrl="'/img/icon/mj.png'"
+                    :imgUrl="'../../../zhny-dp/img/icon/mj.png'"
                     :unit="'亩'"
                     :title="'土地面积'"
                     :subOneTitle="'使用面积'"
@@ -39,7 +39,7 @@
                 <statistics-num
                     :className="'kc'"
                     :totalRegion="stockTj"
-                    :imgUrl="'/img/icon/kc.png'"
+                    :imgUrl="'../../../zhny-dp/img/icon/kc.png'"
                     :unit="'公斤'"
                     :title="'库存数量'"
                     :subOneTitle="'农产品'"
@@ -50,7 +50,7 @@
                 <statistics-num
                     :className="'nz'"
                     :totalRegion="jnStock"
-                    :imgUrl="'/img/icon/syl.png'"
+                    :imgUrl="'../../../zhny-dp/img/icon/syl.png'"
                     :unit="'公斤'"
                     :title="'农资年使用量'"
                     :subOneTitle="'去年使用'"
@@ -61,7 +61,7 @@
                 <statistics-num
                     :className="'cl'"
                     :totalRegion="yieldTj"
-                    :imgUrl="'/img/icon/ncl.png'"
+                    :imgUrl="'../../../zhny-dp/img/icon/ncl.png'"
                     :unit="'公斤'"
                     :title="'年产量'"
                     :subOneTitle="'农产品'"
@@ -72,7 +72,7 @@
                 <statistics-num
                     :className="'lt'"
                     :totalRegion="salaNumBN"
-                    :imgUrl="'/img/icon/lt.png'"
+                    :imgUrl="'../../../zhny-dp/img/icon/lt.png'"
                     :unit="'公斤'"
                     :title="'市场流通量'"
                     :subOneTitle="'去年流通量'"
@@ -84,7 +84,7 @@
             <div class="c">
                 <div class="time-box">
                     <time-box
-                        :imgUrl="'/img/icon/current.png'"
+                        :imgUrl="'../../../zhny-dp/img/icon/current.png'"
                         :title="'溯源次数'"
                         :currentNum="sweepList['todayNum']"
                         :subTitle="'昨日溯源次数对比'"
@@ -94,7 +94,7 @@
             "
                     ></time-box>
                     <time-box
-                        :imgUrl="'/img/icon/week.png'"
+                        :imgUrl="'../../../zhny-dp/img/icon/week.png'"
                         :title="'溯源次数'"
                         :currentNum="sweepList['thisWeekNum']"
                         :subTitle="'上周溯源次数对比'"
@@ -106,7 +106,7 @@
             "
                     ></time-box>
                     <time-box
-                        :imgUrl="'/img/icon/month.png'"
+                        :imgUrl="'../../../zhny-dp/img/icon/month.png'"
                         :title="'溯源次数'"
                         :currentNum="sweepList['thisMonthNum']"
                         :subTitle="'上月溯源次数对比'"
@@ -186,7 +186,7 @@
                         </div>
                         <div class="more" @click="popDetailedSupervise">
                             明细
-                            <img src="/img/icon/more.png" alt />
+                            <img src="../../../public/img/icon/more.png" alt />
                         </div>
                     </div>
 
@@ -235,7 +235,7 @@
 
                         <div class="more" @click="popDetailedFarming({ type: '', landId: '' })">
                             更多
-                            <img src="/img/icon/more.png" alt />
+                            <img src="../../../public/img/icon/more.png" alt />
                         </div>
                     </div>
 
@@ -283,7 +283,7 @@
                 <div class="title">投入品监管明细</div>
                 <img
                     @click="trpPopupFlag = false"
-                    src="/img/icon/public-close.png"
+                    src="../../../public/img/icon/public-close.png"
                     alt
                     class="close"
                 />
@@ -349,7 +349,7 @@
                 <div class="title">农资出入库记录</div>
                 <img
                     @click="nzcrPopupFlag = false"
-                    src="/img/icon/public-close.png"
+                    src="../../../public/img/icon/public-close.png"
                     alt
                     class="close"
                 />
@@ -431,7 +431,7 @@
                 <div class="title">农产品监管</div>
                 <img
                     @click="ncpPopupFlag = false"
-                    src="/img/icon/public-close.png"
+                    src="../../../public/img/icon/public-close.png"
                     alt
                     class="close"
                 />
@@ -499,7 +499,7 @@
                 <div class="title">农事操作</div>
                 <img
                     @click="nsjlPopupFlag = false"
-                    src="/img/icon/public-close.png"
+                    src="../../../public/img/icon/public-close.png"
                     alt
                     class="close"
                 />
diff --git a/vue.config.js b/vue.config.js
index c355e0a..95ac7af 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -6,7 +6,7 @@
 const CompressionPlugin = require('compression-webpack-plugin')
 
 module.exports = {
-    publicPath: '/',
+    publicPath: '/zhny-dp',
     lintOnSave: false,
     // 其他配置
     chainWebpack: (config) => {

--
Gitblit v1.9.3