User.vue 1.41 KB
<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>