diff --git a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/graphicSystem/graphicSystem.vue b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/graphicSystem/graphicSystem.vue index 3b82c91..0b49445 100644 --- a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/graphicSystem/graphicSystem.vue +++ b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/graphicSystem/graphicSystem.vue @@ -20,7 +20,7 @@
diff --git a/src/views/screenAdaptation/pages/partyCenter/teamBuildingStyle.vue b/src/views/screenAdaptation/pages/partyCenter/teamBuildingStyle.vue index da30dd2..4c4d781 100644 --- a/src/views/screenAdaptation/pages/partyCenter/teamBuildingStyle.vue +++ b/src/views/screenAdaptation/pages/partyCenter/teamBuildingStyle.vue @@ -16,7 +16,7 @@
diff --git a/src/views/screenAdaptation/pages/partyCenter/teamHelp.vue b/src/views/screenAdaptation/pages/partyCenter/teamHelp.vue index 8804971..3283b70 100644 --- a/src/views/screenAdaptation/pages/partyCenter/teamHelp.vue +++ b/src/views/screenAdaptation/pages/partyCenter/teamHelp.vue @@ -4,7 +4,7 @@
diff --git a/src/views/screenAdaptation/pages/secondPages/top.vue b/src/views/screenAdaptation/pages/secondPages/top.vue index 8d1dcaf..b885442 100644 --- a/src/views/screenAdaptation/pages/secondPages/top.vue +++ b/src/views/screenAdaptation/pages/secondPages/top.vue @@ -102,14 +102,15 @@ watch: { $route: { handler(val, oldval){ + console.log("val:",val) this.emitRouteChange(val.path); - if (val.path === '/partyCenter/party') { - this.topImgUrl = topImgPartyBuild - this.isPartyCenter = true - } else { - this.topImgUrl = topImg01 - this.isPartyCenter = false - } +// if (val.path === '/partyCenter/party') { +// this.topImgUrl = topImgPartyBuild +// this.isPartyCenter = true +// } else { +// this.topImgUrl = topImg01 +// this.isPartyCenter = false +// } }, // 深度观察监听 deep: true, @@ -137,6 +138,7 @@ methods: { getHref(){ this.href = window.location.hash + console.log(this.$route.path) if (this.href === '#/partyCenter/party') { this.topImgUrl = topImgPartyBuild this.isPartyCenter = true @@ -196,10 +198,12 @@ } }, changeBackImg: function (path) { - if (this.href === '#/partyCenter/party') { + if (path === '/partyCenter/party') { this.topImgUrl = topImgPartyBuild - this.isPartyCenter = true + this.isPartyCenter = true; + this.showWorkBenchButton = false; } else { + this.isPartyCenter = false; if (path.indexOf("workBench") > 0) { //工作台 if (path === "/workBench/application") { diff --git a/src/views/screenAdaptation/utils/imgPreloaderList.js b/src/views/screenAdaptation/utils/imgPreloaderList.js index 0b8fd80..5d6f0d0 100644 --- a/src/views/screenAdaptation/utils/imgPreloaderList.js +++ b/src/views/screenAdaptation/utils/imgPreloaderList.js @@ -4,5 +4,21 @@ export default [ require('../assets/images/secondPageTop01.png'), require('../assets/images/secondPageTop02.png'), - require('../assets/images/topImgPartyBuild.png') + require('../assets/images/topImgPartyBuild.png'), + require('../assets/images/partyImage/party-building.png'), + require('../assets/images/partyImage/party-building-red.png'), + require('../assets/images/partyImage/admin.png'), + require('../assets/images/partyImage/admin-red.png'), + require('../assets/images/partyImage/safe.png'), + require('../assets/images/partyImage/safe-red.png'), + require('../assets/images/partyImage/teaching.png'), + require('../assets/images/partyImage/teaching-red.png'), + require('../assets/images/partyImage/de-yu.png'), + require('../assets/images/partyImage/de-yu-red.png'), + require('../assets/images/partyImage/teacher.png'), + require('../assets/images/partyImage/teacher-red.png'), + require('../assets/images/partyImage/data.png'), + require('../assets/images/partyImage/data-red.png'), + require('../assets/images/partyImage/service.png'), + require('../assets/images/partyImage/service-red.png'), ];