-
Notifications
You must be signed in to change notification settings - Fork 6
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
11 changed files
with
164 additions
and
143 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,4 +79,4 @@ | |
"access": "public", | ||
"registry": "https://registry.npmjs.org/" | ||
} | ||
} | ||
} |
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,7 @@ | ||
<template> | ||
<div> | ||
<div> | ||
<input> | ||
</div> | ||
</div> | ||
</template> |
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,7 +1,5 @@ | ||
<script setup> | ||
import { Dialog } from '@varlet/ui' | ||
</script> | ||
|
||
<template> | ||
<var-button type="primary" block @click="Dialog('兰亭临帖 行书如行云流水')">基本使用</var-button> | ||
</template> | ||
<var-button type="primary" block @click="Dialog('兰亭临帖 行书如行云流水')"> | ||
基本使用 | ||
</var-button> | ||
</template> |
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,16 +1,21 @@ | ||
<script setup lang="ts"> | ||
import type { FabPosition } from '@varlet/ui'; | ||
import { ref } from 'vue' | ||
const position = ref<FabPosition>('left-top') | ||
</script> | ||
|
||
<template> | ||
<var-radio-group v-model="position" style="margin-top: 80px;"> | ||
<var-radio checked-value="left-top">left-top</var-radio> | ||
<var-radio checked-value="right-top">right-top</var-radio> | ||
<var-radio checked-value="left-bottom">left-bottom</var-radio> | ||
<var-radio checked-value="right-bottom">right-bottom</var-radio> | ||
<var-radio checked-value="left-top"> | ||
left-top | ||
</var-radio> | ||
<var-radio checked-value="right-top"> | ||
right-top | ||
</var-radio> | ||
<var-radio checked-value="left-bottom"> | ||
left-bottom | ||
</var-radio> | ||
<var-radio checked-value="right-bottom"> | ||
right-bottom | ||
</var-radio> | ||
</var-radio-group> | ||
<var-fab :position="position" /> | ||
</template> | ||
</template> |
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,11 +1,11 @@ | ||
<script setup> | ||
import { ImagePreview } from '@varlet/ui' | ||
function preview () { | ||
function preview() { | ||
ImagePreview('https://varlet.gitee.io/varlet-ui/cat.jpg') | ||
} | ||
</script> | ||
|
||
<template> | ||
<var-button type="primary" block @click="preview">基本使用</var-button> | ||
</template> | ||
<var-button type="primary" block @click="preview"> | ||
基本使用 | ||
</var-button> | ||
</template> |
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
Oops, something went wrong.