-
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
42 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
export type { CountDownProps } from './props' | ||
|
||
/** 回调方法类型 */ | ||
export type CountDownFinish = () => void |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,5 @@ | ||
<script setup lang="ts"> | ||
import { ref } from 'vue' | ||
<script lang="ts" setup></script> | ||
|
||
const visible1 = ref(true) | ||
<template></template> | ||
|
||
const handleOpen = el => console.log(el) | ||
</script> | ||
|
||
<template> | ||
<f-button type="primary" @click="visible1 = true">打开</f-button> | ||
|
||
<!-- fullscreen --> | ||
<f-dialog | ||
v-model:visible="visible1" | ||
title="标题文字" | ||
width="500px" | ||
:on-open="handleOpen" | ||
> | ||
这是一个 Dialog | ||
<h1>1</h1> | ||
<h1>1</h1> | ||
<h1>1</h1> | ||
<h1>1</h1> | ||
<h1>1</h1> | ||
<h1>1</h1> | ||
<h1>1</h1> | ||
<h1>1</h1> | ||
<h1>1</h1> | ||
<h1>1</h1> | ||
<h1>1</h1> | ||
<h1>1</h1> | ||
<h1>1</h1> | ||
<h1>1</h1> | ||
<h1>1</h1> | ||
<h1>1</h1> | ||
|
||
<template #footer> | ||
<f-button type="default">默认按钮</f-button> | ||
<f-button type="primary">主要按钮</f-button> | ||
</template> | ||
</f-dialog> | ||
</template> | ||
<style lang="scss" scoped></style> |