chore: update table default style
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
{search}
|
{search}
|
||||||
</template>
|
</template>
|
||||||
</Search>
|
</Search>
|
||||||
<div class="pl-2 pr-2 bg-white dark:bg-regal-dark rounded-lg mt-4 pb-10">
|
<div class="table-default">
|
||||||
<Operate :show="open" />
|
<Operate :show="open" />
|
||||||
<el-table :data="tableData" class="mt-3" v-loading="loading"{tree}>
|
<el-table :data="tableData" class="mt-3" v-loading="loading"{tree}>
|
||||||
{table}
|
{table}
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
</Search>
|
</Search>
|
||||||
<div class="pl-2 pr-2 bg-white dark:bg-regal-dark rounded-lg mt-4 pb-6">
|
<div class="table-default">
|
||||||
<Operate :show="open">
|
<Operate :show="open">
|
||||||
<template v-slot:operate>
|
<template v-slot:operate>
|
||||||
<!-- header 插槽的内容放这里 -->
|
<!-- header 插槽的内容放这里 -->
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
</Search>
|
</Search>
|
||||||
<div class="pl-2 pr-2 bg-white dark:bg-regal-dark rounded-lg mt-4 pb-6">
|
<div class="table-default">
|
||||||
<Operate :show="open" />
|
<Operate :show="open" />
|
||||||
<el-table :data="tableData" class="mt-3" v-loading="loading">
|
<el-table :data="tableData" class="mt-3" v-loading="loading">
|
||||||
<el-table-column prop="module" label="所属模块" />
|
<el-table-column prop="module" label="所属模块" />
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
</Search>
|
</Search>
|
||||||
<div class="pl-2 pr-2 bg-white dark:bg-regal-dark rounded-lg mt-4 pb-6">
|
<div class="table-default">
|
||||||
<Operate :show="open" />
|
<Operate :show="open" />
|
||||||
<el-table :data="tableData" class="mt-3" v-loading="loading" row-key="id" default-expand-all :tree-props="{ children: 'children' }">
|
<el-table :data="tableData" class="mt-3" v-loading="loading" row-key="id" default-expand-all :tree-props="{ children: 'children' }">
|
||||||
<el-table-column prop="department_name" label="部门名称" />
|
<el-table-column prop="department_name" label="部门名称" />
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
</Search>
|
</Search>
|
||||||
<div class="pl-2 pr-2 bg-white dark:bg-regal-dark rounded-lg mt-4 pb-6">
|
<div class="table-default">
|
||||||
<Operate :show="open" />
|
<Operate :show="open" />
|
||||||
<el-table :data="tableData" class="mt-3" v-loading="loading">
|
<el-table :data="tableData" class="mt-3" v-loading="loading">
|
||||||
<el-table-column prop="job_name" label="岗位名称" />
|
<el-table-column prop="job_name" label="岗位名称" />
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
</Search>
|
</Search>
|
||||||
<div class="pl-2 pr-2 bg-white dark:bg-regal-dark rounded-lg mt-4 pb-6">
|
<div class="table-default">
|
||||||
<div class="pt-5 pl-2">
|
<div class="pt-5 pl-2">
|
||||||
<Add @click="openRoleForm(null, [])" />
|
<Add @click="openRoleForm(null, [])" />
|
||||||
</div>
|
</div>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="pl-2 pr-2 bg-white dark:bg-regal-dark rounded-lg mt-4 pb-6">
|
<div class="table-default">
|
||||||
<el-table :data="tableData" class="mt-3" v-loading="loading">
|
<el-table :data="tableData" class="mt-3" v-loading="loading">
|
||||||
<el-table-column prop="account" label="账户" />
|
<el-table-column prop="account" label="账户" />
|
||||||
<el-table-column prop="browser" label="浏览器" />
|
<el-table-column prop="browser" label="浏览器" />
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="pl-2 pr-2 bg-white dark:bg-regal-dark rounded-lg mt-2 pb-6">
|
<div class="table-default">
|
||||||
<div class="w-full flex justify-end">
|
<div class="w-full flex justify-end">
|
||||||
<el-radio-group v-model="query.scope" size="small" @change="search">
|
<el-radio-group v-model="query.scope" size="small" @change="search">
|
||||||
<el-radio-button label="self">只看自己</el-radio-button>
|
<el-radio-button label="self">只看自己</el-radio-button>
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
</Search>
|
</Search>
|
||||||
<div class="pl-2 pr-2 bg-white dark:bg-regal-dark rounded-lg mt-4 pb-6">
|
<div class="table-default">
|
||||||
<Operate :show="open" />
|
<Operate :show="open" />
|
||||||
<el-table :data="tableData" class="mt-3" v-loading="loading">
|
<el-table :data="tableData" class="mt-3" v-loading="loading">
|
||||||
<el-table-column prop="username" label="用户名" width="150" />
|
<el-table-column prop="username" label="用户名" width="150" />
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
<!-- Tag view -->
|
<!-- Tag view -->
|
||||||
<!--<div class=""></div>-->
|
<!--<div class=""></div>-->
|
||||||
<!-- Container -->
|
<!-- Container -->
|
||||||
<div class="p-1 sm:p-4 max-w-full h-screen overflow-auto sm:overflow-x-hidden">
|
<div class="p-1 sm:p-2 max-w-full h-screen overflow-auto sm:overflow-x-hidden">
|
||||||
<router-view />
|
<router-view />
|
||||||
|
|
||||||
<!--<div class="w-full text-center text-gray-400 h-10 leading-10 mt-2">CatchAdmin 管理系统 @copyright 2018 ~ {{ year }}</div>-->
|
<!--<div class="w-full text-center text-gray-400 h-10 leading-10 mt-2">CatchAdmin 管理系统 @copyright 2018 ~ {{ year }}</div>-->
|
||||||
|
@@ -9,14 +9,18 @@
|
|||||||
@apply layout-sider w-64
|
@apply layout-sider w-64
|
||||||
}
|
}
|
||||||
|
|
||||||
.layout-sider-hidden {
|
.layout-sider-hidden {
|
||||||
@apply layout-sider w-0 lg:w-20
|
@apply layout-sider w-0 lg:w-20
|
||||||
}
|
}
|
||||||
|
|
||||||
.layout-sider-mask {
|
.layout-sider-mask {
|
||||||
@apply block lg:hidden z-40 w-full h-full absolute
|
@apply block lg:hidden z-40 w-full h-full absolute
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.table-default {
|
||||||
|
@apply pl-2 pr-2 bg-white dark:bg-regal-dark rounded-lg mt-2 pb-6
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
Reference in New Issue
Block a user