User.vue
1.41 KB
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
<script setup lang="ts">
import { GLButton, GLInput } from "@venus/common-ui-vue";
</script>
<template>
<div class="user-page">
<div class="search-section">
<GLInput placeholder="请输入用户名"
style="width: 200px; margin-right: 12px;" />
<GLButton type="primary">
查询
</GLButton>
</div>
<div class="action-section">
<GLButton type="primary">
编辑
</GLButton>
<GLButton type="danger">
删除
</GLButton>
<GLButton type="warning">
查询
</GLButton>
<GLButton type="success">
导出
</GLButton>
<GLButton type="info">
导入
</GLButton>
<GLButton type="primary">
刷新
</GLButton>
<GLButton type="danger">
打印
</GLButton>
<GLButton type="warning">
预览
</GLButton>
</div>
</div>
</template>
<style scoped>
.user-page {
padding: 24px;
}
.search-section {
display: flex;
align-items: center;
margin-bottom: 24px;
}
.action-section {
display: flex;
flex-wrap: wrap;
gap: 12px;
}
.user-page h1 {
margin-bottom: 16px;
font-size: 24px;
font-weight: 600;
color: #333;
}
</style>