wip(freight): migration 0017 + model/column-list groundwork for add-freight-templates

This commit is contained in:
Chengdong Zhang
2026-09-23 17:39:45 +08:00
parent a83e857bdf
commit 5b426486ac
105 changed files with 6193 additions and 1566 deletions
+5 -4
View File
@@ -3,17 +3,18 @@ defineProps<{ steps: string[]; active: number }>();
</script>
<template>
<ol class="mb-5 flex list-none border border-border bg-bg py-3.5">
<ol class="border-border bg-bg mb-5 flex list-none border py-3.5">
<li
v-for="(s, i) in steps"
:key="s"
class="flex-1 text-center text-[13px] text-muted/70"
:class="i === active ? 'font-semibold text-primary' : ''"
class="text-muted/70 flex-1 text-center text-[13px]"
:class="i === active ? 'text-primary font-semibold' : ''"
>
<span
class="mr-2 inline-block h-[22px] w-[22px] rounded-full text-center text-[12px] leading-[22px] text-white"
:class="i < active ? 'bg-success' : i === active ? 'bg-primary' : 'bg-[#ddd]'"
>{{ i + 1 }}</span>
>{{ i + 1 }}</span
>
<span>{{ s }}</span>
</li>
</ol>