element/examples/pages/guide.vue

82 lines
1.5 KiB
Vue
Raw Normal View History

2016-08-23 19:15:15 +08:00
<style>
.el-col {
box-sizing: border-box;
}
.page-guide {
2016-08-25 15:54:45 +08:00
padding: 55px 0 95px;
2016-08-23 19:15:15 +08:00
.content {
padding-left: 25px;
border-left: 1px solid #eaeefa;
margin-left: -1px;
h3 {
font-size: 22px;
font-weight: normal;
margin: 0 0 30px;
color: #1f2d3d;
}
p {
font-size: 14px;
color: #5e6d82;
}
ul {
margin-bottom: 50px;
padding-left: 0;
}
li {
font-size: 14px;
margin-bottom: 10px;
color: #99a9bf;
list-style: none;
&:before {
content: '';
display: inline-block;
width: 4px;
height: @width;
border-radius: 50%;
vertical-align: middle;
background-color: #5e6d82;
margin-right: 5px;
}
strong {
color: #5e6d82;
font-weight: 400;
}
}
}
}
</style>
2016-08-22 17:49:20 +08:00
<template>
2016-08-25 15:54:45 +08:00
<div class="page-container page-guide">
2016-08-23 19:15:15 +08:00
<el-row>
<el-col :span="5">
<side-nav :data="navsData" base="/guide"></side-nav>
</el-col>
<el-col :span="19">
<router-view class="content"></router-view>
</el-col>
</el-row>
</div>
</template>
<script>
export default {
data() {
return {
navsData: [
{
path: '/design',
name: '设计原则'
},
{
path: '/nav',
name: '导航'
}
]
};
}
};
</script>