feat: 物料市场
This commit is contained in:
@@ -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" />
|
||||
|
||||
@@ -3,6 +3,7 @@ export default {
|
||||
home:"Home",
|
||||
guide: "Guide",
|
||||
components: "Components",
|
||||
environment: "Environment"
|
||||
environment: "Environment",
|
||||
material: "Material"
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,7 @@ export default {
|
||||
home:"首页",
|
||||
guide: "指南",
|
||||
components: "组件",
|
||||
environment: "生态"
|
||||
environment: "生态",
|
||||
material: "物料"
|
||||
}
|
||||
}
|
||||
@@ -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: "结果" },
|
||||
},
|
||||
],
|
||||
}
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
36
example/src/view/material.vue
Normal file
36
example/src/view/material.vue
Normal 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>
|
||||
Reference in New Issue
Block a user