|
@@ -2,156 +2,48 @@
|
2
|
2
|
* @Author: ysh
|
3
|
3
|
* @Date: 2024-01-03 09:23:11
|
4
|
4
|
* @LastEditors: Please set LastEditors
|
5
|
|
- * @LastEditTime: 2024-02-27 14:12:01
|
|
5
|
+ * @LastEditTime: 2024-03-06 16:14:12
|
6
|
6
|
-->
|
|
7
|
+
|
7
|
8
|
<template>
|
8
|
9
|
<div class="app-container home">
|
9
|
|
- <div class="left">
|
10
|
|
- <!-- 用户信息 -->
|
11
|
|
- <div class="user-info">
|
12
|
|
- <el-row align="bottom" :gutter="40">
|
13
|
|
- <el-col :span="4">
|
14
|
|
- <h3 style="font-weight: bold;text-align: right;font-size: 18px;"> {{ user.nickName }},您好! </h3>
|
15
|
|
- <!-- <h2 style="text-align: right;font-size: 24px;font-weight: bold;"> {{ 10 }}℃ </h2> -->
|
16
|
|
- <el-row style="font-size:12px;text-align: right;"> {{ "2024-01-22" }} {{ "星期一" }} </el-row>
|
17
|
|
- </el-col>
|
18
|
|
- <el-col :span="4" style="text-align: center;">
|
|
10
|
+ <el-row style="height:350px;" :gutter="20">
|
|
11
|
+ <el-col :span="8">
|
|
12
|
+ <div class="header">个人信息</div>
|
|
13
|
+ <div class="user-wrapper">
|
|
14
|
+ <div class="avatar">
|
19
|
15
|
<img :src="avatar" class="user-avatar" />
|
20
|
|
- </el-col>
|
21
|
|
- <el-col :span="16">
|
22
|
|
- <el-row style="font-size: 20px;font-weight: bold;margin-bottom: 20px;">
|
23
|
|
- {{ user.nickName }} <el-tag type="warning">{{ titles }}</el-tag>
|
24
|
|
- </el-row>
|
25
|
|
- <el-row>
|
26
|
|
- <el-col :span="4">
|
27
|
|
- <el-row class="userinfo-item">
|
28
|
|
- 入职时间
|
29
|
|
- </el-row>
|
30
|
|
- <el-row class="userinfo-data">
|
31
|
|
- {{ user.entryDate != null ? user.entryDate.substring(0, 7) : user.entryDate }}
|
32
|
|
- </el-row>
|
33
|
|
- </el-col>
|
34
|
|
- <el-col :span="4">
|
35
|
|
- <el-row class="userinfo-item">
|
36
|
|
- 工龄
|
37
|
|
- </el-row>
|
38
|
|
- <el-row class="userinfo-data">
|
39
|
|
- {{ getObtainSeniority(user.entryDate) }}
|
40
|
|
- </el-row>
|
41
|
|
- </el-col>
|
42
|
|
- <el-col :span="4">
|
43
|
|
- <el-row class="userinfo-item">
|
44
|
|
- 所在部门
|
45
|
|
- </el-row>
|
46
|
|
- <el-row class="userinfo-data">
|
47
|
|
- {{ user.dept ? user.dept.deptName : '' }}
|
48
|
|
- </el-row>
|
49
|
|
- </el-col>
|
50
|
|
- <el-col :span="4">
|
51
|
|
- <el-row class="userinfo-item">
|
52
|
|
- 岗级
|
53
|
|
- </el-row>
|
54
|
|
- <el-row class="userinfo-data">
|
55
|
|
- {{ engineerLevel }}
|
56
|
|
- </el-row>
|
57
|
|
- </el-col>
|
58
|
|
- <el-col :span="4">
|
59
|
|
- <el-row class="userinfo-item">
|
60
|
|
- 技术职称
|
61
|
|
- </el-row>
|
62
|
|
- <el-row class="userinfo-data">
|
63
|
|
- {{ titles }}
|
64
|
|
- </el-row>
|
65
|
|
- </el-col>
|
66
|
|
- </el-row>
|
67
|
|
- </el-col>
|
68
|
|
- </el-row>
|
69
|
|
- </div>
|
70
|
|
- <!-- 快捷菜单 -->
|
71
|
|
- <el-row class="meau" type="flex">
|
72
|
|
- <el-col :span="12" class="meau-left">
|
73
|
|
- <div class="titles">
|
74
|
|
- <span class="title-line"></span>
|
75
|
|
- <span class="title-text">快捷菜单</span>
|
76
|
|
- <span class="title-more">更多</span>
|
77
|
16
|
</div>
|
78
|
|
- <el-row style="text-align: center;">
|
79
|
|
- <el-col :span="4" class="item" style="background-color: #42b983;padding:3px" @click.native="gotoTask">
|
80
|
|
- <el-row class="item-icon"><i class="el-icon-tickets"></i></el-row>
|
81
|
|
- <el-row>新建申请</el-row>
|
82
|
|
- </el-col>
|
83
|
|
- <!-- <el-col :span="4" class="item" style="background-color: #40A9FF;padding:3px">
|
84
|
|
- <el-row class="item-icon"><i class="el-icon-s-order"></i></el-row>
|
85
|
|
- <el-row>已办任务</el-row>
|
86
|
|
- </el-col> -->
|
87
|
|
- </el-row>
|
88
|
|
- </el-col>
|
89
|
|
- <el-col :span="12" class="meau-right">
|
90
|
|
- <div class="titles">
|
91
|
|
- <span class="title-line"></span>
|
92
|
|
- <span class="title-text">我的待办</span>
|
|
17
|
+ <div class="username">
|
|
18
|
+ {{ user.nickName }}
|
93
|
19
|
</div>
|
94
|
|
- <el-row>
|
95
|
|
- <el-col :span="6" class="db-item" @click.native="$router.push({ path: '/task/todo' })">
|
96
|
|
- <el-row class="db-text">考核待审</el-row>
|
97
|
|
- <el-row class="db-number">{{ detail }}</el-row>
|
98
|
|
- </el-col>
|
99
|
|
- <el-col :span="6" class="db-item" @click.native="$router.push({ path: '/task/finished' })">
|
100
|
|
- <el-row class="db-text">已办任务</el-row>
|
101
|
|
- <el-row class="db-number">{{ finish }}</el-row>
|
102
|
|
- </el-col>
|
103
|
|
- </el-row>
|
104
|
|
- </el-col>
|
105
|
|
- </el-row>
|
106
|
|
- <!-- 公告列表和日历 -->
|
107
|
|
- <el-row class="notice">
|
108
|
|
- <el-col :span="16">
|
109
|
|
- <div class="titles">
|
110
|
|
- <span class="title-line"></span>
|
111
|
|
- <span class="title-text">公告列表</span>
|
|
20
|
+ </div>
|
|
21
|
+ </el-col>
|
|
22
|
+ <el-col :span="15" :xs="24">
|
|
23
|
+ <div class="header">快捷入口</div>
|
|
24
|
+ <div class="nav-wrapper">
|
|
25
|
+ <div class="nav-item" v-for="nav in navItem" @click="goToPath(nav.id)">
|
|
26
|
+ <div class="nav-logo" :style="{ 'background-color': nav.bgColor, 'box-shadow': nav.boxShadow }">
|
|
27
|
+ <div class="icon">
|
|
28
|
+ <svg-icon slot="prefix" :icon-class="nav.icon" class="el-input__icon input-icon" />
|
|
29
|
+ </div>
|
|
30
|
+ </div>
|
|
31
|
+ <div class="nav-text">{{ nav.name }}</div>
|
112
|
32
|
</div>
|
113
|
|
- <el-table :data="noticeData" style="width: 100%">
|
114
|
|
- <el-table-column prop="type" label="公告分类">
|
115
|
|
- </el-table-column>
|
116
|
|
- <el-table-column prop="name" label="公告标题">
|
117
|
|
- </el-table-column>
|
118
|
|
- <el-table-column prop="time" label="发布时间">
|
119
|
|
- </el-table-column>
|
120
|
|
- </el-table>
|
121
|
|
- </el-col>
|
122
|
|
- <el-col :span="8">
|
123
|
|
- <el-calendar v-model="times" style="margin-top: 80px;">
|
|
33
|
+ </div>
|
|
34
|
+ </el-col>
|
|
35
|
+ </el-row>
|
|
36
|
+ <el-row>
|
|
37
|
+ <el-col :span="8">
|
|
38
|
+ <div class="header">日历</div>
|
|
39
|
+ <div class="calendar">
|
|
40
|
+ <el-calendar v-model="times">
|
124
|
41
|
</el-calendar>
|
125
|
|
- </el-col>
|
126
|
|
- </el-row>
|
127
|
|
- </div>
|
128
|
|
- <div class="right">
|
129
|
|
- <div class="titles">
|
130
|
|
- <span class="title-line"></span>
|
131
|
|
- <span class="title-text">项目列表</span>
|
132
|
|
- </div>
|
133
|
|
- <el-table :data="projectData" style="width: 100%">
|
134
|
|
- <el-table-column prop="isFinshed" label="状态" width="90px">
|
135
|
|
- <template slot-scope="scope">
|
136
|
|
- <el-tag :type="scope.row.isFinished === '0' ? 'success' : 'warning'" disable-transitions>
|
137
|
|
- {{ scope.row.isFinished == '0' ? '进行中' : '已结束' }}
|
138
|
|
- </el-tag>
|
139
|
|
- </template>
|
140
|
|
- </el-table-column>
|
141
|
|
- <el-table-column prop="projectNumber" label="项目编号" width="90px">
|
142
|
|
- </el-table-column>
|
143
|
|
- <el-table-column prop="projectLeader" label="项目负责人" width="90px">
|
144
|
|
- </el-table-column>
|
145
|
|
- <el-table-column prop="projectName" label="项目名称">
|
146
|
|
- </el-table-column>
|
147
|
|
- </el-table>
|
148
|
|
- <div style="text-align: right;margin-top: 20px;">
|
149
|
|
- <el-pagination @current-change="getProject" :current-page.sync="projectQueryParams.pageNum"
|
150
|
|
- :page-size="projectQueryParams.pageSize" layout="total, prev, pager, next,jumper" :total="projectTotal">
|
151
|
|
- </el-pagination>
|
152
|
|
- </div>
|
153
|
|
-
|
154
|
|
- </div>
|
|
42
|
+ </div>
|
|
43
|
+ </el-col>
|
|
44
|
+ <el-col></el-col>
|
|
45
|
+ <el-col></el-col>
|
|
46
|
+ </el-row>
|
155
|
47
|
</div>
|
156
|
48
|
</template>
|
157
|
49
|
|
|
@@ -161,17 +53,19 @@ import { getUserProfile } from "@/api/system/user";
|
161
|
53
|
import { listProject } from "@/api/oa/project/project";
|
162
|
54
|
import { todoList } from "@/api/flowable/todo";
|
163
|
55
|
import { finishedList } from "@/api/flowable/finished";
|
164
|
|
-import { getDicts as getDicts, getData } from '@/api/system/dict/data'
|
165
|
56
|
export default {
|
166
|
|
- name: "index",
|
167
|
57
|
computed: {
|
168
|
58
|
...mapGetters(["avatar"]),
|
169
|
59
|
},
|
170
|
|
- dicts: ['sys_user_engineerlevel', 'sys_user_titles'],
|
|
60
|
+ created() {
|
|
61
|
+ this.getUser();
|
|
62
|
+ this.getDetail();
|
|
63
|
+ this.getProject();
|
|
64
|
+ },
|
171
|
65
|
data() {
|
172
|
66
|
return {
|
|
67
|
+ times: new Date(),
|
173
|
68
|
user: {},
|
174
|
|
- weather: {},
|
175
|
69
|
noticeData: [],
|
176
|
70
|
projectData: [],
|
177
|
71
|
projectQueryParams: {
|
|
@@ -179,45 +73,86 @@ export default {
|
179
|
73
|
pageSize: 16
|
180
|
74
|
},
|
181
|
75
|
projectTotal: 0,
|
182
|
|
- times: new Date(),
|
183
|
76
|
detail: 0,
|
184
|
77
|
finish: 0,
|
185
|
78
|
engineerLevel: '',
|
186
|
79
|
titles: '',
|
187
|
|
- };
|
188
|
|
- },
|
189
|
|
- created() {
|
190
|
|
- this.getUser();
|
191
|
|
- this.getDetail();
|
192
|
|
- this.getProject();
|
|
80
|
+ navItem: [
|
|
81
|
+ {
|
|
82
|
+ id: 1,
|
|
83
|
+ name: '发起流程',
|
|
84
|
+ icon: 'cascader',
|
|
85
|
+ bgColor: '#785aee',
|
|
86
|
+ boxShadow: '0 5px 20px rgba(120,90,238,0.5)'
|
|
87
|
+ }, {
|
|
88
|
+ id: 2,
|
|
89
|
+ name: '待办任务',
|
|
90
|
+ icon: 'log',
|
|
91
|
+ bgColor: '#e66794',
|
|
92
|
+ boxShadow: '0 5px 20px rgba(230,103,148,0.5)'
|
|
93
|
+ }, {
|
|
94
|
+ id: 3,
|
|
95
|
+ name: '已办任务',
|
|
96
|
+ icon: 'excel',
|
|
97
|
+ bgColor: '#6389f4',
|
|
98
|
+ boxShadow: '0 5px 20px rgba(99,137,244,0.5)'
|
|
99
|
+ }, {
|
|
100
|
+ id: 4,
|
|
101
|
+ name: '项目管理',
|
|
102
|
+ icon: 'dict',
|
|
103
|
+ bgColor: '#e64c56',
|
|
104
|
+ boxShadow: '0 5px 20px rgba(230,76,86,0.5)'
|
|
105
|
+ }, {
|
|
106
|
+ id: 5,
|
|
107
|
+ name: '车辆管理',
|
|
108
|
+ icon: 'car',
|
|
109
|
+ bgColor: '#eeb62f',
|
|
110
|
+ boxShadow: '0 5px 20px rgba(238,182,47,0.5)'
|
|
111
|
+ }, {
|
|
112
|
+ id: 6,
|
|
113
|
+ name: '设备管理',
|
|
114
|
+ icon: 'lock',
|
|
115
|
+ bgColor: '#0be1bd',
|
|
116
|
+ boxShadow: '0 5px 20px rgba(11,225,189,0.5)'
|
|
117
|
+ }
|
|
118
|
+ ]
|
|
119
|
+ }
|
193
|
120
|
},
|
194
|
121
|
methods: {
|
195
|
|
- goTarget(href) {
|
196
|
|
- window.open(href, "_blank");
|
|
122
|
+ goToPath(id) {
|
|
123
|
+ if (id == 1) {
|
|
124
|
+ this.$router.push({ path: "/task/process" });
|
|
125
|
+ } else if (id == 2) {
|
|
126
|
+ this.$router.push({ path: "/task/todo" });
|
|
127
|
+ } else if (id == 3) {
|
|
128
|
+ this.$router.push({ path: "/task/finished" });
|
|
129
|
+ } else if (id == 4) {
|
|
130
|
+ this.$router.push({ path: "/project" });
|
|
131
|
+ } else if (id == 5) {
|
|
132
|
+ this.$router.push({ path: "/car" });
|
|
133
|
+ } else if (id == 6) {
|
|
134
|
+ this.$router.push({ path: "/device" });
|
|
135
|
+ }
|
197
|
136
|
},
|
198
|
137
|
getUser() {
|
199
|
138
|
getUserProfile().then(response => {
|
200
|
139
|
this.user = response.data;
|
201
|
|
- for (let d of this.dict.type.sys_user_engineerlevel) {
|
202
|
|
- if (d.value == response.data.engineerLevel) {
|
203
|
|
- console.log(d);
|
204
|
|
- this.engineerLevel = d.label
|
205
|
|
- }
|
206
|
|
- }
|
207
|
|
- for (let t of this.dict.type.sys_user_titles) {
|
208
|
|
- if (t.value == response.data.titles) {
|
209
|
|
- console.log(t);
|
210
|
|
- this.titles = t.label
|
211
|
|
- }
|
212
|
|
- }
|
|
140
|
+ console.log(this.user);
|
|
141
|
+ // for (let d of this.dict.type.sys_user_engineerlevel) {
|
|
142
|
+ // if (d.value == response.data.engineerLevel) {
|
|
143
|
+ // console.log(d);
|
|
144
|
+ // this.engineerLevel = d.label
|
|
145
|
+ // }
|
|
146
|
+ // }
|
|
147
|
+ // for (let t of this.dict.type.sys_user_titles) {
|
|
148
|
+ // if (t.value == response.data.titles) {
|
|
149
|
+ // console.log(t);
|
|
150
|
+ // this.titles = t.label
|
|
151
|
+ // }
|
|
152
|
+ // }
|
213
|
153
|
});
|
214
|
154
|
},
|
215
|
|
- gotoTask() {
|
216
|
|
- this.$router.push({ path: "/task/process" });
|
217
|
|
- },
|
218
|
|
- goTodo() {
|
219
|
|
- this.$router.push({ path: "/task/todo" });
|
220
|
|
- },
|
|
155
|
+ // 获取项目列表
|
221
|
156
|
getProject() {
|
222
|
157
|
listProject(this.projectQueryParams).then(response => {
|
223
|
158
|
this.projectData = response.rows;
|
|
@@ -252,161 +187,95 @@ export default {
|
252
|
187
|
this.finish = response.data.total;
|
253
|
188
|
})
|
254
|
189
|
},
|
255
|
|
- // 获取工龄
|
256
|
|
- getObtainSeniority(entryDate) {
|
257
|
|
- if (entryDate != "" && entryDate != undefined && entryDate != null) {
|
258
|
|
- let curYear = new Date();
|
259
|
|
- let e = entryDate.substring(0, 4);
|
260
|
|
- return (curYear.getFullYear() - parseInt(e)) + '年'
|
261
|
|
- }
|
262
|
|
-
|
263
|
|
-
|
264
|
|
- }
|
265
|
|
- },
|
266
|
|
-};
|
|
190
|
+ }
|
|
191
|
+}
|
267
|
192
|
</script>
|
268
|
193
|
|
269
|
194
|
<style scoped lang="scss">
|
270
|
195
|
.home {
|
271
|
|
- display: flex;
|
272
|
|
- background-color: #f5f5f5;
|
|
196
|
+ padding: 20px 40px;
|
|
197
|
+ background-color: #f0f4f7;
|
|
198
|
+ width: 100%;
|
|
199
|
+ // height: calc(100vh - 100px);
|
273
|
200
|
}
|
274
|
201
|
|
275
|
|
-.left {
|
276
|
|
- flex: 2;
|
277
|
|
- margin-right: 20px;
|
278
|
|
-
|
279
|
|
- .user-info {
|
280
|
|
- width: 100%;
|
281
|
|
- height: 160px;
|
282
|
|
- padding: 10px;
|
283
|
|
- margin-bottom: 20px;
|
284
|
|
- background-color: #fff;
|
285
|
|
-
|
286
|
|
- .user-avatar {
|
287
|
|
- width: 120px;
|
288
|
|
- height: 120px;
|
289
|
|
- border-radius: 50%;
|
290
|
|
- }
|
291
|
|
-
|
292
|
|
- .userinfo-item {
|
293
|
|
- font-size: 18px;
|
294
|
|
- font-family: 'Times New Roman', '黑体', Times, serif, ;
|
295
|
|
- font-weight: bold;
|
296
|
|
- color: #6D6D6D;
|
297
|
|
- margin: 5px;
|
298
|
|
- }
|
|
202
|
+.header {
|
|
203
|
+ font-size: 20px;
|
|
204
|
+ line-height: 60px;
|
|
205
|
+}
|
299
|
206
|
|
300
|
|
- .userinfo-data {
|
301
|
|
- font-size: 14px;
|
302
|
|
- font-family: '微软雅黑';
|
303
|
|
- font-weight: bold;
|
304
|
|
- margin: 5px;
|
305
|
|
- }
|
306
|
|
- }
|
|
207
|
+.nav-wrapper {
|
|
208
|
+ display: flex;
|
|
209
|
+ flex-wrap: wrap;
|
|
210
|
+ gap: 15px;
|
307
|
211
|
|
308
|
|
- .meau {
|
309
|
|
- height: 150px;
|
310
|
|
- margin-bottom: 20px;
|
|
212
|
+ .nav-item {
|
|
213
|
+ background-color: #ffffff;
|
|
214
|
+ max-width: 240px;
|
|
215
|
+ flex-grow: 1;
|
|
216
|
+ height: 120px;
|
|
217
|
+ border-radius: 10px;
|
|
218
|
+ display: flex;
|
|
219
|
+ align-items: center;
|
|
220
|
+ padding: 0 30px;
|
|
221
|
+ margin-bottom: 10px;
|
311
|
222
|
|
312
|
|
- .meau-left {
|
313
|
|
- background-color: #fff;
|
314
|
|
- padding: 0px 20px 10px;
|
|
223
|
+ .nav-logo {
|
|
224
|
+ width: 55px;
|
|
225
|
+ height: 55px;
|
|
226
|
+ border-radius: 10px;
|
315
|
227
|
margin-right: 20px;
|
316
|
|
- }
|
317
|
|
-
|
318
|
|
- .meau-right {
|
319
|
|
- background-color: #fff;
|
320
|
|
- padding: 0px 20px 10px;
|
321
|
|
- margin-left: 20px;
|
322
|
|
-
|
323
|
|
- .db-item {
|
324
|
|
- text-align: center;
|
325
|
|
- background-color: #F5F5F5;
|
326
|
|
- padding: 10px 20px;
|
327
|
|
- margin: 0 5px;
|
328
|
|
- cursor: pointer;
|
329
|
|
-
|
330
|
|
- .db-text {}
|
|
228
|
+ text-align: center;
|
|
229
|
+ line-height: 55px;
|
331
|
230
|
|
332
|
|
- .db-number {
|
333
|
|
- font-weight: bold;
|
334
|
|
- color: #e67153;
|
335
|
|
- line-height: 30px;
|
336
|
|
- font-size: 19px;
|
337
|
|
- }
|
|
231
|
+ .icon {
|
|
232
|
+ font-size: 27px;
|
|
233
|
+ color: #ffffff;
|
338
|
234
|
}
|
339
|
235
|
}
|
340
|
236
|
|
341
|
|
- .item {
|
342
|
|
- color: #fff;
|
343
|
|
- margin: 0 10px;
|
344
|
|
- cursor: pointer;
|
345
|
|
- }
|
346
|
|
-
|
347
|
|
- .item-icon {
|
348
|
|
- width: 100%;
|
349
|
|
- height: 100%;
|
350
|
|
- text-align: center;
|
|
237
|
+ .nav-text {
|
|
238
|
+ font-size: 18px;
|
351
|
239
|
|
352
|
|
- i {
|
353
|
|
- display: inline-block;
|
354
|
|
- font-size: 40px;
|
355
|
|
- color: #fff;
|
356
|
|
- }
|
357
|
240
|
}
|
358
|
241
|
}
|
359
|
242
|
|
360
|
|
- .notice {
|
361
|
|
- padding: 0px 20px 10px;
|
362
|
|
- background-color: #fff;
|
|
243
|
+ .nav-item:hover {
|
|
244
|
+ cursor: pointer;
|
|
245
|
+ box-shadow: 0 0 15px rgba($color: #242d42, $alpha: 0.1);
|
363
|
246
|
}
|
364
|
247
|
}
|
365
|
248
|
|
366
|
|
-.right {
|
367
|
|
- padding: 0px 20px 10px;
|
368
|
|
- background-color: #fff;
|
369
|
|
- flex: 1;
|
370
|
|
-}
|
371
|
|
-
|
372
|
|
-.border {
|
373
|
|
- border: 1px solid #CDCDCD;
|
374
|
|
-}
|
|
249
|
+.user-wrapper {
|
|
250
|
+ background-color: #ffffff;
|
|
251
|
+ height: 267px;
|
|
252
|
+ border-radius: 10px;
|
375
|
253
|
|
376
|
|
-.titles {
|
377
|
|
- line-height: 55px;
|
378
|
|
- vertical-align: middle;
|
379
|
|
- font-weight: bold;
|
380
|
|
- position: relative;
|
381
|
|
- margin-bottom: 10px;
|
|
254
|
+ .avatar {
|
|
255
|
+ text-align: center;
|
|
256
|
+ padding: 10px 0;
|
382
|
257
|
|
383
|
|
- .title-line {
|
384
|
|
- position: absolute;
|
385
|
|
- top: 50%;
|
386
|
|
- left: 0;
|
387
|
|
- transform: translate(0%, -50%);
|
388
|
|
- width: 5px;
|
389
|
|
- height: 30px;
|
390
|
|
- background-color: #42b983;
|
|
258
|
+ .user-avatar {
|
|
259
|
+ width: 100px;
|
|
260
|
+ height: 100px;
|
|
261
|
+ border-radius: 50%;
|
|
262
|
+ }
|
391
|
263
|
}
|
392
|
264
|
|
393
|
|
- .title-text {
|
394
|
|
- display: inline-block;
|
395
|
|
- padding-left: 15px;
|
|
265
|
+ .username {
|
|
266
|
+ text-align: center;
|
|
267
|
+ font-size: 18px;
|
|
268
|
+ font-weight: bold;
|
|
269
|
+ font-family: '微软雅黑';
|
396
|
270
|
}
|
|
271
|
+}
|
397
|
272
|
|
398
|
|
- .title-more {
|
399
|
|
- position: absolute;
|
400
|
|
- top: 50%;
|
401
|
|
- right: 0;
|
402
|
|
- transform: translate(0%, -50%);
|
403
|
|
- color: #40A9FF;
|
404
|
|
- font-size: 14px;
|
405
|
|
- cursor: pointer;
|
406
|
|
- }
|
407
|
273
|
|
408
|
|
- .title-more:hover {
|
409
|
|
- color: #e4b82a;
|
410
|
|
- }
|
|
274
|
+.calendar {
|
|
275
|
+ height: 300px;
|
|
276
|
+}
|
|
277
|
+
|
|
278
|
+::v-deep .el-calendar-table .el-calendar-day {
|
|
279
|
+ height: 32px;
|
411
|
280
|
}
|
412
|
281
|
</style>
|