chore: 重命名表格样式(同步 GiDemo 更新)

This commit is contained in:
2025-01-13 22:42:24 +08:00
parent 28ac501f4a
commit df732455d0
15 changed files with 18 additions and 20 deletions

View File

@@ -192,13 +192,12 @@
} }
// 表格页面 // 表格页面
.table-page { .gi_table_page {
height: 100%; flex: 1;
overflow: hidden; overflow: hidden;
margin: $margin; margin: $margin;
background: var(--color-bg-1); background: var(--color-bg-1);
padding: $padding; padding: $padding;
padding-bottom: 0;
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="table-page"> <div class="gi_table_page">
<GiTable <GiTable
v-model:selectedKeys="selectedKeys" v-model:selectedKeys="selectedKeys"
title="" title=""
@@ -153,11 +153,10 @@ const onDownload = async (tableNames: Array<string>) => {
// 生成 // 生成
const onGenerate = async (tableNames: Array<string>) => { const onGenerate = async (tableNames: Array<string>) => {
const res = await generateCode(tableNames) const res = await generateCode(tableNames)
if(res.code === 0){ if (res.code === 0) {
Message.success('代码生成成功') Message.success('代码生成成功')
} }
} }
</script> </script>
<style scoped lang="scss"></style> <style scoped lang="scss"></style>

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="table-page"> <div class="gi_table_page">
<!-- <a-row justify="space-between" align="center" class="header"> <!-- <a-row justify="space-between" align="center" class="header">
<a-space wrap> <a-space wrap>
<div class="title">系统日志</div> <div class="title">系统日志</div>

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="table-page"> <div class="gi_table_page">
<GiTable <GiTable
title="" title=""
row-key="id" row-key="id"

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="table-page"> <div class="gi_table_page">
<GiTable <GiTable
title="" title=""
row-key="id" row-key="id"

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="table-page"> <div class="gi_table_page">
<GiTable <GiTable
title="" title=""
row-key="id" row-key="id"

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="table-page"> <div class="gi_table_page">
<GiTable <GiTable
title="" title=""
row-key="id" row-key="id"

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="table-page"> <div class="gi_table_page">
<GiTable <GiTable
row-key="id" row-key="id"
title="消息中心" title="消息中心"

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="table-page"> <div class="gi_table_page">
<GiTable <GiTable
title="" title=""
row-key="id" row-key="id"

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="table-page"> <div class="gi_table_page">
<!-- <a-row justify="space-between" align="center" class="header page_header"> <!-- <a-row justify="space-between" align="center" class="header page_header">
<a-space wrap> <a-space wrap>
<div class="title">系统配置</div> <div class="title">系统配置</div>
@@ -60,7 +60,7 @@ const change = (key: string | number) => {
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.table-page { .gi_table_page {
overflow-y: auto; overflow-y: auto;
} }
:deep(.arco-tabs .arco-tabs-nav-type-card-gutter .arco-tabs-tab-active) { :deep(.arco-tabs .arco-tabs-nav-type-card-gutter .arco-tabs-tab-active) {

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="table-page"> <div class="gi_table_page">
<div class="header-actions"> <div class="header-actions">
<a-radio-group v-model="viewType" type="button" size="small" style="margin-bottom: 16px;"> <a-radio-group v-model="viewType" type="button" size="small" style="margin-bottom: 16px;">
<a-radio value="table">表格视图</a-radio> <a-radio value="table">表格视图</a-radio>

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="table-page"> <div class="gi_table_page">
<GiTable <GiTable
ref="tableRef" ref="tableRef"
title="" title=""

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="table-page"> <div class="gi_table_page">
<GiTable <GiTable
row-key="id" row-key="id"
title="" title=""

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="table-page"> <div class="gi_table_page">
<GiTable <GiTable
title="" title=""
row-key="id" row-key="id"

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="table-page"> <div class="gi_table_page">
<GiTable <GiTable
title="" title=""
row-key="id" row-key="id"