This commit is contained in:
cookfront
2017-03-08 19:48:27 +08:00
parent 020b196556
commit 6376b0b1ab
3 changed files with 10 additions and 59 deletions

View File

@@ -1,6 +1,13 @@
<style>
@component-namespace demo {
@b popup {
.zan-popup-1 {
width: 100%;
height: 200px;
box-sizing: border-box;
padding: 20px;
}
.zan-popup-4 {
width: 60%;
height: 200px;
@@ -42,7 +49,7 @@ export default {
<zan-button @click="popupShow1 = true">从下方弹出popup</zan-button>
</div>
<zan-popup v-model="popupShow1" position="bottom" class="zan-popup-1">
xxxx
<zan-button @click="popupShow4 = true" type="primary">从中间弹出popup</zan-button>
</zan-popup>
<div class="zan-row">
@@ -62,9 +69,6 @@ export default {
<div class="zan-row">
<zan-button @click="popupShow4 = true">从中间弹出popup</zan-button>
</div>
<zan-popup v-model="popupShow4" transition="popup-fade" class="zan-popup-4">
一些内容
</zan-popup>
<script>
export default {