1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
| <template>
| <div class="menus">
| <div><the-a-change :data="changeData" default-value="custom"></the-a-change></div>
| <div><a-time-picker type="time-range" style="width: 250px" /></div>
| <div>
| <the-a-select :data="['正序', '倒序']" placeholder="请选择" title="排序"></the-a-select>
| </div>
| <div>
| <the-a-select :data="['1号楼', '2号楼']" placeholder="请选择" title="出现地点"></the-a-select>
| </div>
| <div>
| <a-button type="primary">
| <template #icon>
| <icon-search />
| </template>
| <template #default>搜索</template>
| </a-button>
| </div>
| <div>
| <a-button>
| <template #icon>
| <icon-refresh />
| </template>
| <template #default>重置</template>
| </a-button>
| </div>
| <div class="buttons">
| <div>
| <icon-list size="20" />
| </div>
| <div class="button active">
| <icon-apps size="20" />
| </div>
| </div>
| </div>
| <div class="cards">
| <a-card v-for="(item, key) in list" :key="key" class="card-box card-bg-custom">
| <the-img-card :title="item.title" :icon="item.icon" :contents="item.contents"></the-img-card>
| <div class="card-box-right">
| <div>
| <a-space>
| <a-button type="primary" size="mini">{{ item.tags[0] }}</a-button>
| <a-button type="primary" status="danger" size="mini">{{ item.tags[1] }}</a-button>
| </a-space>
| </div>
| <div>
| <a-space>
| <icon-book />
| <icon-bar-chart />
| </a-space>
| </div>
| </div>
| </a-card>
| </div>
| </template>
|
| <script lang="ts" setup name="member-track">
| const changeData = reactive([
| {
| name: "1天",
| value: "1"
| },
| {
| name: "2天",
| value: "2"
| },
| {
| name: "自定义",
| value: "custom"
| }
| ]);
| const list = reactive(
| new Array(5).fill({
| icon: "https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/a8c8cdb109cb051163646151a4a5083b.png~tplv-uwbnlip3yd-webp.webp",
| title: "张三",
| tags: ["上访", "涉毒"],
| contents: [
| {
| key: "人员编号",
| value: "H324343"
| },
| {
| key: "出现天数",
| value: "2天"
| },
| {
| key: "居住地址",
| value: "经济快速等级考试"
| },
| {
| key: "身份证号",
| value: "3673672627722"
| }
| ]
| })
| );
| </script>
|
| <style lang="scss" scoped>
| .cards {
| overflow: hidden;
| > div {
| float: left;
| margin: 0 20px 20px 0;
| }
| }
| .card-box {
| width: 391px;
| height: 202px;
| border-radius: 5px;
| }
| .card-box-right {
| margin-top: 10px;
| display: flex;
| justify-content: space-between;
| }
| .menus {
| display: flex;
| padding: 0 5px 20px 20px;
| > div {
| margin-right: 10px;
| &.buttons {
| display: flex;
| background: var(--color-fill-2);
| > div {
| width: 34px;
| height: 34px;
| cursor: pointer;
| display: flex;
| align-items: center;
| justify-content: center;
| &.active {
| background: #1057fd;
| color: #fff;
| }
| }
| }
| }
| }
| </style>
|
|