chore: add vant-doc package (#4197)

This commit is contained in:
neverland
2019-08-22 20:11:09 +08:00
committed by GitHub
parent f3f3789011
commit eeb65ed922
24 changed files with 1395 additions and 108 deletions
@@ -0,0 +1,36 @@
<template>
<section class="van-doc-demo-block">
<h2 class="van-doc-demo-block__title">{{ title }}</h2>
<slot />
</section>
</template>
<script>
export default {
name: 'van-doc-demo-block',
props: {
title: String
}
};
</script>
<style lang="less">
@import '../style/variable';
.van-doc-demo-block {
&__title {
margin: 0;
padding: 35px 15px 15px;
color: @van-doc-text-light-blue;
font-weight: normal;
font-size: 14px;
}
&:first-of-type {
.van-doc-demo-block__title {
padding-top: 20px;
}
}
}
</style>