tianheng-ui 0.1.38 → 0.1.39

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,7 +1,7 @@
1
1
  {
2
2
  "name": "tianheng-ui",
3
3
  "description": "A Vue.js project",
4
- "version": "0.1.38",
4
+ "version": "0.1.39",
5
5
  "author": "shu lang <403732931@qq.com>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -121,5 +121,19 @@ export default {
121
121
  position: relative;
122
122
  width: 100%;
123
123
  height: calc(100% - 45px);
124
+
125
+ .form-empty {
126
+ position: absolute;
127
+ text-align: center;
128
+ width: 400px;
129
+ top: 200px;
130
+ left: 50%;
131
+ margin-left: -200px;
132
+ color: #ccc;
133
+
134
+ .th-empty-description {
135
+ font-size: 20px;
136
+ }
137
+ }
124
138
  }
125
139
  </style>
@@ -1,7 +1,7 @@
1
1
  $primary-color: #409eff;
2
2
  $primary-background-color: #ecf5ff;
3
3
 
4
- .formMaking {
4
+ .th-formMaking {
5
5
  height: 100%;
6
6
 
7
7
  *,
@@ -22,16 +22,6 @@ $primary-background-color: #ecf5ff;
22
22
  padding: 0;
23
23
  }
24
24
 
25
- .fa-icon {
26
- width: auto;
27
- height: 1em; /* 或任意其它字体大小相对值 */
28
-
29
- /* 要在 Safari 中正常工作,需要再引入如下两行代码 */
30
- max-width: 100%;
31
- max-height: 100%;
32
- vertical-align: middle;
33
- }
34
-
35
25
  .isHideFormLabel {
36
26
  .el-form-item__label {
37
27
  display: none;
@@ -41,160 +31,7 @@ $primary-background-color: #ecf5ff;
41
31
  }
42
32
  }
43
33
 
44
- .container-box {
45
- background: #fff;
46
- height: 100%;
47
- border: 1px solid #e0e0e0;
48
-
49
- .el-container {
50
- height: 100% !important;
51
- }
52
-
53
- & > .el-container {
54
- background: #fff;
55
- }
56
- .fm2-main {
57
- position: relative;
58
-
59
- & > .el-container {
60
- position: absolute;
61
- top: 0;
62
- bottom: 0;
63
- left: 0;
64
- right: 0;
65
- }
66
- }
67
- main {
68
- padding: 0;
69
- }
70
-
71
- footer {
72
- height: 30px;
73
- line-height: 30px;
74
- border-top: 1px solid #e0e0e0;
75
- font-size: 12px;
76
- text-align: right;
77
- color: $primary-color;
78
- background: #fafafa;
79
-
80
- a {
81
- color: $primary-color;
82
- }
83
- }
84
-
85
- .codeDialog {
86
- .el-tabs {
87
- height: 100%;
88
- }
89
- .el-tabs__content {
90
- height: calc(100% - 40px);
91
- }
92
- .el-tab-pane {
93
- height: 100%;
94
- }
95
- }
96
- }
97
-
98
- // 顶部操作区
99
- .center-container {
100
- border-left: 1px solid #e0e0e0;
101
- border-right: 1px solid #e0e0e0;
102
-
103
- .el-main {
104
- padding: 0;
105
- position: relative;
106
- background: #fafafa;
107
- }
108
- }
109
-
110
- // 左侧字段区
111
- .components-list {
112
- padding: 8px 0;
113
- width: 100%;
114
- height: 100%;
115
-
116
- .widget-cate {
117
- padding: 8px 12px;
118
- font-size: 13px;
119
- }
120
-
121
- ul {
122
- position: relative;
123
- overflow: hidden;
124
- padding: 0 10px 10px;
125
- margin: 0;
126
- }
127
-
128
- .form-edit-widget-label {
129
- font-size: 12px;
130
- display: block;
131
- width: 48%;
132
- line-height: 26px;
133
- position: relative;
134
- float: left;
135
- left: 0;
136
- overflow: hidden;
137
- text-overflow: ellipsis;
138
- white-space: nowrap;
139
- margin: 1%;
140
- color: #333;
141
- border: 1px solid #f4f6fc;
142
- transition: 0.25s;
143
-
144
- &:hover {
145
- color: $primary-color !important;
146
- border: 1px dashed $primary-color;
147
-
148
- a {
149
- color: $primary-color !important;
150
- }
151
- }
152
-
153
- & > a {
154
- color: #333;
155
- display: block;
156
- cursor: move;
157
- background: #f4f6fc;
158
- border: 1px solid #f4f6fc;
159
- transition: 0.25s;
160
-
161
- .icon {
162
- margin-right: 6px;
163
- margin-left: 8px;
164
- font-size: 14px;
165
- display: inline-block;
166
- vertical-align: middle;
167
- }
168
-
169
- span {
170
- display: inline-block;
171
- vertical-align: middle;
172
- }
173
- }
174
- }
175
- }
176
-
177
34
  .widget-form-container {
178
- // position: absolute;
179
- top: 0;
180
- left: 0;
181
- right: 0;
182
- bottom: 0;
183
-
184
- .form-empty {
185
- position: absolute;
186
- text-align: center;
187
- width: 400px;
188
- top: 200px;
189
- left: 50%;
190
- margin-left: -200px;
191
- color: #ccc;
192
-
193
- .th-empty-description {
194
- font-size: 20px;
195
- }
196
- }
197
-
198
35
  .draggable {
199
36
  height: 100%;
200
37
  }
@@ -589,88 +426,10 @@ $primary-background-color: #ecf5ff;
589
426
  }
590
427
  }
591
428
 
592
- .config-container {
593
- position: relative;
594
-
595
- .el-header {
596
- border-bottom: solid 2px #e4e7ed;
597
- padding: 0 2px;
598
-
599
- .config-tab {
600
- height: 45px;
601
- line-height: 45px;
602
- display: inline-block;
603
- width: 145px;
604
- text-align: center;
605
- font-size: 14px;
606
- font-weight: 500;
607
- position: relative;
608
- cursor: pointer;
609
-
610
- &.active {
611
- border-bottom: solid 2px $primary-color;
612
- }
613
- }
614
- }
615
-
616
- .config-container-content {
617
- // padding: 10px;
618
-
619
- // .el-form-item__label {
620
- // padding: 0;
621
- // font-weight: 500;
622
- // }
623
-
624
- // .el-form-item {
625
- // border-bottom: solid 1px #e1e1e1;
626
- // padding-bottom: 10px;
627
- // }
628
-
629
- .config-pattern-input {
630
- .el-input-group__prepend,
631
- .el-input-group__append {
632
- padding: 0 8px;
633
- }
634
- }
635
- }
636
-
637
- .ghost {
638
- background: #fff;
639
- border: 1px dashed $primary-color;
640
-
641
- &::after {
642
- background: #fff;
643
- display: block;
644
- content: "";
645
- position: absolute;
646
- top: 0;
647
- left: 0;
648
- right: 0;
649
- bottom: 0;
650
- }
651
- }
652
-
653
- ul {
654
- margin: 0;
655
- padding: 0;
656
- }
657
-
658
- li.ghost {
659
- list-style: none;
660
- font-size: 0;
661
- display: block;
662
- position: relative;
663
- }
664
- }
665
-
666
429
  .widget-divider {
667
430
  display: flex;
668
431
  align-items: center;
669
432
  }
670
-
671
- // .filler {
672
- // margin-bottom: 0 !important;
673
- // }
674
433
  }
675
434
 
676
435
  .configComponents {