[新增] progress 进度条

This commit is contained in:
就眠仪式
2021-09-28 09:42:28 +08:00
parent eec76e2cb1
commit 2b8fc4758d
8 changed files with 53 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
::: demo
<template>
<lay-input></lay-input>
<lay-input v-model="data"></lay-input>{{data}}
</template>
<script>
@@ -10,7 +10,10 @@ import { ref } from 'vue'
export default {
setup() {
const data = ref("内容");
return {
data
}
}
}

View File

@@ -1,12 +1,19 @@
::: demo
<template>
默认分割线
<lay-line></lay-line>
赤色分割线
<lay-line theme="red"></lay-line>
橙色分割线
<lay-line theme="orange"></lay-line>
墨绿分割线
<lay-line theme="green"></lay-line>
青色分割线
<lay-line theme="cyan"></lay-line>
蓝色分割线
<lay-line theme="blue"></lay-line>
黑色分割线
<lay-line theme="black"></lay-line>
</template>

View File

@@ -0,0 +1,21 @@
::: demo
<template>
<lay-progress percent="80"></lay-progress>
<br>
<lay-progress percent="60"></lay-progress>
</template>
<script>
import { ref } from 'vue'
export default {
setup() {
return {
}
}
}
</script>
:::