Browse Source

登录页100%+首页95%+列表页100%

master
chengxuke 4 years ago
parent
commit
312f9cf893

+ 12
- 1
src/components/login-form/login-form.vue View File

84
   background-size: 20px 20px;
84
   background-size: 20px 20px;
85
   background-position: 15px;
85
   background-position: 15px;
86
   height: 40px;
86
   height: 40px;
87
+
87
 }
88
 }
88
 #password{
89
 #password{
89
   background: url(../../assets/img/Key.png) no-repeat left center;
90
   background: url(../../assets/img/Key.png) no-repeat left center;
90
   background-size: 20px 20px;
91
   background-size: 20px 20px;
91
   background-position: 15px;
92
   background-position: 15px;
93
+
92
 }
94
 }
93
 .formLine{
95
 .formLine{
94
   .formElement{
96
   .formElement{
95
-    border:1px solid rgba(223, 223, 223, 1);
97
+    // background:rgba(1,167,193,1);
98
+        border:0.5px solid #DFDFDF;
96
     width: 295px;
99
     width: 295px;
97
     height: 40px;
100
     height: 40px;
98
     display: flex;
101
     display: flex;
104
       height: 40px;
107
       height: 40px;
105
     }
108
     }
106
   }
109
   }
110
+  .ivu-btn-primary{
111
+    height: 40px;
112
+    font-size:18px;
113
+    font-family:'Microsoft YaHei';
114
+    font-weight:400;
115
+    color:rgba(255,255,255,1);
116
+    line-height:13px;
117
+  }
107
   .formOther{
118
   .formOther{
108
     margin-bottom: 15px;
119
     margin-bottom: 15px;
109
   }
120
   }

+ 8
- 5
src/components/main/components/navbar/index.vue View File

29
                 </Dropdown-menu>
29
                 </Dropdown-menu>
30
           </Dropdown>
30
           </Dropdown>
31
         </div>
31
         </div>
32
-        <a href="#"  name="logout">退出</a>
32
+        <a href="#" @click="logout">退出</a>
33
       </div>
33
       </div>
34
     </div>
34
     </div>
35
   </div>
35
   </div>
49
       'handleLogOut'
49
       'handleLogOut'
50
     ]),
50
     ]),
