wip(freight): migration 0017 + model/column-list groundwork for add-freight-templates
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user