feat: publish 0.4.0
This commit is contained in:
@@ -238,8 +238,8 @@ export default {
|
||||
|
||||
<template>
|
||||
<lay-button-container>
|
||||
<lay-button type="default" :loading="loading">加载</lay-button>
|
||||
<lay-switch v-model="loading"></lay-switch>
|
||||
<lay-button type="default" :loading="loadState">加载</lay-button>
|
||||
<lay-switch v-model="loadState"></lay-switch>
|
||||
</lay-button-container>
|
||||
</template>
|
||||
|
||||
@@ -249,10 +249,10 @@ import { ref } from 'vue'
|
||||
export default {
|
||||
setup() {
|
||||
|
||||
const loading = ref(true)
|
||||
const loadState = ref(true)
|
||||
|
||||
return {
|
||||
loading
|
||||
loadState
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -288,23 +288,11 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
::: title 主题配置
|
||||
::: title Button 变量
|
||||
:::
|
||||
|
||||
<p style="margin-left: 30px">less</p>
|
||||
|
||||
```
|
||||
@button-primary-color: #009688; // 主题色
|
||||
@button-border-radius: 2px; // 圆角
|
||||
@button-border-color: #d2d2d2; // 边框色
|
||||
```
|
||||
|
||||
<p style="margin-left: 30px">css</p>
|
||||
|
||||
```
|
||||
--button-primary-color: #009688; // 主题色
|
||||
--button-border-radius: 2px; // 圆角
|
||||
--button-border-color: #d2d2d2; // 边框色
|
||||
```
|
||||
|
||||
::: title Button 属性
|
||||
|
||||
@@ -34,6 +34,32 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
::: title 日期时间
|
||||
:::
|
||||
|
||||
::: demo
|
||||
|
||||
<template>
|
||||
<lay-date-picker type="datetime" v-model="endTime"></lay-date-picker>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { ref } from 'vue'
|
||||
|
||||
export default {
|
||||
setup() {
|
||||
|
||||
const endTime = ref("2022-03-04 17:35:00");
|
||||
|
||||
return {
|
||||
endTime
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
:::
|
||||
|
||||
::: comment
|
||||
:::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user