forked from jd-opensource/nutui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tabs): add animated-time demo (jd-opensource#2942)
- Loading branch information
Showing
7 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
packages/nutui-taro-demo/src/nav/pages/tabs/animated-time.vue
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<template> | ||
<nut-tabs v-model="value" :animated-time="0"> | ||
<nut-tab-pane title="Tab 1" pane-key="1"> Content 1 </nut-tab-pane> | ||
<nut-tab-pane title="Tab 2" pane-key="2"> Content 2 </nut-tab-pane> | ||
<nut-tab-pane title="Tab 3" pane-key="3"> Content 3 </nut-tab-pane> | ||
</nut-tabs> | ||
</template> | ||
<script setup lang="ts"> | ||
import { ref } from 'vue'; | ||
const value = ref('1'); | ||
</script> |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<template> | ||
<nut-tabs v-model="value" :animated-time="0"> | ||
<nut-tab-pane title="Tab 1" pane-key="1"> Content 1 </nut-tab-pane> | ||
<nut-tab-pane title="Tab 2" pane-key="2"> Content 2 </nut-tab-pane> | ||
<nut-tab-pane title="Tab 3" pane-key="3"> Content 3 </nut-tab-pane> | ||
</nut-tabs> | ||
</template> | ||
<script setup lang="ts"> | ||
import { ref } from 'vue'; | ||
const value = ref('1'); | ||
</script> |
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