Files
Yi.Admin/Yi.Bbs.Vue3/src/views/start/Index.vue

114 lines
2.6 KiB
Vue
Raw Normal View History

2024-06-05 23:23:33 +08:00
<script setup>
import { reactive } from "vue";
import CodeBox from "./components/CodeBox.vue"
import LableInput from "./components/LableInput.vue"
const form = reactive({
name: "222"
});
const text1 = "> dotnet tool install -g Yi.Abp.Tool";
const text2 = "> yi-abp new Acme.BookStore -t module -csf";
</script>
2024-06-03 22:21:02 +08:00
<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>
2024-06-05 23:23:33 +08:00
<p>如果之前未安装 Yi.Abp.Tool请在命令行终端中安装</p>
<CodeBox :text="text1" />
<h4>创建你的解决方案</h4>
<p>在命令行终端运行以下命令</p>
<CodeBox :text="text2" />
<h4>配置</h4>
<p>您可以更改下面的解决方案配置</p>
<h5>为项目命名</h5>
<LableInput v-model="form.name" />
<p>您可以使用不同级别的命名空间例如BookStoreAcme.BookStore Acme.Retail.BookStore</p>
2024-06-03 22:21:02 +08:00
</div>
2024-06-05 23:23:33 +08:00
<div class="content-body-right">
2024-06-03 22:21:02 +08:00
2024-06-05 23:23:33 +08:00
</div>
2024-06-03 22:21:02 +08:00
</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;
2024-06-05 23:23:33 +08:00
&-left {
width: 100%;
2024-06-03 22:21:02 +08:00
}
2024-06-05 23:23:33 +08:00
&-right {
width: 0%;
background-color: #409EFF;
}
p {
margin-top: 0;
margin-bottom: 1rem;
font-family: "Poppins";
font-size: 14px;
font-weight: 300;
2024-06-03 22:21:02 +08:00
}
h4 {
font-size: 20px;
font-weight: 500;
2024-06-05 23:23:33 +08:00
color: #409EFF;
2024-06-03 22:21:02 +08:00
margin-bottom: .25rem;
margin-top: 0;
2024-06-05 23:23:33 +08:00
}
h5 {
color: #292d33;
font-size: 16px !important;
font-weight: 500 !important;
margin: 5px;
2024-06-03 22:21:02 +08:00
}
}
}
</style>