gy-webcode2 1.0.4 → 1.0.6
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/components/breadcrumb.vue +6 -2
- package/components/themeConfig.vue +60 -61
- package/css/common.scss +24 -3
- package/css/layout.scss +2 -64
- package/css/modules/color.scss +1 -1
- package/css/modules/elementUI.scss +3 -0
- package/css/modules/form.scss +0 -5
- package/css/modules/table.scss +8 -19
- package/css/modules/tags.scss +2 -1
- package/package.json +1 -1
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
</div>
|
|
27
27
|
<div class="pageHeader" v-if="pageHeaderShow">
|
|
28
28
|
<div class="name">
|
|
29
|
-
<span :class="{myHover:breadcrumb_list.length}" @click="backClick()">
|
|
29
|
+
<span :class="{myHover:isBack && breadcrumb_list.length}" @click="backClick()">
|
|
30
30
|
<template v-if="breadcrumb_list.length">
|
|
31
|
-
<i class="el-icon-arrow-left"></i>
|
|
31
|
+
<i v-if="isBack" class="el-icon-arrow-left"></i>
|
|
32
32
|
{{breadcrumb_list[breadcrumb_list.length -1].name}}
|
|
33
33
|
</template>
|
|
34
34
|
<template v-else>
|
|
@@ -62,10 +62,14 @@ export default {
|
|
|
62
62
|
},
|
|
63
63
|
breadcrumb_list(){
|
|
64
64
|
return this.$store.state.menu.breadcrumb_list;
|
|
65
|
+
},
|
|
66
|
+
isBack(){
|
|
67
|
+
return this.$listeners && this.$listeners['goBack']
|
|
65
68
|
}
|
|
66
69
|
|
|
67
70
|
},
|
|
68
71
|
created(){
|
|
72
|
+
// console.log(this.$listeners['goBack']);
|
|
69
73
|
let breadcrumb_list = this.$store.state.menu.breadcrumb_list;
|
|
70
74
|
if(this.names.length){
|
|
71
75
|
this.names.forEach(item => {
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<scrollBar left="25px" top="10px" right="25px">
|
|
3
|
+
<div class="pageStyle">
|
|
4
|
+
|
|
5
|
+
|
|
3
6
|
<div class="row1">
|
|
4
7
|
整体风格设置
|
|
5
8
|
</div>
|
|
@@ -38,6 +41,7 @@
|
|
|
38
41
|
<el-switch v-model="$store.state.breadcrumbShow"></el-switch>
|
|
39
42
|
</div>
|
|
40
43
|
</div>
|
|
44
|
+
</div>
|
|
41
45
|
|
|
42
46
|
</scrollBar>
|
|
43
47
|
</template>
|
|
@@ -148,73 +152,68 @@
|
|
|
148
152
|
|
|
149
153
|
<style lang="scss" scoped>
|
|
150
154
|
.pageStyle{
|
|
151
|
-
|
|
152
|
-
|
|
155
|
+
position: relative;
|
|
156
|
+
.row1{
|
|
157
|
+
padding: 10px 0;
|
|
158
|
+
// padding: 10px 0 5px 0;
|
|
159
|
+
font-weight: bold;
|
|
160
|
+
}
|
|
161
|
+
.stylPreview{
|
|
153
162
|
display: flex;
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
margin-right:
|
|
163
|
+
padding: 10px 0;
|
|
164
|
+
.item{
|
|
165
|
+
position: relative;
|
|
166
|
+
width: 64px;
|
|
167
|
+
height: 48px;
|
|
168
|
+
margin-right: 16px;
|
|
169
|
+
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);
|
|
160
170
|
cursor: pointer;
|
|
171
|
+
.iconBox{
|
|
172
|
+
display: none;
|
|
173
|
+
color: #1890ff ;
|
|
174
|
+
font-size: 20px;
|
|
175
|
+
width: 20px;
|
|
176
|
+
height: 20px;
|
|
177
|
+
position: absolute;
|
|
178
|
+
left: 30px;
|
|
179
|
+
top: 22px;
|
|
180
|
+
}
|
|
181
|
+
&.active .iconBox{
|
|
182
|
+
display: block;
|
|
183
|
+
}
|
|
184
|
+
&.item_1{
|
|
185
|
+
background-image: url("~gy-webcode2/img/theme/pageStyle_1.png");
|
|
186
|
+
}
|
|
187
|
+
&.item_2{
|
|
188
|
+
background-image: url("~gy-webcode2/img/theme/pageStyle_2.png");
|
|
189
|
+
}
|
|
190
|
+
&.item_3{
|
|
191
|
+
background-image: url("~gy-webcode2/img/theme/pageStyle_3.png");
|
|
192
|
+
}
|
|
161
193
|
}
|
|
162
194
|
}
|
|
163
|
-
.
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
195
|
+
.themeColors{
|
|
196
|
+
display: flex;
|
|
197
|
+
padding: 10px 0;
|
|
198
|
+
.item{
|
|
199
|
+
width: 20px;
|
|
200
|
+
height: 20px;
|
|
201
|
+
background: #000;
|
|
202
|
+
border-radius: 4px;
|
|
203
|
+
margin-right: 8px;
|
|
171
204
|
display: flex;
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
display: none;
|
|
182
|
-
color: #1890ff ;
|
|
183
|
-
font-size: 20px;
|
|
184
|
-
width: 20px;
|
|
185
|
-
height: 20px;
|
|
186
|
-
position: absolute;
|
|
187
|
-
left: 30px;
|
|
188
|
-
top: 22px;
|
|
189
|
-
}
|
|
190
|
-
&.active .iconBox{
|
|
191
|
-
display: block;
|
|
192
|
-
}
|
|
205
|
+
align-items: center;
|
|
206
|
+
justify-content: center;
|
|
207
|
+
text-align: center;
|
|
208
|
+
line-height: 20px;
|
|
209
|
+
color: #fff;
|
|
210
|
+
font-size: 12px;
|
|
211
|
+
cursor: pointer;
|
|
212
|
+
.iconBox{
|
|
213
|
+
display: none;
|
|
193
214
|
}
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
display: flex;
|
|
197
|
-
padding: 10px 0;
|
|
198
|
-
.item{
|
|
199
|
-
width: 20px;
|
|
200
|
-
height: 20px;
|
|
201
|
-
background: #000;
|
|
202
|
-
border-radius: 4px;
|
|
203
|
-
margin-right: 8px;
|
|
204
|
-
display: flex;
|
|
205
|
-
align-items: center;
|
|
206
|
-
justify-content: center;
|
|
207
|
-
text-align: center;
|
|
208
|
-
line-height: 20px;
|
|
209
|
-
color: #fff;
|
|
210
|
-
font-size: 12px;
|
|
211
|
-
cursor: pointer;
|
|
212
|
-
.iconBox{
|
|
213
|
-
display: none;
|
|
214
|
-
}
|
|
215
|
-
&.active .iconBox{
|
|
216
|
-
display: block;
|
|
217
|
-
}
|
|
215
|
+
&.active .iconBox{
|
|
216
|
+
display: block;
|
|
218
217
|
}
|
|
219
218
|
}
|
|
220
219
|
}
|
package/css/common.scss
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
@import "../fonts/sjzl/iconfont.css";
|
|
2
|
-
@import "../fonts/common/iconfont.css";
|
|
3
|
-
@import "../fonts/kskpi/iconfont.css";
|
|
4
1
|
@import "./modules/common.scss";
|
|
5
2
|
@import "./modules/elementUI.scss";
|
|
6
3
|
@import "./modules/form.scss";
|
|
@@ -59,6 +56,30 @@ a:hover{
|
|
|
59
56
|
}
|
|
60
57
|
}
|
|
61
58
|
|
|
59
|
+
.myBar_X_MAX,
|
|
60
|
+
.myBar_X_MAX .el-table--scrollable-x .el-table__body-wrapper ,
|
|
61
|
+
.myBar_X_MAX .el-table--scrollable-y .el-table__body-wrapper {
|
|
62
|
+
&::-webkit-scrollbar {
|
|
63
|
+
height: 16px;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
.myBar_Y_MAX ,
|
|
67
|
+
.myBar_Y_MAX .el-table--scrollable-x .el-table__body-wrapper ,
|
|
68
|
+
.myBar_Y_MAX .el-table--scrollable-y .el-table__body-wrapper {
|
|
69
|
+
&::-webkit-scrollbar {
|
|
70
|
+
width: 16px;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
.myBar_MAX ,
|
|
74
|
+
.myBar_MAX .el-table--scrollable-x .el-table__body-wrapper ,
|
|
75
|
+
.myBar_MAX .el-table--scrollable-y .el-table__body-wrapper {
|
|
76
|
+
&::-webkit-scrollbar {
|
|
77
|
+
height: 16px;
|
|
78
|
+
width: 16px;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
|
|
62
83
|
.hover,.iconHover{
|
|
63
84
|
cursor: pointer;
|
|
64
85
|
@include themeColor('color','color');
|
package/css/layout.scss
CHANGED
|
@@ -215,70 +215,8 @@
|
|
|
215
215
|
}
|
|
216
216
|
.body{
|
|
217
217
|
position: relative;
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
// padding: 10px 0 5px 0;
|
|
221
|
-
font-weight: bold;
|
|
222
|
-
}
|
|
223
|
-
.stylPreview{
|
|
224
|
-
display: flex;
|
|
225
|
-
padding: 10px 0;
|
|
226
|
-
.item{
|
|
227
|
-
position: relative;
|
|
228
|
-
width: 64px;
|
|
229
|
-
height: 48px;
|
|
230
|
-
margin-right: 16px;
|
|
231
|
-
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);
|
|
232
|
-
cursor: pointer;
|
|
233
|
-
.iconBox{
|
|
234
|
-
display: none;
|
|
235
|
-
color: #1890ff ;
|
|
236
|
-
font-size: 20px;
|
|
237
|
-
width: 20px;
|
|
238
|
-
height: 20px;
|
|
239
|
-
position: absolute;
|
|
240
|
-
left: 30px;
|
|
241
|
-
top: 22px;
|
|
242
|
-
}
|
|
243
|
-
&.active .iconBox{
|
|
244
|
-
display: block;
|
|
245
|
-
}
|
|
246
|
-
&.item_1{
|
|
247
|
-
background-image: url("~gy-webcode2/img/theme/pageStyle_1.png");
|
|
248
|
-
}
|
|
249
|
-
&.item_2{
|
|
250
|
-
background-image: url("~gy-webcode2/img/theme/pageStyle_2.png");
|
|
251
|
-
}
|
|
252
|
-
&.item_3{
|
|
253
|
-
background-image: url("~gy-webcode2/img/theme/pageStyle_3.png");
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
.themeColors{
|
|
258
|
-
display: flex;
|
|
259
|
-
padding: 10px 0;
|
|
260
|
-
.item{
|
|
261
|
-
width: 20px;
|
|
262
|
-
height: 20px;
|
|
263
|
-
background: #000;
|
|
264
|
-
border-radius: 4px;
|
|
265
|
-
margin-right: 8px;
|
|
266
|
-
display: flex;
|
|
267
|
-
align-items: center;
|
|
268
|
-
justify-content: center;
|
|
269
|
-
text-align: center;
|
|
270
|
-
line-height: 20px;
|
|
271
|
-
color: #fff;
|
|
272
|
-
font-size: 12px;
|
|
273
|
-
cursor: pointer;
|
|
274
|
-
.iconBox{
|
|
275
|
-
display: none;
|
|
276
|
-
}
|
|
277
|
-
&.active .iconBox{
|
|
278
|
-
display: block;
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
}
|
|
218
|
+
flex: 1;
|
|
219
|
+
height: 0;
|
|
282
220
|
}
|
|
283
221
|
|
|
284
222
|
}
|
package/css/modules/color.scss
CHANGED
package/css/modules/form.scss
CHANGED
package/css/modules/table.scss
CHANGED
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
border-radius: 8px 0 0 0 ;
|
|
17
17
|
}
|
|
18
18
|
&:nth-last-child(2){
|
|
19
|
+
border-radius:0 ;
|
|
20
|
+
// border-right: none;
|
|
21
|
+
}
|
|
22
|
+
&:nth-last-child(1){
|
|
19
23
|
border-radius:0 8px 0 0 ;
|
|
20
24
|
}
|
|
21
25
|
}
|
|
@@ -24,6 +28,10 @@
|
|
|
24
28
|
padding-left:10px;
|
|
25
29
|
padding-right:10px;
|
|
26
30
|
}
|
|
31
|
+
|
|
32
|
+
&.el-table--mini td{
|
|
33
|
+
padding: 7px 0 !important;
|
|
34
|
+
}
|
|
27
35
|
|
|
28
36
|
}
|
|
29
37
|
.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{
|
|
@@ -113,22 +121,3 @@
|
|
|
113
121
|
}
|
|
114
122
|
}
|
|
115
123
|
|
|
116
|
-
|
|
117
|
-
.xqTable {
|
|
118
|
-
font-size: 12px;
|
|
119
|
-
table {
|
|
120
|
-
width: 100%;
|
|
121
|
-
border-left: 1px solid #cccccc;
|
|
122
|
-
border-top: 1px solid #cccccc;
|
|
123
|
-
}
|
|
124
|
-
td {
|
|
125
|
-
line-height: 18px;
|
|
126
|
-
padding: 5px;
|
|
127
|
-
border-right: 1px solid #cccccc;
|
|
128
|
-
border-bottom: 1px solid #cccccc;
|
|
129
|
-
}
|
|
130
|
-
.td_title {
|
|
131
|
-
vertical-align: top;
|
|
132
|
-
background: #f3f3f3;
|
|
133
|
-
}
|
|
134
|
-
}
|
package/css/modules/tags.scss
CHANGED