mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 05:09:19 +08:00
fix: 修复导入文件编码检测及上传区域样式
This commit is contained in:
@@ -39,11 +39,16 @@ const EMPTY_WORKBENCH: WorkbenchVO.Info = {
|
||||
const router = useRouter();
|
||||
|
||||
const ImportOrderIcon = createIconifyIcon('lucide:upload');
|
||||
const PromotionFeeIcon = createIconifyIcon('lucide:dollar-sign');
|
||||
|
||||
function goToImportOrder() {
|
||||
void router.push('/import/order');
|
||||
}
|
||||
|
||||
function goToImportPromotionFee() {
|
||||
void router.push('/data/import/promotion-fee');
|
||||
}
|
||||
|
||||
/** 与全店概览一致:快捷区间 + 自定义 RangePicker */
|
||||
const dateRange = ref<[dayjs.Dayjs, dayjs.Dayjs]>([
|
||||
dayjs().startOf('month'),
|
||||
@@ -353,6 +358,15 @@ onUnmounted(() => {
|
||||
<ImportOrderIcon class="mr-1.5 h-4 w-4 shrink-0" />
|
||||
导入订单
|
||||
</Button>
|
||||
<Button
|
||||
type="default"
|
||||
size="small"
|
||||
class="!inline-flex !h-9 shrink-0 !items-center !rounded-xl !border-slate-200 !px-4 !text-sm !font-bold !shadow-sm dark:!border-[hsl(240deg_3.7%_22%)]"
|
||||
@click="goToImportPromotionFee"
|
||||
>
|
||||
<PromotionFeeIcon class="mr-1.5 h-4 w-4 shrink-0" />
|
||||
导入推广费
|
||||
</Button>
|
||||
<div
|
||||
class="flex min-h-[44px] w-full items-center gap-2 rounded-2xl border border-slate-200 bg-slate-200/50 px-3 sm:w-auto dark:border-[hsl(240deg_3.7%_22%)] dark:bg-[hsl(240deg_3.7%_15.9%/30%)]"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user