2021-12-30 00:44:43 +08:00
|
|
|
::: anchor
|
|
|
|
:::
|
|
|
|
|
|
|
|
::: title 基础使用
|
|
|
|
:::
|
|
|
|
|
2021-09-27 22:01:22 +08:00
|
|
|
::: demo
|
|
|
|
|
|
|
|
<template>
|
2021-09-28 09:42:28 +08:00
|
|
|
默认分割线
|
2021-10-06 23:22:30 +08:00
|
|
|
<lay-line></lay-line><br/>
|
2021-09-28 09:42:28 +08:00
|
|
|
赤色分割线
|
2021-10-06 23:22:30 +08:00
|
|
|
<lay-line theme="red"></lay-line><br/>
|
2021-09-28 09:42:28 +08:00
|
|
|
橙色分割线
|
2021-10-06 23:22:30 +08:00
|
|
|
<lay-line theme="orange"></lay-line><br/>
|
2021-09-28 09:42:28 +08:00
|
|
|
墨绿分割线
|
2021-10-06 23:22:30 +08:00
|
|
|
<lay-line theme="green"></lay-line><br/>
|
2021-09-28 09:42:28 +08:00
|
|
|
青色分割线
|
2021-10-06 23:22:30 +08:00
|
|
|
<lay-line theme="cyan"></lay-line><br/>
|
2021-09-28 09:42:28 +08:00
|
|
|
蓝色分割线
|
2021-10-06 23:22:30 +08:00
|
|
|
<lay-line theme="blue"></lay-line><br/>
|
2021-09-28 09:42:28 +08:00
|
|
|
黑色分割线
|
2021-10-06 23:22:30 +08:00
|
|
|
<lay-line theme="black"></lay-line><br/>
|
2021-09-27 22:01:22 +08:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import { ref } from 'vue'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
setup() {
|
|
|
|
|
|
|
|
return {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
:::
|
2021-10-01 18:20:41 +08:00
|
|
|
|
2021-10-26 01:13:23 +08:00
|
|
|
::: title 分割属性
|
2021-10-13 10:04:43 +08:00
|
|
|
:::
|
2021-10-12 18:00:09 +08:00
|
|
|
|
2021-11-07 15:55:08 +08:00
|
|
|
::: table
|
|
|
|
|
2021-10-26 01:14:17 +08:00
|
|
|
| Name | Description | Accepted Values |
|
|
|
|
| ----- | ----------- | --------------------------------------------- |
|
|
|
|
| theme | 主题 | `orange` `green` `cyan` `blue` `black` `gray` |
|
2021-11-07 15:55:08 +08:00
|
|
|
|
2021-11-07 15:56:24 +08:00
|
|
|
:::
|
2021-12-16 17:57:59 +08:00
|
|
|
|
|
|
|
::: comment
|
|
|
|
:::
|