初始代码

This commit is contained in:
wangmingwei
2026-04-21 17:48:26 +08:00
parent d3631949e9
commit 7f9e424a5c
1822 changed files with 288292 additions and 0 deletions

View File

@@ -0,0 +1,93 @@
<template>
<div class="yunzhupaas-content-wrapper http404-container bg-white">
<div class="http404">
<img src="../../../assets/images/404.png" alt="404" class="pic-404" />
<div class="bullshit">
<div class="bullshit__oops">OOPS!</div>
<div class="bullshit__headline">{{ t('views.http404.tips') }}</div>
<div class="bullshit__info">{{ t('views.http404.subTips') }}</div>
<a-button type="primary" size="large" @click="$router.push('/home')">{{ t('views.http404.goBackBtn') }}</a-button>
</div>
</div>
</div>
</template>
<script lang="ts" setup>
import { useI18n } from '@/hooks/web/useI18n';
const { t } = useI18n();
</script>
<style lang="less" scoped>
.http404-container {
display: flex;
justify-content: center;
align-items: center;
}
.http404 {
.pic-404 {
position: relative;
float: left;
width: 500px;
overflow: hidden;
margin-right: 100px;
}
.bullshit {
position: relative;
float: left;
width: 350px;
padding: 90px 0;
overflow: hidden;
&__oops {
font-size: 32px;
font-weight: bold;
line-height: 40px;
opacity: 0;
margin-bottom: 20px;
animation-name: slideUp;
animation-duration: 0.5s;
animation-fill-mode: forwards;
color: @primary-color;
}
&__headline {
font-size: 20px;
line-height: 24px;
font-weight: bold;
opacity: 0;
margin-bottom: 10px;
animation-name: slideUp;
animation-duration: 0.5s;
animation-delay: 0.1s;
animation-fill-mode: forwards;
}
&__info {
font-size: 13px;
line-height: 21px;
color: grey;
opacity: 0;
margin-bottom: 40px;
animation-name: slideUp;
animation-duration: 0.5s;
animation-delay: 0.2s;
animation-fill-mode: forwards;
}
&__return-home {
float: left;
animation-name: slideUp;
animation-duration: 0.5s;
animation-delay: 0.3s;
animation-fill-mode: forwards;
}
@keyframes slideUp {
0% {
transform: translateY(60px);
opacity: 0;
}
100% {
transform: translateY(0);
opacity: 1;
}
}
}
}
</style>