From b6cacf34f55a6d53e3019ff0c886ff3a2335c066 Mon Sep 17 00:00:00 2001 From: batman <978517621@qq.com> Date: 星期四, 16 三月 2023 10:30:55 +0800 Subject: [PATCH] 新修改添加页面 --- src/views/newHome/index.vue | 45 +++++++++++++++++++++++++-------------------- 1 files changed, 25 insertions(+), 20 deletions(-) diff --git a/src/views/newHome/index.vue b/src/views/newHome/index.vue index 339854e..8450675 100644 --- a/src/views/newHome/index.vue +++ b/src/views/newHome/index.vue @@ -52,7 +52,7 @@ </div> <img class="bgImg1" src="../../assets/newMenu/card-1.png" /> </div> - <div class="grid-content cont-bg-1" v-throttle @click="render('2')"> + <div class="grid-content cont-bg-1" v-throttle @click="toDoublePrevent"> <div class="toplayer"> <img class="iconImg" src="../../assets/newMenu/icon2.png" /> <div> @@ -327,10 +327,14 @@ }; // 去风险大屏 const toRiskPlatform = () => { - router.push({ - name: "warningScreen" - }); - // window.open('http://39.104.85.193:8585/'); + // router.push({ + // name: "warningScreen" + // }); + window.open('http://39.104.85.193:8585/'); + }; + + const toDoublePrevent = () => { + window.open('http://121.239.169.27:6801'); }; const throttle = (renderMenu: any, delay: number) => { let flag = true; @@ -405,6 +409,7 @@ getDateTime, renderToNew, toRiskPlatform, + toDoublePrevent, onScreenfullClick, loginIconTwo, getThemeConfig, @@ -447,7 +452,7 @@ transform: translateY(0); } } -@media screen and (min-width: 1400px) { +@media screen and (min-width: 1600px) { .gridCont { width: 100%; height: 100%; @@ -515,7 +520,7 @@ } .itemTit1 { - font-size: 34px; + font-size: 32px; line-height: 42px; height: 40%; letter-spacing: 1px; @@ -523,7 +528,7 @@ margin-bottom: 12px; } .enTit1 { - font-size: 20px; + font-size: 18px; line-height: 24px; color: #072270; } @@ -543,7 +548,7 @@ } } -@media screen and (min-width: 1200px) and (max-width: 1400px) { +@media screen and (min-width: 1200px) and (max-width: 1600px) { .gridCont { width: 100%; height: 100%; @@ -565,14 +570,14 @@ z-index: 99; .itemTit { - font-size: 26px; + font-size: 22px; line-height: 30px; height: 40%; color: #072270; margin-bottom: 2px; } .enTit { - font-size: 14px; + font-size: 12px; color: #072270; } @@ -611,7 +616,7 @@ } .itemTit1 { - font-size: 28px; + font-size: 24px; line-height: 36px; height: 40%; letter-spacing: 1px; @@ -619,7 +624,7 @@ margin-bottom: 12px; } .enTit1 { - font-size: 16px; + font-size: 14px; color: #072270; } } @@ -658,12 +663,12 @@ z-index: 99; .itemTit { - font-size: 18px; + font-size: 14px; line-height: 22px; color: #072270; } .enTit { - font-size: 12px; + font-size: 10px; line-height: 14px; color: #072270; } @@ -703,7 +708,7 @@ } .itemTit1 { - font-size: 24px; + font-size: 16px; line-height: 36px; height: 40%; letter-spacing: 1px; @@ -711,7 +716,7 @@ margin-bottom: 12px; } .enTit1 { - font-size: 14px; + font-size: 12px; color: #072270; } } @@ -817,7 +822,7 @@ position: absolute; left: -100px; top: 0; - width: 240px; + width: 220px; height: 100%; z-index: 99; background: url('../../assets/newMenu/leftbg.png') no-repeat center; @@ -896,12 +901,12 @@ } } .menuGrid { - width: calc(100vw - 240px); + width: calc(100vw - 220px); height: calc(100vh - 320px); padding: 20px 20px 0; position: absolute; top: 260px; - left: 240px; + left: 220px; .gridCont { .grid-content { border-radius: 16px; -- Gitblit v1.9.2