mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
build docs
This commit is contained in:
parent
5e1d604c11
commit
366ce6f575
2
docs/build/0.js
vendored
2
docs/build/0.js
vendored
File diff suppressed because one or more lines are too long
2
docs/build/zanui-docs.js
vendored
2
docs/build/zanui-docs.js
vendored
File diff suppressed because one or more lines are too long
2
docs/build/zanui-examples.js
vendored
2
docs/build/zanui-examples.js
vendored
File diff suppressed because one or more lines are too long
@ -3,7 +3,7 @@
|
|||||||
<zan-button @click="popupShow1 = true;">从下方弹出popup</zan-button>
|
<zan-button @click="popupShow1 = true;">从下方弹出popup</zan-button>
|
||||||
</div>
|
</div>
|
||||||
<zan-popup v-model="popupShow1" position="bottom" class="zan-popup-1">
|
<zan-popup v-model="popupShow1" position="bottom" class="zan-popup-1">
|
||||||
更新成功
|
<zan-button @click="showDialog">弹出dialog</zan-button>
|
||||||
</zan-popup>
|
</zan-popup>
|
||||||
|
|
||||||
<div class="zan-row">
|
<div class="zan-row">
|
||||||
@ -67,6 +67,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import Vue from "vue";import ExampleBlock from "../components/example-block";Vue.component("example-block", ExampleBlock);
|
import Vue from "vue";import ExampleBlock from "../components/example-block";Vue.component("example-block", ExampleBlock);
|
||||||
import MobileComputed from 'components/mobile-computed';
|
import MobileComputed from 'components/mobile-computed';
|
||||||
|
import Dialog from 'packages/dialog';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
mixins: [MobileComputed],
|
mixins: [MobileComputed],
|
||||||
@ -88,6 +89,19 @@ export default {
|
|||||||
}, 2000);
|
}, 2000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
methods: {
|
||||||
|
showDialog() {
|
||||||
|
Dialog.confirm({
|
||||||
|
title: 'confirm标题',
|
||||||
|
message: '弹窗提示文字,左右始终距离边20PX,上下距离20PX,文字左对齐。弹窗提示文字,左右始终距离边20PX,上下距离20PX,文字左对齐。'
|
||||||
|
}).then((action) => {
|
||||||
|
console.log(action);
|
||||||
|
}, (error) => {
|
||||||
|
console.log(error);
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
Loading…
x
Reference in New Issue
Block a user