[修复] timeline 组件样式
This commit is contained in:
@@ -3,29 +3,6 @@
|
||||
|
||||
::: demo
|
||||
|
||||
<template>
|
||||
<lay-switch></lay-switch>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { ref } from 'vue'
|
||||
|
||||
export default {
|
||||
setup() {
|
||||
|
||||
return {
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
:::
|
||||
|
||||
::: title 基础使用
|
||||
:::
|
||||
|
||||
::: demo
|
||||
|
||||
<template>
|
||||
<lay-switch v-model="active1"></lay-switch>
|
||||
</template>
|
||||
@@ -36,7 +13,7 @@ import { ref } from 'vue'
|
||||
export default {
|
||||
setup() {
|
||||
|
||||
const active1 = ref(true);
|
||||
const active1 = ref(false);
|
||||
|
||||
return {
|
||||
active1
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
:::
|
||||
|
||||
<lay-timeline style="padding-left:30px;padding-top:30px;">
|
||||
<lay-timeline-item title="修订版本号:日常 bugfix 更新" simple></lay-timeline-item>
|
||||
<lay-timeline-item title="尾版本号:日常 bugfix 更新" simple></lay-timeline-item>
|
||||
<lay-timeline-item title="次版本号:带有新特性的向下兼容的版本。" simple></lay-timeline-item>
|
||||
<lay-timeline-item title="主版本号:含有破坏性更新和新特性,不在发布周期内。" simple></lay-timeline-item>
|
||||
</lay-timeline>
|
||||
|
||||
@@ -52,15 +52,6 @@ h1 {
|
||||
}
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin-top: 2rem;
|
||||
font-size: 1.35rem;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.15rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user