|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+<template>
|
|
|
2
|
+ <Page>
|
|
|
3
|
+ <div class="content">
|
|
|
4
|
+ <div class="content-search">
|
|
|
5
|
+ <SearchBar v-model:visible="visible" @search="searchHandler"/>
|
|
|
6
|
+ </div>
|
|
|
7
|
+ <div class="content-info">
|
|
|
8
|
+ <Card title="个人基本信息"> </Card>
|
|
|
9
|
+ </div>
|
|
|
10
|
+ <div class="content-bottom">
|
|
|
11
|
+ <div class="content-bottom-left">
|
|
|
12
|
+ <Card title="个人基本信息">
|
|
|
13
|
+ <div class="work-history">2020.1.1入职,司龄6年、开机年限5年,现任职班组长。</div>
|
|
|
14
|
+ </Card>
|
|
|
15
|
+ <Card title="个人基本信息"> </Card>
|
|
|
16
|
+ </div>
|
|
|
17
|
+ <div class="content-bottom-center">
|
|
|
18
|
+ <Card title="个人基本信息"></Card>
|
|
|
19
|
+ </div>
|
|
|
20
|
+ <div class="content-bottom-right">
|
|
|
21
|
+ <Card title="个人基本信息"></Card>
|
|
|
22
|
+ </div>
|
|
|
23
|
+ </div>
|
|
|
24
|
+ </div>
|
|
|
25
|
+ </Page>
|
|
|
26
|
+</template>
|
|
|
27
|
+
|
|
|
28
|
+<script setup>
|
|
|
29
|
+import Page from '../components/page.vue'
|
|
|
30
|
+import Card from '../components/card.vue'
|
|
|
31
|
+import SearchBar from '../components/SearchBar.vue'
|
|
|
32
|
+import { ref } from 'vue'
|
|
|
33
|
+const visible = ref(false)
|
|
|
34
|
+const searchHandler = () => {
|
|
|
35
|
+
|
|
|
36
|
+}
|
|
|
37
|
+</script>
|
|
|
38
|
+
|
|
|
39
|
+<style lang="scss" scoped>
|
|
|
40
|
+
|
|
|
41
|
+.content {
|
|
|
42
|
+ height: 100%;
|
|
|
43
|
+ display: flex;
|
|
|
44
|
+ flex-direction: column;
|
|
|
45
|
+ row-gap: 15px;
|
|
|
46
|
+ padding: 15px;
|
|
|
47
|
+ .content-search {}
|
|
|
48
|
+ .content-info {
|
|
|
49
|
+ height: 230px;
|
|
|
50
|
+ & > * {
|
|
|
51
|
+ height: 100%;
|
|
|
52
|
+ }
|
|
|
53
|
+ }
|
|
|
54
|
+ .content-bottom {
|
|
|
55
|
+ flex: 1;
|
|
|
56
|
+ display: flex;
|
|
|
57
|
+ column-gap: 15px;
|
|
|
58
|
+ .content-bottom-left {
|
|
|
59
|
+ width: 380px;
|
|
|
60
|
+ display: flex;
|
|
|
61
|
+ flex-direction: column;
|
|
|
62
|
+ row-gap: 15px;
|
|
|
63
|
+ & > *:nth-child(1) {
|
|
|
64
|
+ flex: 1;
|
|
|
65
|
+ .work-history {
|
|
|
66
|
+ padding: 15px;
|
|
|
67
|
+ }
|
|
|
68
|
+ }
|
|
|
69
|
+ & > *:nth-child(2) {
|
|
|
70
|
+ flex: 1.6;
|
|
|
71
|
+ }
|
|
|
72
|
+ }
|
|
|
73
|
+ .content-bottom-center {
|
|
|
74
|
+ flex: 1;
|
|
|
75
|
+ & > * {
|
|
|
76
|
+ height: 100%;
|
|
|
77
|
+ }
|
|
|
78
|
+ }
|
|
|
79
|
+ .content-bottom-right {
|
|
|
80
|
+ width: 380px;
|
|
|
81
|
+ & > * {
|
|
|
82
|
+ height: 100%;
|
|
|
83
|
+ }
|
|
|
84
|
+ }
|
|
|
85
|
+ }
|
|
|
86
|
+}
|
|
|
87
|
+</style>
|