|
@@ -21,29 +21,24 @@
|
21
|
21
|
</div>
|
22
|
22
|
<!-- 内容上部 -->
|
23
|
23
|
<div class="contentTop clearfix">
|
24
|
|
- <Row width='100%' type="flex" justify="space-around" class="code-row-bg">
|
25
|
|
- <i-col span="7">
|
26
|
24
|
<div id="myChart" :style="{ width: '300px', height: '300px' }"></div>
|
27
|
|
- </i-col>
|
28
|
|
- <i-col span="4">
|
29
|
|
- <div class="ContentTopCenter">
|
|
25
|
+
|
|
26
|
+ <!-- <i-circle :percent="80" stroke-linecap='square' stroke-width='30' size='130' trail-width='30'>
|
|
27
|
+ <span class="demo-circle-inner" style="font-size:24px">80%</span>
|
|
28
|
+ </i-circle> -->
|
|
29
|
+ <div class="ContentTopCenter" style="margin-right:50px">
|
30
|
30
|
<p>应到学生<span>{{num1}}</span></p><br />
|
31
|
31
|
<p>实到学生<span>{{num2}}</span></p>
|
32
|
32
|
</div>
|
33
|
|
- </i-col>
|
34
|
|
- <i-col span="12">
|
35
|
|
- <div class="ContentTopRight">
|
36
|
|
- <Row type="flex" justify="space-around" class="code-row-bg">
|
37
|
|
- <i-col span="8">
|
38
|
|
- <!-- <Card shadow>
|
39
|
|
- <p slot="title" style="font-size:20px">{{item.title}}<span id="infoNum" :class="{red:item.red}">{{item.num}}</span></p> -->
|
40
|
|
- <!-- <p style="font-size:20px">{{item.title}}<span id="infoNum" :class="{red:item.red}">{{item.num}}</span></p> -->
|
41
|
|
- <!-- </Card> -->
|
42
|
|
- <div class="studentInfo" v-for="item in stuInfo" :key="item.id">
|
43
|
|
- <p>{{item.title}}<span :class="{red:item.red}">{{item.num}}</span></p>
|
44
|
|
- </div>
|
45
|
|
- </i-col>
|
46
|
|
- </Row>
|
|
33
|
+ <div id="ContentTopRight" style="padding:40px 0 0 0;margin-left:60px">
|
|
34
|
+ <Row>
|
|
35
|
+ <i-col span="4" v-for="item in stuInfo" :key="item.id">
|
|
36
|
+ <div id="topRight">
|
|
37
|
+ <p>{{item.title}}<span :class="{'red':item.red,'blue':item.blue}">{{item.num}}</span>
|
|
38
|
+ </p>
|
|
39
|
+ </div>
|
|
40
|
+ </i-col>
|
|
41
|
+ </Row>
|
47
|
42
|
</div>
|
48
|
43
|
</i-col>
|
49
|
44
|
</Row>
|
|
@@ -85,37 +80,36 @@
|
85
|
80
|
<div class="money">
|
86
|
81
|
<Row type='flex' justify='center'>
|
87
|
82
|
<i-col span="14">
|
88
|
|
- <h1>¥<span>{{money}}</span></h1>
|
|
83
|
+ <h1>¥<span>{{money+'.00'}}</span></h1>
|
89
|
84
|
<h3>缴费总金额</h3>
|
90
|
|
- <div class="moneyBottom">
|
|
85
|
+ <div class="moneyBottom" >
|
91
|
86
|
<div class="moneyInfo">
|
92
|
87
|
<div class="studentNum">
|
93
|
|
- <!-- <Icons :size="30" type="meh"> -->
|
94
|
|
- <Icon type="checkmark-circled"></Icon>
|
|
88
|
+ <img src="../../../assets/img/user2.png" alt="">
|
95
|
89
|
</div>
|
96
|
90
|
<div class="moneyNum">
|
97
|
|
- {{newStu}}
|
|
91
|
+ <span>{{newStu}}</span>
|
98
|
92
|
<h4>新学员人数</h4>
|
99
|
93
|
</div>
|
100
|
94
|
</div>
|
101
|
|
- <div class="moneyInfo">
|
|
95
|
+ <div class="moneyInfo" >
|
102
|
96
|
<div class="submitNum"></div>
|
|
97
|
+ <img src="../../../assets/img/list.png" style="width:30px" alt="">
|
103
|
98
|
<div class="moneyNum">
|
104
|
|
- {{submitNum}}
|
105
|
|
- <h4>新学员人数</h4>
|
|
99
|
+ <span>{{submitNum}}</span>
|
|
100
|
+ <h4>缴费学生人数</h4>
|
106
|
101
|
</div>
|
107
|
102
|
</div>
|
108
|
103
|
</div>
|
109
|
104
|
</i-col>
|
110
|
105
|
<i-col span="10">
|
111
|
|
- <h1>¥<span>{{money}}</span></h1>
|
|
106
|
+ <h1>¥<span>{{money+'.00'}}</span></h1>
|
112
|
107
|
<h3>缴费总金额</h3>
|
113
|
|
- <div class="moneyInfo" style="margin-left:150px">
|
114
|
|
- <div class="studentNum">
|
115
|
|
- <Icon type="person" color='#3DA4FF' size='20px'></Icon>
|
116
|
|
- </div>
|
|
108
|
+ <div class="moneyInfo" style="margin-left:140px">
|
|
109
|
+ <img src="../../../assets/img/user2.png" style="width:30px" alt="">
|
|
110
|
+
|
117
|
111
|
<div class="moneyNum">
|
118
|
|
- {{newStu}}
|
|
112
|
+ <span>{{newStu}}</span>
|
119
|
113
|
<h4>新学员人数</h4>
|
120
|
114
|
</div>
|
121
|
115
|
</div>
|
|
@@ -147,37 +141,48 @@ export default {
|
147
|
141
|
id: 1,
|
148
|
142
|
title: '请假',
|
149
|
143
|
num: 2,
|
150
|
|
- red: false
|
|
144
|
+ red: false,
|
|
145
|
+ blue: true
|
151
|
146
|
},
|
152
|
147
|
{
|
153
|
148
|
id: 2,
|
154
|
149
|
title: '旷课',
|
155
|
150
|
num: 1,
|
156
|
|
- red: true
|
|
151
|
+ red: true,
|
|
152
|
+ blue: false
|
|
153
|
+
|
157
|
154
|
},
|
158
|
155
|
{
|
159
|
156
|
id: 3,
|
160
|
157
|
title: '停课',
|
161
|
158
|
num: 2,
|
162
|
|
- red: false
|
|
159
|
+ red: false,
|
|
160
|
+ blue: true
|
|
161
|
+
|
163
|
162
|
},
|
164
|
163
|
{
|
165
|
164
|
id: 4,
|
166
|
165
|
title: '退费',
|
167
|
166
|
num: 2,
|
168
|
|
- red: false
|
|
167
|
+ red: false,
|
|
168
|
+ blue: true
|
|
169
|
+
|
169
|
170
|
},
|
170
|
171
|
{
|
171
|
172
|
id: 5,
|
172
|
173
|
title: '转学',
|
173
|
174
|
num: 2,
|
174
|
|
- red: false
|
|
175
|
+ red: false,
|
|
176
|
+ blue: true
|
|
177
|
+
|
175
|
178
|
},
|
176
|
179
|
{
|
177
|
180
|
id: 6,
|
178
|
181
|
title: '流失',
|
179
|
182
|
num: 2,
|
180
|
|
- red: true
|
|
183
|
+ red: true,
|
|
184
|
+ blue: false
|
|
185
|
+
|
181
|
186
|
}
|
182
|
187
|
]
|
183
|
188
|
}
|
|
@@ -200,6 +205,7 @@ export default {
|
200
|
205
|
fontWeight: 'bold'
|
201
|
206
|
}
|
202
|
207
|
},
|
|
208
|
+ // type: 'line',
|
203
|
209
|
tooltip: {
|
204
|
210
|
// 是否显示提示框组件,包括提示框浮层和 axisPointe
|
205
|
211
|
show: false,
|
|
@@ -263,7 +269,38 @@ export default {
|
263
|
269
|
</script>
|
264
|
270
|
|
265
|
271
|
<style lang="less">
|
|
272
|
+#topRight{
|
|
273
|
+ width: 150px;
|
|
274
|
+ height: 70px;
|
|
275
|
+ background:rgba(255,255,255,1);
|
|
276
|
+ border:1px solid rgba(215, 214, 219, 1);
|
|
277
|
+ box-shadow:0px 0px 5px 0px rgba(30,30,30,0.71);
|
|
278
|
+ border-radius:3px;
|
|
279
|
+ margin: 20px;
|
|
280
|
+ display: flex;
|
|
281
|
+ justify-content: center;
|
|
282
|
+ align-items: center;
|
|
283
|
+ p{
|
|
284
|
+ font-size:20px;
|
|
285
|
+ font-family:'Microsoft YaHei';
|
|
286
|
+ font-weight:600;
|
|
287
|
+ color:rgba(0,0,0,1);
|
|
288
|
+ line-height:56px;
|
|
289
|
+ span{
|
|
290
|
+ font-size:29px;
|
|
291
|
+ font-family:'FZZhengHeiS-EB-GB';
|
|
292
|
+ font-weight:400;
|
|
293
|
+ line-height:56px;
|
|
294
|
+ padding-left: 20px;
|
|
295
|
+ }
|
|
296
|
+ }
|
|
297
|
+
|
|
298
|
+}
|
266
|
299
|
// 公共样式
|
|
300
|
+.blue{
|
|
301
|
+ color:rgba(61,164,255,1);
|
|
302
|
+
|
|
303
|
+}
|
267
|
304
|
.red{
|
268
|
305
|
font-size: 30px;
|
269
|
306
|
color: red;
|
|
@@ -280,20 +317,25 @@ export default {
|
280
|
317
|
clear: both;
|
281
|
318
|
}
|
282
|
319
|
// 样式
|
|
320
|
+ #contentTopRight{
|
|
321
|
+ // float: right;
|
|
322
|
+ padding-top: 40px;
|
|
323
|
+ // width: 800px;
|
|
324
|
+ }
|
283
|
325
|
.wrap{
|
284
|
326
|
background: white;
|
285
|
327
|
padding: 10px;
|
286
|
328
|
}
|
287
|
329
|
.contentTop{
|
288
|
|
- // display: flex;
|
289
|
|
- // justify-content: center;
|
290
|
|
- // align-items: center;
|
291
|
330
|
#myChart{
|
292
|
|
- // flex:1;
|
293
|
|
- // margin-left: -200px;
|
|
331
|
+ float: left;
|
|
332
|
+ }
|
|
333
|
+ .ivu-chart-circle{
|
|
334
|
+ float: left;
|
294
|
335
|
}
|
295
|
336
|
.ContentTopCenter{
|
296
|
337
|
// flex:1;
|
|
338
|
+ float: left;
|
297
|
339
|
display: flex;
|
298
|
340
|
align-items: center;
|
299
|
341
|
flex-direction: column;
|
|
@@ -311,19 +353,7 @@ export default {
|
311
|
353
|
|
312
|
354
|
}
|
313
|
355
|
}
|
314
|
|
- .contentTopRight{
|
315
|
|
- margin: 10px 0;
|
316
|
|
- // height: 400px;
|
317
|
|
- .studentInfo{
|
318
|
|
- border:1px solid black;
|
319
|
|
- height: 80px;
|
320
|
|
- width: 180px;
|
321
|
|
- }
|
322
|
|
-.ivu-card-body {
|
323
|
|
- padding: 30px;
|
324
|
|
-}
|
325
|
356
|
}
|
326
|
|
-}
|
327
|
357
|
.contentCenter{
|
328
|
358
|
.teacher{
|
329
|
359
|
padding: 20px 0;
|
|
@@ -361,9 +391,11 @@ export default {
|
361
|
391
|
}
|
362
|
392
|
}
|
363
|
393
|
.contentBottom{
|
364
|
|
- // margin-top: 20px;
|
|
394
|
+ padding-bottom: 50px;
|
|
395
|
+
|
365
|
396
|
h1{
|
366
|
397
|
text-align: center;
|
|
398
|
+ padding-top: 50px;
|
367
|
399
|
span{
|
368
|
400
|
font-size:32px;
|
369
|
401
|
font-family:FZZhengHeiS-EB-GB;
|
|
@@ -381,22 +413,42 @@ export default {
|
381
|
413
|
line-height:52px;
|
382
|
414
|
}
|
383
|
415
|
.moneyBottom{
|
384
|
|
- margin-left:150px;
|
|
416
|
+ margin-left:120px;
|
385
|
417
|
}
|
386
|
418
|
.moneyInfo{
|
387
|
419
|
float: left;
|
388
|
420
|
margin-left: 20px;
|
|
421
|
+ padding-left: 20px;
|
389
|
422
|
width: 162px;
|
390
|
423
|
height: 71px;
|
391
|
424
|
display: flex;
|
|
425
|
+ justify-content: center;
|
|
426
|
+ align-items: center;
|
392
|
427
|
background: white;
|
393
|
|
- box-shadow: 0 0 10px grey;
|
|
428
|
+ box-shadow: 0 0 10px grey;
|
394
|
429
|
.studentNum{
|
395
|
430
|
flex: 1;
|
|
431
|
+ display: flex;
|
|
432
|
+ justify-content: center;
|
|
433
|
+ align-items: center;
|
|
434
|
+ img{
|
|
435
|
+ height: 35px;
|
|
436
|
+ }
|
|
437
|
+
|
396
|
438
|
}
|
397
|
|
- .moneyNum{
|
398
|
|
- flex:3;
|
399
|
|
- }
|
|
439
|
+ .moneyNum{
|
|
440
|
+ flex:3;
|
|
441
|
+ margin-left: 10px;
|
|
442
|
+ span{
|
|
443
|
+ font-size:20px;
|
|
444
|
+ font-family:FZZhengHeiS-EB-GB;
|
|
445
|
+ font-weight:600;
|
|
446
|
+ color:rgba(253,117,60,1);
|
|
447
|
+ line-height:33px;
|
|
448
|
+ }
|
|
449
|
+
|
|
450
|
+ }
|
|
451
|
+
|
400
|
452
|
}
|
401
|
453
|
}
|
402
|
454
|
|