Skip to content

Commit 2dc0cfb

Browse files
authored
Merge pull request #201 from TaleLin/feature/linCmsUi
新增 Dialog 组件及 Timeline 组件
2 parents 9b8eb93 + b789ed5 commit 2dc0cfb

File tree

9 files changed

+702
-37
lines changed

9 files changed

+702
-37
lines changed

src/assets/styles/realize/element-variables.scss

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -325,27 +325,12 @@ thead tr {
325325
font-size: 18px;
326326
top: -5px;
327327
}
328-
329-
// dialog
330-
.el-dialog__footer {
331-
text-align: left;
332-
padding-left: 30px;
333-
}
334-
328+
// el-dialog
335329
.el-dialog__title {
336330
color: $parent-title-color;
337331
font-size: 16px;
338332
font-weight: 500;
339333
}
340-
341-
.el-dialog__header {
342-
padding-left: 30px;
343-
}
344-
345-
.el-dialog__body {
346-
padding: 30px;
347-
}
348-
349334
// tab
350335
.el-tabs__item.is-active {
351336
color: $theme;

src/config/stage/plugins.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// 本文件是自动生成, 请勿修改
2-
import LinCmsUi from '@/plugins/LinCmsUi/stage-config'
32
import custom from '@/plugins/custom/stage-config'
3+
import LinCmsUi from '@/plugins/LinCmsUi/stage-config'
44

55
const pluginsConfig = [
6-
LinCmsUi,
76
custom,
7+
LinCmsUi,
88
]
99

1010
export default pluginsConfig

src/plugins/LinCmsUi/stage-config.js

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ const LinCmsUiRouter = {
273273
filePath: 'plugins/LinCmsUi/views/form/TimePicker.vue',
274274
inNav: true,
275275
icon: 'iconfont icon-jiemiansheji',
276-
276+
right: null,
277277
},
278278
{
279279
title: 'DateTimePicker 日期时间选择器',
@@ -283,7 +283,7 @@ const LinCmsUiRouter = {
283283
filePath: 'plugins/LinCmsUi/views/form/DateTimePicker.vue',
284284
inNav: true,
285285
icon: 'iconfont icon-jiemiansheji',
286-
286+
right: null,
287287
},
288288
{
289289
title: 'DatePicker 日期选择器',
@@ -293,7 +293,7 @@ const LinCmsUiRouter = {
293293
filePath: 'plugins/LinCmsUi/views/form/DatePicker.vue',
294294
inNav: true,
295295
icon: 'iconfont icon-jiemiansheji',
296-
296+
right: null,
297297
},
298298
],
299299
},
@@ -339,6 +339,38 @@ const LinCmsUiRouter = {
339339
},
340340
],
341341
},
342+
{
343+
title: 'Others',
344+
type: 'folder',
345+
name: null,
346+
route: '/lin-cms-ui/others/base',
347+
filePath: 'plugins/LinCmsUi/views/others/',
348+
inNav: true,
349+
icon: 'iconfont icon-jiemiansheji',
350+
right: null,
351+
children: [
352+
{
353+
title: 'Dialog 对话框',
354+
type: 'view',
355+
name: null,
356+
route: '/lin-cms-ui/other/dialog',
357+
filePath: 'plugins/LinCmsUi/views/other/Dialog.vue',
358+
inNav: true,
359+
icon: 'iconfont icon-jiemiansheji',
360+
right: null,
361+
},
362+
{
363+
title: 'Timeline 时间线',
364+
type: 'view',
365+
name: null,
366+
route: '/lin-cms-ui/other/timeline',
367+
filePath: 'plugins/LinCmsUi/views/other/Timeline.vue',
368+
inNav: true,
369+
icon: 'iconfont icon-jiemiansheji',
370+
right: null,
371+
},
372+
],
373+
},
342374
],
343375
}
344376

src/plugins/LinCmsUi/views/data/progress/Progress.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,8 @@ export default {
107107

108108
<style lang="scss" scoped>
109109
@import '../../../assets/style/container';
110+
.el-progress {
111+
margin-top:20px;
112+
margin-left: 20px;
113+
}
110114
</style>

0 commit comments

Comments
 (0)