docs: remove demo-section

This commit is contained in:
chenjiahan
2020-10-22 16:44:19 +08:00
parent 862c3ec1a4
commit e8244c44e1
69 changed files with 2732 additions and 2980 deletions
+22 -26
View File
@@ -1,31 +1,27 @@
<template>
<demo-section>
<demo-block :title="t('basicUsage')">
<van-button
type="primary"
:text="t('showOverlay')"
style="margin-left: 16px;"
@click="show = true"
/>
<demo-block :title="t('basicUsage')">
<van-button
type="primary"
:text="t('showOverlay')"
style="margin-left: 16px;"
@click="show = true"
/>
<van-overlay :show="show" @click="show = false" />
</demo-block>
<van-overlay :show="show" @click="show = false" />
</demo-block>
<demo-block :title="t('embeddedContent')">
<van-button
type="primary"
:text="t('embeddedContent')"
style="margin-left: 16px;"
@click="showEmbedded = true"
/>
<van-overlay :show="showEmbedded" @click="showEmbedded = false">
<div class="wrapper">
<div class="block" />
</div>
</van-overlay>
</demo-block>
</demo-section>
<demo-block :title="t('embeddedContent')">
<van-button
type="primary"
:text="t('embeddedContent')"
style="margin-left: 16px;"
@click="showEmbedded = true"
/>
<van-overlay :show="showEmbedded" @click="showEmbedded = false">
<div class="wrapper">
<div class="block" />
</div>
</van-overlay>
</demo-block>
</template>
<script>