51
     logout () {
51
     logout () {
52
+      this.$Message.error('您已被登出!')
52
       this.handleLogOut().then(() => {
53
       this.handleLogOut().then(() => {
53
         this.$router.push({
54
         this.$router.push({
54
           name: 'login'
55
           name: 'login'
83
     }
84
     }
84
   }
85
   }
85
   .center{
86
   .center{
86
-    flex:5;
87
-    color: white;
88
-    font-size: 16px;
87
+    flex:6;
88
+    font-size:15px;
89
+    font-family:'Microsoft YaHei';
90
+    font-weight:600;
91
+    color:rgba(255,255,255,1);
89
     line-height: 50px;
92
     line-height: 50px;
90
-    margin-left: 20px;
91
   }
93
   }
92
   .right{
94
   .right{
93
     flex:1;
95
     flex:1;
94
     display: flex;
96
     display: flex;
97
+    height: 50px;
95
     // justify-content:center;
98
     // justify-content:center;
96
     align-items: center;
99
     align-items: center;
97
     img{
100
     img{

+ 1
- 1
src/components/main/components/side-menu/collapsed-menu.vue View File

1
 <template>
1
 <template>
2
   <Dropdown ref="dropdown" @on-click="handleClick" :class="hideTitle ? '' : 'collased-menu-dropdown'" :transfer="hideTitle" :placement="placement">
2
   <Dropdown ref="dropdown" @on-click="handleClick" :class="hideTitle ? '' : 'collased-menu-dropdown'" :transfer="hideTitle" :placement="placement">
3
-    <a class="drop-menu-a" type="text" @mouseover="handleMousemove($event, children)" :style="{textAlign: !hideTitle ? 'left' : ''}"><common-icon :size="rootIconSize" :color="textColor" :type="parentItem.icon"/><span class="menu-title" v-if="!hideTitle">{{ showTitle(parentItem) }}</span><Icon style="float: right;" v-if="!hideTitle" type="ios-arrow-forward" :size="16"/></a>
3
+    <a class="drop-menu-a" type="text" @mouseover="handleMousemove($event, children)" :style="{textAlign: !hideTitle ? 'left' : ''}"><common-icon :size="rootIconSize" :color="textColor" :type="parentItem.icon"/><span class="menu-title" v-if="!hideTitle" >{{ showTitle(parentItem) }}</span><Icon style="float: right;" v-if="!hideTitle" type="ios-arrow-forward" :size="16"/></a>
4
     <DropdownMenu ref="dropdown" slot="list">
4
     <DropdownMenu ref="dropdown" slot="list">
5
       <template v-for="child in children">
5
       <template v-for="child in children">
6
         <collapsed-menu v-if="showChildren(child)" :icon-size="iconSize" :parent-item="child" :key="`drop-${child.name}`"></collapsed-menu>
6
         <collapsed-menu v-if="showChildren(child)" :icon-size="iconSize" :parent-item="child" :key="`drop-${child.name}`"></collapsed-menu>

+ 24
- 16
src/components/main/components/side-menu/side-menu.less View File

1
 .side-menu-wrapper{
1
 .side-menu-wrapper{
2
   user-select: none;
2
   user-select: none;
3
   // ---------------------------------------------------------------
3
   // ---------------------------------------------------------------
4
-
5
   padding:10px 30px;
4
   padding:10px 30px;
5
+  .ivu-menu-item,.ivu-menu-submenu{
6
+    color: #3D8EFE;
7
+  }
8
+  .ivu-menu-submenu>.ivu-menu>.ivu-menu-item{
9
+    color: grey;
10
+  }
6
   // .ivu-menu-item{
11
   // .ivu-menu-item{
7
   //   padding-left: 10px!important;
12
   //   padding-left: 10px!important;
8
   // }
13
   // }
14
+  .ivu-menu-submenu>.ivu-menu>.ivu-menu-item-selected::before{
15
+    content:'';
16
+    border-left: 3px solid #3D8EFE;
17
+    margin-left: -56px;
18
+    margin-right: 56px;
19
+  }
9
   .ivu-menu-item-selected{
20
   .ivu-menu-item-selected{
10
     background: #3D8EFE;
21
     background: #3D8EFE;
11
     border-radius: 10px;
22
     border-radius: 10px;
13
     margin: 10px 0;
24
     margin: 10px 0;
14
     color: white;
25
     color: white;
15
     padding-left: 5px;
26
     padding-left: 5px;
16
-    border-left: 2px solid #3D8EFE;
17
   }
27
   }
18
-  .side-menu-wrapper .ivu-menu-light.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu){
19
-    background: #3D8EFE;
20
-    border-radius: 10px;
21
-    color: white;
28
+  .ivu-menu-item-selected::before{
29
+    content:'';
30
+    border-left: 3px solid #3D8EFE;
31
+    margin-left: -42px;
32
+    margin-right: 42px;
22
   }
33
   }
23
   .ivu-menu-light.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu){
34
   .ivu-menu-light.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu){
24
     background: #3D8EFE;
35
     background: #3D8EFE;
32
     padding-left: 8px!important;
43
     padding-left: 8px!important;
33
     margin-left: 20px;
44
     margin-left: 20px;
34
   }
45
   }
46
+  .ivu-menu-vertical>.ivu-menu-submenu>.ivu-menu-item-selected::before{
47
+        content:'';
48
+        border-left: 3px solid #3D8EFE;
49
+        margin-left: -50px;
50
+        margin-right: 50px;
51
+  }
35
   .ivu-menu-light.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu):after{
52
   .ivu-menu-light.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu):after{
36
     background: none;
53
     background: none;
37
   }
54
   }
39
     padding: 8px 13px;
56
     padding: 8px 13px;
40
     margin: 10px 0;
57
     margin: 10px 0;
41
   }
58
   }
42
-// .ivu-menu-submenu > .ivu-menu {
43
-//   padding: 10px!important;
44
-// }
45
-// .ivu-menu-submenu > .ivu-menu > .ivu-menu-item
46
-// .ivu-menu-light.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu) {
47
-//   background: #3D8EFE;
48
-//   border-radius: 10px;
49
-// }
50
 // ---------------------------------------------------------------
59
 // ---------------------------------------------------------------
51
   .menu-collapsed{
60
   .menu-collapsed{
52
     padding-top: 10px;
61
     padding-top: 10px;
53
-
54
     .ivu-dropdown{
62
     .ivu-dropdown{
55
       width: 100%;
63
       width: 100%;
56
       .ivu-dropdown-rel a{
64
       .ivu-dropdown-rel a{
65
       .ivu-tooltip-popper .ivu-tooltip-content{
73
       .ivu-tooltip-popper .ivu-tooltip-content{
66
         .ivu-tooltip-arrow{
74
         .ivu-tooltip-arrow{
67
           // border-right-color: #fff;
75
           // border-right-color: #fff;
68
-          border-right-color:blue;
76
+          // border-right-color:blue;
69
         }
77
         }
70
         .ivu-tooltip-inner{
78
         .ivu-tooltip-inner{
71
           background: #fff;
79
           background: #fff;

+ 3
- 2
src/components/main/components/side-menu/side-menu.vue View File

5
     <Menu ref="menu" v-show="!collapsed" :active-name="activeName" :open-names="openedNames" :accordion="accordion" :theme="theme" width="auto" @on-select="handleSelect">
5
     <Menu ref="menu" v-show="!collapsed" :active-name="activeName" :open-names="openedNames" :accordion="accordion" :theme="theme" width="auto" @on-select="handleSelect">
6
       <template v-for="item in menuList">
6
       <template v-for="item in menuList">
7
         <template v-if="item.children && item.children.length === 1">
7
         <template v-if="item.children && item.children.length === 1">
8
-          <side-menu-item v-if="showChildren(item)" :key="`menu-${item.name}`" :parent-item="item"></side-menu-item>
9
-          <menu-item v-else :name="getNameOrHref(item, true)" :key="`menu-${item.children[0].name}`"><common-icon :type="item.children[0].icon || ''"/><span>{{ showTitle(item.children[0]) }}</span></menu-item>
8
+            <side-menu-item v-if="showChildren(item)" :key="`menu-${item.name}`" :parent-item="item"></side-menu-item>
9
+            <menu-item v-else :name="getNameOrHref(item, true)" :key="`menu-${item.children[0].name}`"><common-icon :type="item.children[0].icon || ''"/><span
10
+            >{{ showTitle(item.children[0]) }}</span></menu-item>
10
         </template>
11
         </template>
11
         <template v-else>
12
         <template v-else>
12
           <side-menu-item v-if="showChildren(item)" :key="`menu-${item.name}`" :parent-item="item"></side-menu-item>
13
           <side-menu-item v-if="showChildren(item)" :key="`menu-${item.name}`" :parent-item="item"></side-menu-item>

+ 2
- 0
src/components/main/main.less View File

55
     .ivu-layout-sider-children{
55
     .ivu-layout-sider-children{
56
       width: 210px;
56
       width: 210px;
57
       // overflow-y: scroll;
57
       // overflow-y: scroll;
58
+      overflow-y: auto;
59
+      // padding: 0 0.1rem;
58
       // margin-right: -18px;
60
       // margin-right: -18px;
59
     }
61
     }
60
   }
62
   }

+ 0
- 5
src/index.less View File

1
 @import '~iview/src/styles/index.less';
1
 @import '~iview/src/styles/index.less';
2
 
2
 
3
 @menu-dark-title: #001529;
3
 @menu-dark-title: #001529;
4
-// @menu-dark-title: white;
5
 @menu-dark-active-bg: #000c17;
4
 @menu-dark-active-bg: #000c17;
6
-// @menu-dark-active-bg: rgba(61,142,254,1);;
7
-
8
-// @layout-sider-background: #001529;
9
-// @layout-sider-background: rgba(61,142,254,1);
10
 @layout-sider-background: white;
5
 @layout-sider-background: white;
11
 
6
 

+ 3
- 3
src/locale/lang/zh-CN.js View File

24
   level_2_2: 'Level-2-2',
24
   level_2_2: 'Level-2-2',
25
   level_2_2_1: 'Level-2-2-1',
25
   level_2_2_1: 'Level-2-2-1',
26
   level_2_2_2: 'Level-2-2-2',
26
   level_2_2_2: 'Level-2-2-2',
27
-  excel: 'Excel',
28
-  'upload-excel': '上传excel',
29
-  'export-excel': '导出excel',
27
+  excel: '统计信息',
28
+  'upload-excel': '月报',
29
+  'export-excel': '日报',
30
   tools_methods_page: '工具函数',
30
   tools_methods_page: '工具函数',
31
   drag_list_page: '拖拽列表',
31
   drag_list_page: '拖拽列表',
32
   i18n_page: '多语言',
32
   i18n_page: '多语言',

+ 93
- 113
src/router/routers.js View File

1
 import Main from '@/components/main'
1
 import Main from '@/components/main'
2
-import parentView from '@/components/parent-view'
2
+// import parentView from '@/components/parent-view'
3
 
3
 
4
 /**
4
 /**
5
  * iview-admin中meta除了原生参数外可配置的参数:
5
  * iview-admin中meta除了原生参数外可配置的参数:
50
       }
50
       }
51
     ]
51
     ]
52
   },
52
   },
53
-  // {
54
-  //   path: '/BasicInfo',
55
-  //   name: 'BasicInfo',
56
-  //   meta: {
57
-  //     icon: 'md-home',
58
-  //     title: '基本信息'
59
-  //   },
60
-  //   component: Main,
61
-  //   children: [
62
-  //     {
63
-  //       path: 'Student_management',
64
-  //       name: 'Student_management',
65
-  //       meta: {
66
-  //         icon: 'logo-buffer',
67
-  //         title: '学员管理'
68
-  //       },
69
-  //       component: () => import('@/view/manager/student.vue')
70
-  //     }
71
-  //   ]
72
-  // },
73
   {
53
   {
74
     path: '/message',
54
     path: '/message',
75
     name: 'message',
55
     name: 'message',
218
       // }
198
       // }
219
     ]
199
     ]
220
   },
200
   },
221
-  {
222
-    path: '/update',
223
-    name: 'update',
224
-    meta: {
225
-      icon: 'md-cloud-upload',
226
-      title: '数据上传'
227
-    },
228
-    component: Main,
229
-    children: [
230
-      {
231
-        path: 'update_table_page',
232
-        name: 'update_table_page',
233
-        meta: {
234
-          icon: 'ios-document',
235
-          title: '上传Csv'
236
-        },
237
-        component: () => import('@/view/update/update-table.vue')
238
-      },
239
-      {
240
-        path: 'update_paste_page',
241
-        name: 'update_paste_page',
242
-        meta: {
243
-          icon: 'md-clipboard',
244
-          title: '粘贴表格数据'
245
-        },
246
-        component: () => import('@/view/update/update-paste.vue')
247
-      }
248
-    ]
249
-  },
201
+  // {
202
+  //   path: '/update',
203
+  //   name: 'update',
204
+  //   meta: {
205
+  //     icon: 'md-cloud-upload',
206
+  //     title: '数据上传'
207
+  //   },
208
+  //   component: Main,
209
+  //   children: [
210
+  //     {
211
+  //       path: 'update_table_page',
212
+  //       name: 'update_table_page',
213
+  //       meta: {
214
+  //         icon: 'ios-document',
215
+  //         title: '上传Csv'
216
+  //       },
217
+  //       component: () => import('@/view/update/update-table.vue')
218
+  //     },
219
+  //     {
220
+  //       path: 'update_paste_page',
221
+  //       name: 'update_paste_page',
222
+  //       meta: {
223
+  //         icon: 'md-clipboard',
224
+  //         title: '粘贴表格数据'
225
+  //       },
226
+  //       component: () => import('@/view/update/update-paste.vue')
227
+  //     }
228
+  //   ]
229
+  // },
250
   {
230
   {
251
     path: '/excel',
231
     path: '/excel',
252
     name: 'excel',
232
     name: 'excel',
253
     meta: {
233
     meta: {
254
       icon: 'ios-stats',
234
       icon: 'ios-stats',
255
-      title: 'EXCEL导入导出'
235
+      title: '统计信息'
256
     },
236
     },
257
     component: Main,
237
     component: Main,
258
     children: [
238
     children: [
261
         name: 'upload-excel',
241
         name: 'upload-excel',
262
         meta: {
242
         meta: {
263
           icon: 'md-add',
243
           icon: 'md-add',
264
-          title: '导入EXCEL'
244
+          title: '月报'
265
         },
245
         },
266
         component: () => import('@/view/excel/upload-excel.vue')
246
         component: () => import('@/view/excel/upload-excel.vue')
267
       },
247
       },
270
         name: 'export-excel',
250
         name: 'export-excel',
271
         meta: {
251
         meta: {
272
           icon: 'md-download',
252
           icon: 'md-download',
273
-          title: '导出EXCEL'
253
+          title: '日报'
274
         },
254
         },
275
         component: () => import('@/view/excel/export-excel.vue')
255
         component: () => import('@/view/excel/export-excel.vue')
276
       }
256
       }
373
       }
353
       }
374
     ]
354
     ]
375
   },
355
   },
376
-  {
377
-    path: '/multilevel',
378
-    name: 'multilevel',
379
-    meta: {
380
-      icon: 'md-menu',
381
-      title: '多级菜单'
382
-    },
383
-    component: Main,
384
-    children: [
385
-      {
386
-        path: 'level_2_1',
387
-        name: 'level_2_1',
388
-        meta: {
389
-          icon: 'md-funnel',
390
-          title: '二级-1'
391
-        },
392
-        component: () => import('@/view/multilevel/level-2-1.vue')
393
-      },
394
-      {
395
-        path: 'level_2_2',
396
-        name: 'level_2_2',
397
-        meta: {
398
-          access: ['super_admin'],
399
-          icon: 'md-funnel',
400
-          showAlways: true,
401
-          title: '二级-2'
402
-        },
403
-        component: parentView,
404
-        children: [
405
-          {
406
-            path: 'level_2_2_1',
407
-            name: 'level_2_2_1',
408
-            meta: {
409
-              icon: 'md-funnel',
410
-              title: '三级'
411
-            },
412
-            component: () => import('@/view/multilevel/level-2-2/level-2-2-1.vue')
413
-          },
414
-          {
415
-            path: 'level_2_2_2',
416
-            name: 'level_2_2_2',
417
-            meta: {
418
-              icon: 'md-funnel',
419
-              title: '三级'
420
-            },
421
-            component: () => import('@/view/multilevel/level-2-2/level-2-2-2.vue')
422
-          }
423
-        ]
424
-      },
425
-      {
426
-        path: 'level_2_3',
427
-        name: 'level_2_3',
428
-        meta: {
429
-          icon: 'md-funnel',
430
-          title: '二级-3'
431
-        },
432
-        component: () => import('@/view/multilevel/level-2-3.vue')
433
-      }
434
-    ]
435
-  },
356
+  // {
357
+  //   path: '/multilevel',
358
+  //   name: 'multilevel',
359
+  //   meta: {
360
+  //     icon: 'md-menu',
361
+  //     title: '多级菜单'
362
+  //   },
363
+  //   component: Main,
364
+  //   children: [
365
+  //     {
366
+  //       path: 'level_2_1',
367
+  //       name: 'level_2_1',
368
+  //       meta: {
369
+  //         icon: 'md-funnel',
370
+  //         title: '二级-1'
371
+  //       },
372
+  //       component: () => import('@/view/multilevel/level-2-1.vue')
373
+  //     },
374
+  //     {
375
+  //       path: 'level_2_2',
376
+  //       name: 'level_2_2',
377
+  //       meta: {
378
+  //         access: ['super_admin'],
379
+  //         icon: 'md-funnel',
380
+  //         showAlways: true,
381
+  //         title: '二级-2'
382
+  //       },
383
+  //       component: parentView,
384
+  //       children: [
385
+  //         {
386
+  //           path: 'level_2_2_1',
387
+  //           name: 'level_2_2_1',
388
+  //           meta: {
389
+  //             icon: 'md-funnel',
390
+  //             title: '三级'
391
+  //           },
392
+  //           component: () => import('@/view/multilevel/level-2-2/level-2-2-1.vue')
393
+  //         },
394
+  //         {
395
+  //           path: 'level_2_2_2',
396
+  //           name: 'level_2_2_2',
397
+  //           meta: {
398
+  //             icon: 'md-funnel',
399
+  //             title: '三级'
400
+  //           },
401
+  //           component: () => import('@/view/multilevel/level-2-2/level-2-2-2.vue')
402
+  //         }
403
+  //       ]
404
+  //     },
405
+  //     {
406
+  //       path: 'level_2_3',
407
+  //       name: 'level_2_3',
408
+  //       meta: {
409
+  //         icon: 'md-funnel',
410
+  //         title: '二级-3'
411
+  //       },
412
+  //       component: () => import('@/view/multilevel/level-2-3.vue')
413
+  //     }
414
+  //   ]
415
+  // },
436
   {
416
   {
437
     path: '/argu',
417
     path: '/argu',
438
     name: 'argu',
418
     name: 'argu',

+ 2
- 0
src/view/login/login.less View File

44
   .ivu-card{
44
   .ivu-card{
45
     width: 329px;
45
     width: 329px;
46
     height: 300px;
46
     height: 300px;
47
+    border-radius: 10px;
48
+    
47
   }
49
   }
48
 }
50
 }

+ 1
- 1
src/view/login/login.vue View File

6
    <div class="login">
6
    <div class="login">
7
       <h1>欢迎,登陆青鸽管家!</h1>
7
       <h1>欢迎,登陆青鸽管家!</h1>
8
     <div class="login-con">
8
     <div class="login-con">
9
-      <Card :bordered="false">
9
+      <Card shadow  :bordered="false">
10
         <div class="form-con">
10
         <div class="form-con">
11
           <login-form @on-success-valid="handleSubmit"></login-form>
11
           <login-form @on-success-valid="handleSubmit"></login-form>
12
           <p class="login-tip"></p>
12
           <p class="login-tip"></p>

+ 20
- 8
src/view/manager/student.vue View File

3
      <i-form :model="formItem" inline>
3
      <i-form :model="formItem" inline>
4
        <Form-item props='grade'>
4
        <Form-item props='grade'>
5
             <i-select v-model="formItem.grade" placeholder="请选择">
5
             <i-select v-model="formItem.grade" placeholder="请选择">
6
-                <i-option value="beijing">一年级</i-option>
7
-                <i-option value="shanghai">二年级</i-option>
8
-                <i-option value="shenzhen">三年级</i-option>
6
+              <i-option v-for="item in gradeList" :key="item.id" :value="item.id">{{ item.grade }}</i-option>
9
             </i-select>
7
             </i-select>
10
         </Form-item>
8
         </Form-item>
11
         <Form-item props='name'>
9
         <Form-item props='name'>
31
   data () {
29
   data () {
32
     return {
30
     return {
33
       formItem: {
31
       formItem: {
34
-        grade: '',
32
+        grade: 1,
35
         name: ''
33
         name: ''
36
-
37
       },
34
       },
35
+      gradeList: [
36
+        {
37
+          id: 1,
38
+          grade: '一年级'
39
+        },
40
+        {
41
+          id: 2,
42
+          grade: '二年级'
43
+        },
44
+        {
45
+          id: 3,
46
+          grade: '三年级'
47
+        }
48
+      ],
38
       columns1: [
49
       columns1: [
39
         {
50
         {
40
           title: '序号',
51
           title: '序号',
209
 </script>
220
 </script>
210
 
221
 
211
 <style lang='less' scoped>
222
 <style lang='less' scoped>
223
+  .ivu-btn-text:hover {
224
+    background-color: transparent!important;
225
+  }
212
 .wrap{
226
 .wrap{
213
   background: white;
227
   background: white;
214
   padding: 20px;
228
   padding: 20px;
215
   // position: relative;
229
   // position: relative;
216
-  .ivu-btn-text:hover {
217
-    background: transparent;
218
-  }
230
+
219
   .ivu-form{
231
   .ivu-form{
220
     .add{
232
     .add{
221
       float:right;
233
       float:right;

+ 30
- 20
src/view/single-page/home/home.vue View File

11
           </row>
11
           </row>
12
           </Form-item>
12
           </Form-item>
13
           <Form-item>
13
           <Form-item>
14
-            <i-button type="primary">提交</i-button>
14
+            <i-button type="primary" >提交</i-button>
15
         </Form-item>
15
         </Form-item>
16
       </i-form>
16
       </i-form>
17
       <div class="info">
17
       <div class="info">
75
     <!-- 内容下部 -->
75
     <!-- 内容下部 -->
76
     <div class="contentBottom">
76
     <div class="contentBottom">
77
       <div class="info">
77
       <div class="info">
78
-        <h4>应用缴费情况</h4>
78
+        <h3>应用缴费情况</h3>
79
         <a href="#">详情</a>
79
         <a href="#">详情</a>
80
       </div>
80
       </div>
81
       <div class="money">
81
       <div class="money">
82
          <Row type='flex' justify='center'>
82
          <Row type='flex' justify='center'>
83
-            <i-col span="14">
83
+            <i-col span="12">
84
               <h1>¥<span>{{totalMoney+'.00'}}</span></h1>
84
               <h1>¥<span>{{totalMoney+'.00'}}</span></h1>
85
               <h3>缴费总金额</h3>
85
               <h3>缴费总金额</h3>
86
               <div class="moneyBottom" >
86
               <div class="moneyBottom" >
103
               </div>
103
               </div>
104
               </div>
104
               </div>
105
             </i-col>
105
             </i-col>
106
-            <i-col span="10">
107
-               <h1>¥<span>{{totalMoney+'.00'}}</span></h1>
108
-              <h3>费总金额</h3>
109
-              <div class="moneyInfo" style="margin-left:140px">
106
+            <i-col span="12">
107
+               <h1>¥<span>{{RefundMoney+'.00'}}</span></h1>
108
+              <h3>退费总金额</h3>
109
+              <div class="moneyInfo">
110
                 <img src="../../../assets/img/user2.png" style="width:30px" alt="">
110
                 <img src="../../../assets/img/user2.png" style="width:30px" alt="">
111
-
112
                  <div class="moneyNum">
111
                  <div class="moneyNum">
113
                    <span>{{newStu}}</span>
112
                    <span>{{newStu}}</span>
114
                    <h4>新学员人数</h4>
113
                    <h4>新学员人数</h4>
133
       shouldPerson: 45,
132
       shouldPerson: 45,
134
       reallyPerson: 30,
133
       reallyPerson: 30,
135
       totalMoney: 12360.00,
134
       totalMoney: 12360.00,
135
+      RefundMoney: 3600,
136
       newStu: 38,
136
       newStu: 38,
137
       submitPerson: 60,
137
       submitPerson: 60,
138
       form: {
138
       form: {
203
   height: 70px;
203
   height: 70px;
204
   background:rgba(255,255,255,1);
204
   background:rgba(255,255,255,1);
205
   border:1px solid rgba(215, 214, 219, 1);
205
   border:1px solid rgba(215, 214, 219, 1);
206
-  box-shadow:0px 0px 5px 0px rgba(30,30,30,0.71);
206
+  box-shadow:0px 0px 5px 0px #D7D6DB;
207
   border-radius:3px;
207
   border-radius:3px;
208
   margin: 20px;
208
   margin: 20px;
209
   display: flex;
209
   display: flex;
212
   p{
212
   p{
213
     font-size:20px;
213
     font-size:20px;
214
     font-family:'Microsoft YaHei';
214
     font-family:'Microsoft YaHei';
215
-    font-weight:600;
215
+    font-weight:400;
216
     color:rgba(0,0,0,1);
216
     color:rgba(0,0,0,1);
217
     line-height:56px;
217
     line-height:56px;
218
     span{
218
     span{
219
       font-size:29px;
219
       font-size:29px;
220
       font-family:'FZZhengHeiS-EB-GB';
220
       font-family:'FZZhengHeiS-EB-GB';
221
-      font-weight:400;
221
+      font-weight:600;
222
       line-height:56px;
222
       line-height:56px;
223
       padding-left: 20px;
223
       padding-left: 20px;
224
     }
224
     }
260
   padding: 10px;
260
   padding: 10px;
261
 }
261
 }
262
 .contentTop{
262
 .contentTop{
263
+  margin-bottom: 40px;
263
   // #myChart{
264
   // #myChart{
264
   //   float: left;
265
   //   float: left;
265
   // }
266
   // }
273
     display: flex;
274
     display: flex;
274
     align-items: center;
275
     align-items: center;
275
     flex-direction: column;
276
     flex-direction: column;
276
-    margin-top: 70px;
277
+    margin-top: 90px;
277
     p{
278
     p{
278
       font-size: 20px;
279
       font-size: 20px;
279
       font-family: "MicrosoftYaHeiLight";
280
       font-family: "MicrosoftYaHeiLight";
282
         padding-left: 10px;
283
         padding-left: 10px;
283
         color: #4597FF;
284
         color: #4597FF;
284
         font-size: 30px;
285
         font-size: 30px;
286
+        font-weight: 600;
285
         font-family: "FZZDHJW--GB1-0";
287
         font-family: "FZZDHJW--GB1-0";
286
       }
288
       }
287
 
289
 
289
   }
291
   }
290
    }
292
    }
291
 .contentCenter{
293
 .contentCenter{
294
+  // margin: 30px 0;
292
   .teacher{
295
   .teacher{
293
-    padding: 20px 0;
296
+    padding: 30px 0;
294
     .ivu-col {
297
     .ivu-col {
295
       display: flex;
298
       display: flex;
296
       // justify-content: center;
299
       // justify-content: center;
338
       line-height:52px;
341
       line-height:52px;
339
     }
342
     }
340
   }
343
   }
341
-  h3{
344
+  .ivu-col-span-12{
345
+    display: flex;
346
+    justify-content: center;
347
+    flex-direction: column;
348
+    align-items: center;
349
+  }
350
+  .moneyBottom{
351
+    // margin-top:30px;
352
+    h3{
342
     text-align: center;
353
     text-align: center;
343
     font-size:16px;
354
     font-size:16px;
344
-    font-family:Microsoft YaHei;
355
+    font-family:'Microsoft YaHei';
345
     font-weight:400;
356
     font-weight:400;
346
     color:rgba(0,0,0,1);
357
     color:rgba(0,0,0,1);
347
     line-height:52px;
358
     line-height:52px;
348
-  }
349
-  .moneyBottom{
350
-    margin-left:120px;
359
+    }
351
   }
360
   }
352
   .moneyInfo{
361
   .moneyInfo{
353
     float: left;
362
     float: left;
354
     margin-left: 20px;
363
     margin-left: 20px;
364
+    margin-top: 30px;
355
     padding-left: 20px;
365
     padding-left: 20px;
356
     width: 162px;
366
     width: 162px;
357
     height: 71px;
367
     height: 71px;
359
     justify-content: center;
369
     justify-content: center;
360
     align-items: center;
370
     align-items: center;
361
     background: white;
371
     background: white;
362
-    box-shadow: 0 0 10px grey;
372
+    box-shadow: 0 0 10px #D7D6DB;
363
     .studentNum{
373
     .studentNum{
364
       flex: 1;
374
       flex: 1;
365
       display: flex;
375
       display: flex;
375
         margin-left: 10px;
385
         margin-left: 10px;
376
         span{
386
         span{
377
           font-size:20px;
387
           font-size:20px;
378
-          font-family:FZZhengHeiS-EB-GB;
388
+          font-family:'FZZhengHeiS-EB-GB';
379
           font-weight:600;
389
           font-weight:600;
380
           color:rgba(253,117,60,1);
390
           color:rgba(253,117,60,1);
381
           line-height:33px;
391
           line-height:33px;

Loading…
Cancel
Save