From 2b38bf626b2baa0080e0985756bacd3925a982f8 Mon Sep 17 00:00:00 2001 From: duanjie-cmd <18870420982@139.com> Date: Fri, 25 Nov 2022 14:44:47 +0800 Subject: [PATCH 1/2] add stage --- frontend/.env.stage | 3 +++ frontend/package.json | 2 ++ frontend/public/favicon_stage.ico | Bin 0 -> 3786 bytes .../{IOBSCAN_logo.png => env/logo_icon.png} | Bin frontend/src/assets/env/logo_stage_icon.png | Bin 0 -> 11675 bytes frontend/src/components/gozHeader/GozHeader.vue | 16 +++++++++++++++- frontend/src/main.js | 11 ++++++++++- frontend/vue.config.js | 4 ++-- 8 files changed, 32 insertions(+), 4 deletions(-) create mode 100644 frontend/.env.stage create mode 100644 frontend/public/favicon_stage.ico rename frontend/src/assets/{IOBSCAN_logo.png => env/logo_icon.png} (100%) create mode 100644 frontend/src/assets/env/logo_stage_icon.png diff --git a/frontend/.env.stage b/frontend/.env.stage new file mode 100644 index 00000000..0bcb162b --- /dev/null +++ b/frontend/.env.stage @@ -0,0 +1,3 @@ +NODE_ENV = stage + +VUE_APP_BASE_URL="https://stage.backend-go.ibc.iobscan.io" \ No newline at end of file diff --git a/frontend/package.json b/frontend/package.json index ae8b0126..bdefb8f5 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -5,9 +5,11 @@ "scripts": { "dev": "vue-cli-service serve --mode development", "qa": "vue-cli-service serve --mode qa", + "stage": "vue-cli-service serve --mode stage", "prod": "vue-cli-service serve --mode production", "build:dev": "vue-cli-service build --mode development", "build:qa": "vue-cli-service build --mode qa", + "build:stage": "vue-cli-service build --mode stage", "build:prod": "vue-cli-service build --mode production" }, "dependencies": { diff --git a/frontend/public/favicon_stage.ico b/frontend/public/favicon_stage.ico new file mode 100644 index 0000000000000000000000000000000000000000..dc99721a75ed747c0fa27852af2468a8697129f3 GIT binary patch literal 3786 zcmV;*4mI(KP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR91GN1zh1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jZ@ix%lCpZ+<(-4qyEUO9l`ip4Lfc^G3W9x(nVh7k5O-K>!&@_g0jT zLSelp9OL;<06l;w{>E0Sui*`M2MPIqxjGB{6Ij^lArEG?&j0`b07*qoM6N<$f-iy! Ar~m)} literal 0 HcmV?d00001 diff --git a/frontend/src/assets/IOBSCAN_logo.png b/frontend/src/assets/env/logo_icon.png similarity index 100% rename from frontend/src/assets/IOBSCAN_logo.png rename to frontend/src/assets/env/logo_icon.png diff --git a/frontend/src/assets/env/logo_stage_icon.png b/frontend/src/assets/env/logo_stage_icon.png new file mode 100644 index 0000000000000000000000000000000000000000..302c2356b1e8aa28b29d7ab7187b0264b282bff6 GIT binary patch literal 11675 zcmV;MEo9P(P)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR926rckD1ONa40RR91JOBUy0IWVD*#H171xZ9fRCodHoe7*ARki=CdYzsn zlgT83goGp{Vabp{LfDtbs(>gexPhYh6#hg&z~v!46cm*A6h)sXqOyo9DB>SPmOqcx zgg~}o5|WT*l0f!l_UXOq|NV8k#+sh)neLhH!C;^H{HChza_+h3o_p?6)m5h9qK6)` zy(ga>z93nhzWj$&8%sY>6sD0JRH{8b+E9`*f@0@Byt@p$& z;{ww(W*CO2-oTsS{0v(Hr^!R4$KxZ~-ens0pKT*~*PO%a8lCv^v8;iz28yeJ9)}W% zC9m{&Jpa?)5jP@{gb|C`I26lB;#5+O#V`%8$8W@v@!iY-?g)8m?r3N*W5pFGJ2#x2 zxp|c_YI~yXOlBRQur2c>WUa?t7>Q&8N0RK5F;%g2?L1zu;q!QG%eG$dTIS8OX4SmV zCqp@)tbwuyhOB{9ms_*O4o;kue8%hbp4`?J!`ux{iR20&@Kp6B(FiaF z908^S@%Mr@uo1it*1*5$dZ+vVyj6Y>NR~{}^iNP7yOAN1nP9Nj>AI`j8la;GWRrp5 zoTT(o(28u~oT&zgKo+L8MimGF>Any-I!NC^`Tv+I6Ob=awrojITZo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-Njsj}zg9#st{5v=w zDy@Wp_J8KWZxQF`bN)S!SbI^a9sZ@9IhWjivS`Dn&d_)LMicEfCTP@D`;48tV@7L- zoC&iLx~QCqMt^?0WAnsoC%1rKtqS=Tv;VT&f?LKufhA;`-;{mpuVPJb~9J z@Gy`q>6h<%_w4mUWShzkALlL)r@iRfV(@>bcu*64AT4#lN@wLKW&6=*T1R6!mTFnsPwD$k6#5whG}BG( z2LFhQQjjx za2{~47qd&Z4~J4eITh(rQ$MXI%T(6DyH*3T@wBbW=6i0u=nX||Wv1RU@}45rUYo2- z!H>bCY!G!6k@r6}EA**H@pVg3%Q|i3v723{vIgEY8j$nQ5>R(g`@Fs&RZBX-v7iME zm0~b>27CTzoG_k03QcCK%t}`&TIzvgR_Bdv6ZQ;fwBhv)ir=Km<6y0cb-=Topr18e{Q002ovPDHLkV1oRvdLjS- literal 0 HcmV?d00001 diff --git a/frontend/src/components/gozHeader/GozHeader.vue b/frontend/src/components/gozHeader/GozHeader.vue index f5b7ab5b..36b77585 100644 --- a/frontend/src/components/gozHeader/GozHeader.vue +++ b/frontend/src/components/gozHeader/GozHeader.vue @@ -3,7 +3,7 @@
-
+
Network State Visualizer @@ -81,10 +81,15 @@ import constant from '../../constant/Constant'; import lang from "../../lang"; import skinStyle from '../../skinStyle' + import logoImg from '../../assets/env/logo_icon.png'; + import stageLogoImg from '../../assets/env/logo_stage_icon.png'; + export default { name: "GozHeader", data () { return { + logoImg, + stageLogoImg, netWorkArray: [], flShowNetworkLogo: false, currentNetworkClass:'', @@ -105,6 +110,12 @@ }else { return false } + }, + isStage () { + return process.env.NODE_ENV === 'stage'; + }, + displayLogoImg () { + return !this.isStage ? logoImg: stageLogoImg; } }, methods:{ @@ -219,6 +230,9 @@ width: 1.48rem; height: 0.3rem; } + .stage_logo { + transform: translate(0, 3px); + } } } .goz_content_network_state{ diff --git a/frontend/src/main.js b/frontend/src/main.js index 25e460d8..f8e875f0 100644 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -56,10 +56,19 @@ VueRouter.prototype.push = function push(location) { return routerPush.call(this, location).catch(error=> error) } - Vue.prototype.addressRoute = Tools.addressRoute; new Vue({ router, store, render: h => h(App) }).$mount('#app') + +console.log('env', process.env); +const useStageChangeIcon = () => { + if (process.env.NODE_ENV !== 'stage') return; + const link = document.querySelector('link[rel *= "icon"]') || document.createElement('link'); + link.rel = 'icon'; + link.href = '/favicon_stage.ico'; + document.getElementsByTagName('head')[0].appendChild(link); +}; +useStageChangeIcon(); diff --git a/frontend/vue.config.js b/frontend/vue.config.js index 51e0d4c5..7044ba34 100644 --- a/frontend/vue.config.js +++ b/frontend/vue.config.js @@ -1,10 +1,10 @@ //@ts-check +console.log('env:',process.env); module.exports = { devServer: { proxy: { '/api':{ - - target:'http://localhost:8080', + target:'http://localhost:8080', secure:false, }, } From bbdbb47976d2acefa04c97cf06140efedc6a80a6 Mon Sep 17 00:00:00 2001 From: duanjie-cmd <18870420982@139.com> Date: Fri, 25 Nov 2022 14:48:51 +0800 Subject: [PATCH 2/2] remove console --- frontend/src/main.js | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/src/main.js b/frontend/src/main.js index f8e875f0..c0d4fe29 100644 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -63,7 +63,6 @@ new Vue({ render: h => h(App) }).$mount('#app') -console.log('env', process.env); const useStageChangeIcon = () => { if (process.env.NODE_ENV !== 'stage') return; const link = document.querySelector('link[rel *= "icon"]') || document.createElement('link');