第一列居中显示

This commit is contained in:
lq
2025-09-25 16:20:52 +08:00
parent 435674babc
commit 80e734136e

View File

@ -33,7 +33,7 @@
> >
<!-- 空数据显示 --> <!-- 空数据显示 -->
<template #empty> <template #empty>
<div class="flex flex-col items-center justify-center" style="min-height: 400px;"> <div class="flex flex-col items-center justify-center" style="min-height: 400px">
<img :src="emptyIcon" class="img mt-20px" alt="暂无数据" width="106" height="72" /> <img :src="emptyIcon" class="img mt-20px" alt="暂无数据" width="106" height="72" />
<div class="text mt-36px">暂无数据</div> <div class="text mt-36px">暂无数据</div>
<div class="mt-12px mb-12px">可通过账号管理添加账号进行任务排期管理</div> <div class="mt-12px mb-12px">可通过账号管理添加账号进行任务排期管理</div>
@ -43,10 +43,10 @@
<!-- 账号与平台列 --> <!-- 账号与平台列 -->
<template #name="{ record }"> <template #name="{ record }">
<div class="flex items-center"> <div class="flex items-center justify-start">
<img <img
:src="getPlatformIcon(record.platform)" :src="getPlatformIcon(record.platform)"
style="border-radius: 8px; width: 16px; height: 16px; margin-right: 8px" style="border-radius: 8px; width: 16px; height: 16px; margin-right: 8px; margin-left: 20px"
:alt="getPlatformName(record.platform)" :alt="getPlatformName(record.platform)"
/> />
{{ record.name || '-' }} {{ record.name || '-' }}
@ -644,6 +644,15 @@ onMounted(() => {
min-height: 42px; min-height: 42px;
} }
:deep(td .arco-table-cell:first-child) {
align-items: center;
justify-content: center;
}
:deep(td.today-column) .arco-table-cell-wrap {
color: white !important;
}
/* 抽屉左侧圆角样式 */ /* 抽屉左侧圆角样式 */
:deep(.rounded-left .ant-drawer-content) { :deep(.rounded-left .ant-drawer-content) {
border-top-left-radius: 8px !important; border-top-left-radius: 8px !important;