-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.vue
More file actions
69 lines (59 loc) · 1.12 KB
/
App.vue
File metadata and controls
69 lines (59 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<template>
<div id="app">
<!-- 使用新的动态组件展示页面 -->
<VueComponentsDoc />
</div>
</template>
<script setup>
import VueComponentsDoc from './src/index.vue'
</script>
<style scoped>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
color: #2c3e50;
margin: 0;
padding: 0;
background-color: #f5f7fa;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
h1 {
text-align: center;
margin-bottom: 40px;
color: #409eff;
}
.component-section {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
padding: 20px;
margin-bottom: 30px;
}
.component-section h2 {
border-bottom: 1px solid #ebeef5;
padding-bottom: 10px;
margin-top: 0;
color: #409eff;
}
.component-demo {
padding: 10px;
}
.component-demo h3 {
font-size: 16px;
margin: 20px 0 10px;
color: #606266;
}
.demo-row {
margin-bottom: 20px;
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
}
.demo-row .custom-input {
width: 300px;
}
</style>