[Doc] beautify demo

This commit is contained in:
陈嘉涵
2019-05-16 14:08:44 +08:00
parent 3b89baedab
commit 0387fc7da8
26 changed files with 268 additions and 68 deletions

View File

@@ -2,6 +2,7 @@
<demo-section>
<demo-block :title="$t('basicUsage')">
<van-button
type="primary"
:text="$t('showNotify')"
@click="showNotify"
/>
@@ -9,6 +10,7 @@
<demo-block :title="$t('customConfig')">
<van-button
type="primary"
:text="$t('showCustomNotify')"
@click="showCustomNotify"
/>
@@ -50,7 +52,11 @@ export default {
</script>
<style lang="less">
@import "../../style/var";
.demo-notify {
background-color: @white;
.van-button {
margin-left: 15px;
}