This commit is contained in:
lnn19986213 2024-05-21 16:12:54 +08:00
parent 4e87a5c8e8
commit bd4ce6c2ef
9 changed files with 50 additions and 42 deletions

Binary file not shown.

View File

@ -8,11 +8,17 @@
/* color: #8FFDFF; */
}
@font-face {
font-family: TCloudNumber;
src: url('../css/TCloudNumber-Regular.ttf')
}
span,
p,
a {
font-size: 14px;
}
em {
font-family: dsFont;
font-size: 32px;
@ -26,6 +32,7 @@ html::-webkit-scrollbar {
height: 0px;
overflow: hidden;
}
body {
background: none;
overflow: hidden;
@ -35,8 +42,9 @@ body {
position: relative;
flex-direction: column;
box-sizing: border-box;
font-family: DINAlternate, DINAlternate;
font-family: TCloudNumber, TCloudNumber;
}
#app {
flex: 1;
/* height: 1080px; */
@ -53,4 +61,4 @@ body {
overflow: hidden;
position: absolute;
z-index: 101;
}
}

View File

@ -71,27 +71,27 @@ function getCookie(cname) {
// return ''
}
router.beforeEach((to, form, next) => {
var token = getCookie('lytoken')
console.log('token', token)
if (token == '') {
window.location.href =
'http://220.191.238.50:996/api/login?returnURL=' +
window.location.href
} else {
// http.get("/api/zzdn_event/auditToken?token=" + token).then((res) => {
// if (res.code == '500') {
// window.location.href =
// 'http://220.191.238.50:996/api/login?returnURL=' +
// window.location.href
// } else {
// tools.data.set('token',token)
// next();
// }
// });
tools.data.set('token', token)
next();
}
})
// router.beforeEach((to, form, next) => {
// var token = getCookie('lytoken')
// console.log('token', token)
// if (token == '') {
// window.location.href =
// 'http://220.191.238.50:996/api/login?returnURL=' +
// window.location.href
// } else {
// // http.get("/api/zzdn_event/auditToken?token=" + token).then((res) => {
// // if (res.code == '500') {
// // window.location.href =
// // 'http://220.191.238.50:996/api/login?returnURL=' +
// // window.location.href
// // } else {
// // tools.data.set('token',token)
// // next();
// // }
// // });
// tools.data.set('token', token)
// next();
// }
// })
export default router

View File

@ -30,9 +30,9 @@ axios.interceptors.response.use(
if (error.response.status == 401) {
ElMessage.error("请重新登录!");
// window.location.href = '/#/login?returnURL=' + window.location.href
window.location.href =
'http://220.191.238.50:996/api/login?returnURL=' +
window.location.href
// window.location.href =
// 'http://220.191.238.50:996/api/login?returnURL=' +
// window.location.href
} else if (error.response.status == 404) {
ElMessage.error("Status:404正在请求不存在的服务器记录");
} else if (error.response.status == 500) {

View File

@ -890,7 +890,7 @@ onBeforeMount(async () => {
letter-spacing: 2px;
text-align: center;
font-style: normal;
font-family: DINAlternate, DINAlternate;
font-family: TCloudNumber, TCloudNumber;
background-image: linear-gradient(180deg, #7be546 0%, #38ffb1 100%);
background-clip: text;
-webkit-background-clip: text;
@ -903,7 +903,7 @@ onBeforeMount(async () => {
letter-spacing: 2px;
text-align: center;
font-style: normal;
font-family: DINAlternate, DINAlternate;
font-family: TCloudNumber, TCloudNumber;
background-image: linear-gradient(180deg, #ee8404 0%, #efd404 100%);
background-clip: text;
-webkit-background-clip: text;
@ -916,7 +916,7 @@ onBeforeMount(async () => {
letter-spacing: 2px;
text-align: center;
font-style: normal;
font-family: DINAlternate, DINAlternate;
font-family: TCloudNumber, TCloudNumber;
background-image: linear-gradient(180deg, #ff3e00 0%, #ed5a2d 100%);
background-clip: text;
-webkit-background-clip: text;
@ -1033,7 +1033,7 @@ onBeforeMount(async () => {
// font-style: normal;
// font-family: PingFangSC, PingFang SC;
font-family: DINAlternate, DINAlternate;
font-family: TCloudNumber, TCloudNumber;
// font-weight: bold;
font-size: 23px;
color: #ffffff;

View File

@ -304,7 +304,7 @@ const getData = async () => {
letter-spacing: 1px;
text-align: center;
font-style: normal;
font-family: DINAlternate, DINAlternate;
font-family: TCloudNumber, TCloudNumber;
}
}
}
@ -536,7 +536,7 @@ const getData = async () => {
.va {
margin-top: 27px;
margin-bottom: 10px;
font-family: DINAlternate, DINAlternate;
font-family: TCloudNumber, TCloudNumber;
font-size: 26px;
color: #ffffff;
@ -713,7 +713,7 @@ const getData = async () => {
margin-top: 27px;
margin-bottom: 20px;
font-family: DINAlternate, DINAlternate;
font-family: TCloudNumber, TCloudNumber;
font-weight: bold;
font-size: 20px;
color: #ffffff;
@ -776,7 +776,7 @@ const getData = async () => {
.bo {
margin-top: 5px;
font-family: DINAlternate, DINAlternate;
font-family: TCloudNumber, TCloudNumber;
font-weight: bold;
font-size: 18px;
color: #00fffc;
@ -807,7 +807,7 @@ const getData = async () => {
text-shadow: 0px 0px 4px rgba(255, 255, 255, 0.65);
.bo {
margin-top: 5px;
font-family: DINAlternate, DINAlternate;
font-family: TCloudNumber, TCloudNumber;
font-weight: bold;
font-size: 18px;
color: #ffe92c;

View File

@ -1018,7 +1018,7 @@ onBeforeMount(async () => {
letter-spacing: 1px;
text-align: center;
font-style: normal;
font-family: DINAlternate, DINAlternate;
font-family: TCloudNumber, TCloudNumber;
}
}
}
@ -1606,7 +1606,7 @@ onBeforeMount(async () => {
}
.value {
margin-top: 5px;
font-family: DINAlternate, DINAlternate;
font-family: TCloudNumber, TCloudNumber;
font-weight: bold;
font-size: 24px;
color: #ffffff;

View File

@ -766,7 +766,7 @@ onBeforeMount(() => {
letter-spacing: 2px;
text-align: center;
font-style: normal;
font-family: DINAlternate, DINAlternate;
font-family: TCloudNumber, TCloudNumber;
background-image: linear-gradient(180deg, #7be546 0%, #38ffb1 100%);
background-clip: text;
-webkit-background-clip: text;
@ -779,7 +779,7 @@ onBeforeMount(() => {
letter-spacing: 2px;
text-align: center;
font-style: normal;
font-family: DINAlternate, DINAlternate;
font-family: TCloudNumber, TCloudNumber;
background-image: linear-gradient(180deg, #ee8404 0%, #efd404 100%);
background-clip: text;
-webkit-background-clip: text;
@ -792,7 +792,7 @@ onBeforeMount(() => {
letter-spacing: 2px;
text-align: center;
font-style: normal;
font-family: DINAlternate, DINAlternate;
font-family: TCloudNumber, TCloudNumber;
background-image: linear-gradient(180deg, #ff3e00 0%, #ed5a2d 100%);
background-clip: text;
-webkit-background-clip: text;

View File

@ -448,7 +448,7 @@ const getData = async () => {
letter-spacing: 1px;
text-align: center;
font-style: normal;
font-family: DINAlternate, DINAlternate;
font-family: TCloudNumber, TCloudNumber;
}
}
}