Skip to content

Commit 4e14d49

Browse files
committed
🐛 修复 401 403 404 页面样式错误
1 parent 6dfd339 commit 4e14d49

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/pages/401.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const back = () => router.push('/')
1919
<template>
2020
<div class="flex flex-wrap h-screen text-center justify-around items-center">
2121
<div class="font-blod desc">
22-
<div class="text-7xl code">401</div>
22+
<div class="text-7xl err-code">401</div>
2323
<div ref="content" class="text-3xl content">您</div>
2424
<button
2525
active="scale-90 transform"
@@ -35,7 +35,7 @@ const back = () => router.push('/')
3535
</template>
3636

3737
<style>
38-
.code {
38+
.err-code {
3939
margin-bottom: 20px;
4040
}
4141

src/pages/403.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const back = () => router.push('/')
1919
<template>
2020
<div class="flex flex-wrap h-screen text-center justify-around items-center">
2121
<div class="font-blod desc">
22-
<div class="text-7xl code">403</div>
22+
<div class="text-7xl err-code">403</div>
2323
<div ref="content" class="text-3xl content"></div>
2424
<button
2525
active="scale-90 transform"
@@ -35,7 +35,7 @@ const back = () => router.push('/')
3535
</template>
3636

3737
<style>
38-
.code {
38+
.err-code {
3939
margin-bottom: 20px;
4040
}
4141

src/pages/404.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const back = () => router.push('/')
1919
<template>
2020
<div class="flex flex-wrap h-screen text-center justify-around items-center">
2121
<div class="font-blod desc">
22-
<div class="text-7xl code">404</div>
22+
<div class="text-7xl err-code">404</div>
2323
<div ref="content" class="text-3xl content">来到了</div>
2424
<button
2525
active="scale-90 transform"
@@ -35,7 +35,7 @@ const back = () => router.push('/')
3535
</template>
3636

3737
<style>
38-
.code {
38+
.err-code {
3939
margin-bottom: 20px;
4040
}
4141

0 commit comments

Comments
 (0)