1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <template>
- <div>
- <van-dialog
- use-slot
- title="确认打卡"
- :show="show"
- show-cancel-button
- confirm-button-open-type="getUserInfo"
- @close="onClose"
- @getuserinfo="getUserInfo"
- >
- <div>走访目标位置:你家</div>
- <div>当前位置:我家</div>
- 老大,你真的要在这打卡吗?
- </van-dialog>
- </div>
- </template>
- <script>
- export default {
- data() {
- return {
- show: false,
- };
- },
- methods: {
- setVisible() {
- this.show = true;
- },
- getUserInfo(event) {
- console.log(event.detail);
- },
- onClose() {
- this.show = false;
- },
- },
- };
- </script>
- <style>
- </style>
|