feat: 物料市场

This commit is contained in:
就眠儀式
2022-02-19 00:25:16 +08:00
parent 818790ad27
commit 369eeaa399
7 changed files with 75 additions and 7 deletions

View File

@@ -25,6 +25,9 @@
<li class="layui-nav-item">
<router-link to="/zh-CN/environment"> {{ t('nav.environment') }} </router-link>
</li>
<li class="layui-nav-item">
<router-link to="/zh-CN/material"> {{ t('nav.material') }} </router-link>
</li>
<li class="layui-nav-item">
<lay-form>
<lay-search :datas="menus" />

View File

@@ -3,6 +3,7 @@ export default {
home:"Home",
guide: "Guide",
components: "Components",
environment: "Environment"
environment: "Environment",
material: "Material"
}
}

View File

@@ -3,6 +3,7 @@ export default {
home:"首页",
guide: "指南",
components: "组件",
environment: "生态"
environment: "生态",
material: "物料"
}
}

View File

@@ -4,7 +4,7 @@ import Hooks from "../view/hooks.vue";
import Guide from "../view/guide.vue";
import Index from "../view/index.vue";
import Environment from "../view/environment.vue";
import Material from "../view/material.vue";
const zhCN = [
{
path: "/",
@@ -22,6 +22,11 @@ const zhCN = [
component: Environment,
meta: { title: "生态" },
},
{
path: "/zh-CN/material",
component: Material,
meta: { title: "物料" },
},
{
path: "/zh-CN/guide",
redirect: "/zh-CN/guide/introduce",
@@ -62,7 +67,7 @@ const zhCN = [
path: "/zh-CN/guide/locale",
component: () => import("../../docs/zh-CN/guide/locale.md"),
meta: { title: "语言" },
}
},
],
},
{
@@ -343,11 +348,12 @@ const zhCN = [
},
{
path: "/zh-CN/components/fullscreen",
component: () => import("../../docs/zh-CN/components/fullscreen.md"),
component: () =>
import("../../docs/zh-CN/components/fullscreen.md"),
meta: { title: "结果" },
},
],
}
},
],
},
];

View File

@@ -0,0 +1,36 @@
<template>
<div class="alone-banner layui-bg-black">
<div class="layui-main">
<h1> </h1>
<p class="layui-hide-xs">
</p>
</div>
</div>
</template>
<script>
</script>
<style>
.alone-banner {
margin-top: 60px;
height: 190px;
text-align: center;
font-weight: 300;
background-color: #009688;
color: #fff;
}
.alone-banner h1 {
padding-top: 60px;
line-height: 32px;
font-size: 30px;
font-weight: 300;
color: white!important;
}
.alone-banner p {
padding-top: 20px;
color: #e2e2e2;
color: rgba(255,255,255,.8);
}
</style>