imatrix-ui 2.8.5-tmp1 → 2.8.5-tmp3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imatrix-ui",
3
- "version": "2.8.5-tmp1",
3
+ "version": "2.8.5-tmp3",
4
4
  "description": "前端组件库:表格、表单、组织结构树等",
5
5
  "main": "lib/super-ui.umd.min.js",
6
6
  "private": false,
@@ -69,6 +69,16 @@ export const publicRouterMap = [
69
69
  path: '/show-sub-wf-history',
70
70
  component: () => import('../views/wf-history/tache-subprocess-history'),
71
71
  hidden: true
72
+ },
73
+ {
74
+ path: '/tab-content-index',
75
+ component: () => import('../views/layout/tab-content-index'),
76
+ hidden: true
77
+ },
78
+ {
79
+ path: '/tab-content-iframe-index',
80
+ component: () => import('../views/layout/tab-content-iframe-index'),
81
+ hidden: true
72
82
  }
73
83
 
74
84
  ]
@@ -22,6 +22,12 @@ const tabContent = {
22
22
  // 设置当前激活的tab
23
23
  set_active_index(state, index) {
24
24
  state.activeIndex = index
25
+ },
26
+ // 清空tabs
27
+ clear_tabs(state, route) {
28
+ if (state.openTab.length > 0) {
29
+ state.openTab.splice(0, state.openTab.length)
30
+ }
25
31
  }
26
32
  },
27
33
  actions: {
@@ -0,0 +1,8 @@
1
+ @import "./dark-blue-var.scss";
2
+
3
+ .dark-blue {
4
+ .operation-area .el-button--primary {
5
+ border-radius: 4px;
6
+ background: $--button-opt-background-color;
7
+ }
8
+ }
@@ -39,4 +39,18 @@
39
39
 
40
40
  }
41
41
 
42
+
43
+ .platform {
44
+ .el-card__header {
45
+ height: 40px;
46
+ background: #F0F8FE;
47
+ color: #005EBA;
48
+ font-family: Source Han Sans CN;
49
+ font-weight: medium;
50
+ font-size: 14px;
51
+ text-align: left;
52
+ padding: 9px 0px 9px 20px;
53
+ }
54
+ }
55
+
42
56
  }
@@ -0,0 +1,10 @@
1
+ @import "./dark-blue-var.scss";
2
+
3
+ .dark-blue {
4
+
5
+ .el-checkbox__input.is-checked .el-checkbox__inner,
6
+ .el-checkbox__input.is-indeterminate .el-checkbox__inner {
7
+ background-color: $--color-primary;
8
+ border-color: $--color-primary;
9
+ }
10
+ }
@@ -0,0 +1,8 @@
1
+ /* 改变主题色变量 */
2
+ $--color-primary: #005EBA;
3
+ $--button-default-border-color: $--color-primary;
4
+ $--button-default-font-color: $--color-primary;
5
+ $--button-font-weight: regular;
6
+ $--button-default-font-color: $--color-primary;
7
+ $--button-opt-background-color:#0780ED;
8
+ $th-cell-background: #F0F8FE;
@@ -1,10 +1,7 @@
1
- /* 改变主题色变量 */
2
- $--color-primary: #0780ED;
3
- $--button-default-border-color: #005EBA;
4
- $--button-default-font-color: #005EBA;
5
- $--button-font-weight: regular;
1
+ @import "./dark-blue-var.scss";
6
2
 
7
- /* 改变 icon 字体路径变量,必需 */
8
- $--font-path: '~element-ui/lib/theme-chalk/fonts';
9
-
10
- @import "~element-ui/packages/theme-chalk/src/index";
3
+ .dark-blue {
4
+ /* 改变 icon 字体路径变量,必需 */
5
+ $--font-path: '~element-ui/lib/theme-chalk/fonts';
6
+ @import "~element-ui/packages/theme-chalk/src/index";
7
+ }
@@ -1,10 +1,14 @@
1
- @import './sidebar.scss';
2
- @import './font-style.scss';
3
- @import './card-style.scss';
4
- @import './tab-style.scss';
5
- @import './input-style.scss';
6
- @import './form-style.scss';
7
1
  @import './element-variables.scss';
2
+ @import './table.scss';
3
+ @import './sidebar.scss';
4
+ @import './font.scss';
5
+ @import './card.scss';
6
+ @import './tab.scss';
7
+ @import './input.scss';
8
+ @import './form.scss';
9
+ @import './pagination.scss';
10
+ @import './button.scss';
11
+ @import './checkbox.scss';
8
12
 
9
13
  .dark-blue {
10
14
  font-family: cursive;
@@ -92,6 +96,7 @@
92
96
 
93
97
  .operation-area {
94
98
  margin-bottom: 20px;
99
+
95
100
  }
96
101
 
97
102
  .operation-area-chart {
@@ -145,7 +150,11 @@
145
150
  }
146
151
 
147
152
  .el-tree-node.is-current>.el-tree-node__content {
148
- background-color: #c2d6ea !important;
153
+ background: $th-cell-background;
154
+ }
155
+
156
+ .el-tree-node__content:hover {
157
+ background-color: $th-cell-background;
149
158
  }
150
159
 
151
160
  .menu-tab-container .el-tabs__item {
@@ -173,7 +182,7 @@
173
182
 
174
183
  .el-table td,
175
184
  .el-table th {
176
- height: 48px;
185
+ height: 40px;
177
186
  }
178
187
 
179
188
  .el-table th {
@@ -0,0 +1,13 @@
1
+ @import "./dark-blue-var.scss";
2
+
3
+ .dark-blue {
4
+ .el-pager li:not(.disabled) {
5
+ &:hover {
6
+ //color: $--pagination-hover-color;
7
+ }
8
+
9
+ &.active {
10
+ background-color: $--button-default-font-color;
11
+ }
12
+ }
13
+ }
@@ -0,0 +1,56 @@
1
+ @import "./dark-blue-var.scss";
2
+
3
+ .dark-blue {
4
+
5
+ $table-cell-font-color: #313233;
6
+
7
+ // 表头背景颜色
8
+ .el-table__header-wrapper {
9
+ background: $th-cell-background;
10
+ }
11
+
12
+ .el-table th.el-table__cell {
13
+ background: $th-cell-background;
14
+ }
15
+
16
+ .el-table thead.is-group th.el-table__cell {
17
+ background: $th-cell-background;
18
+ }
19
+
20
+ .el-table .el-table__cell {
21
+ padding: 0;
22
+ }
23
+
24
+ // 表头字体样式
25
+ .el-table th.el-table__cell>.cell {
26
+ color: $table-cell-font-color;
27
+ font-family: Source Han Sans CN;
28
+ font-weight: medium;
29
+ font-size: 14px;
30
+ line-height: 22px;
31
+ letter-spacing: 0px;
32
+ text-align: left;
33
+ }
34
+
35
+ // 表格内容颜色
36
+ .el-table .cell {
37
+ color: $table-cell-font-color;
38
+ font-family: Source Han Sans CN;
39
+ font-weight: regular;
40
+ font-size: 14px;
41
+ line-height: 22px;
42
+ letter-spacing: 0px;
43
+ text-align: left;
44
+
45
+ }
46
+
47
+ .el-button--text {
48
+ color: $--color-primary;
49
+ font-family: Source Han Sans CN;
50
+ font-weight: regular;
51
+ font-size: 14px;
52
+ line-height: 22px;
53
+ letter-spacing: 0px;
54
+ text-align: center;
55
+ }
56
+ }