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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
| <template>
| <div class="demo scroller1">
| <el-row :gutter="10">
| <el-col v-for="(item, index) in list" :key="index" :xs="24" :sm="12" :md="8" :lg="6">
| <component :is="item" />
| </el-col>
| </el-row>
| </div>
| </template>
|
| <script lang="ts">
| import BClUpload from "../components/demo/b-cl-upload.vue";
| import BVCopy from "../components/demo/b-v-copy.vue";
| import BIconSvg from "../components/demo/b-icon-svg.vue";
| import BClCrud from "../components/demo/b-cl-crud.vue";
| import BClContextMenu from "../components/demo/b-cl-context-menu.vue";
| import BErrorPage from "../components/demo/b-error-page.vue";
| import BClEditorQuill from "../components/demo/b-cl-editor-quill.vue";
|
| export default {
| name: "demo",
|
| components: {
| BClUpload,
| BVCopy,
| BIconSvg,
| BClCrud,
| BClContextMenu,
| BErrorPage,
| BClEditorQuill
| },
|
| setup() {
| return {
| list: [
| "b-cl-upload",
| "b-cl-crud",
| "b-icon-svg",
| "b-v-copy",
| "b-cl-context-menu",
| "b-error-page",
| "b-cl-editor-quill"
| ]
| };
| }
| };
| </script>
|
| <style lang="scss">
| .demo {
| .scope {
| background-color: #fff;
| border-radius: 3px;
| margin-bottom: 10px;
|
| .h {
| height: 30px;
| display: flex;
| align-items: center;
| padding: 10px;
| font-size: 12px;
|
| span {
| background-color: $color-primary;
| color: #fff;
| border-radius: 3px;
| padding: 2px 5px;
| margin-right: 10px;
| font-size: 14px;
| letter-spacing: 1px;
| }
| }
|
| .c {
| padding: 10px;
| height: 50px;
| box-sizing: border-box;
|
| &._svg {
| .icon-svg {
| margin-right: 15px;
| }
| }
|
| a {
| font-size: 13px;
| color: #666;
| position: relative;
|
| &:hover {
| &:after {
| content: "";
| width: 100%;
| height: 1px;
| position: absolute;
| bottom: -2px;
| left: 0;
| background-color: $color-primary;
| }
| }
| }
| }
|
| .f {
| height: 30px;
| display: flex;
| align-items: center;
| justify-content: space-between;
| padding: 10px;
| font-size: 12px;
|
| .date {
| color: #999;
| }
| }
| }
| }
| </style>
|
|