feat: 添加start启动页面

This commit is contained in:
橙子
2024-06-03 22:21:02 +08:00
parent 4660ae212c
commit 863507ade1
2 changed files with 86 additions and 0 deletions

View File

@@ -57,6 +57,14 @@ const router = createRouter({
title: "首页",
},
},
{
name: "start",
path: "/start",
component: () => import("../views/start/Index.vue"),
meta: {
title: "开始",
},
},
{
name: "article",
path: "/article/:discussId/:articleId?",

View File

@@ -0,0 +1,78 @@
<template>
<div class="start-body">
<div class="content">
<div class="content-title"><span>开始</span></div>
<div class="content-body">
<div class="content-body-left">
<h4>安装 Yi.Abp.Tool</h4>
<p>如果之前未安装 Yi.Abp.Tool请在命令行终端中安装</p>
</div>
<div class="content-body-right">
</div>
</div>
</div>
</div>
</template>
<style lang="scss" scoped>
.start-body {
height: 100%;
width: 100%;
background-color: #FCFCFC;
}
.content {
width: 80%;
margin: 0 auto;
&-title {
background-color: #FCFCFC;
height: 100px;
display: flex;
align-items: center;
span {
color: #292d33;
font-size: 48px;
font-weight: 700;
}
}
&-body {
height: 2000px;
padding: 48px;
background-color: #fff;
border-radius: 12px;
border: 0;
box-shadow: 0 0 1rem rgba(0, 0, 0, .08);
display: flex;
&-left{
width: 75%;
}
&-right{
width: 25%;
background-color: #b84297;
height: 1000px;
}
h4 {
font-size: 20px;
font-weight: 500;
color: #b84297;
margin-bottom: .25rem;
margin-top: 0;
}
p {
margin-top: 0;
margin-bottom: 1rem;
}
}
}
</style>