mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 11:09:20 +08:00
fix: 统一各概览表名称列样式为胶囊标签
平台、店铺、品类、商品、规格名称列使用圆角胶囊样式 (rounded-full bg-blue-50 px-3 py-1) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
+3
-3
@@ -131,7 +131,7 @@ const cellRoi = (v: number | null | undefined) =>
|
||||
rowspan="2"
|
||||
class="sticky-col border-b p-6 text-base font-black text-slate-900 dark:text-[hsl(0deg_0%_95%)] border-r-2 border-slate-100 dark:border-[hsl(240deg_3.7%_22%)] bg-white dark:bg-[hsl(222.34deg_10.43%_12.27%)] shadow-sm dark:shadow-none"
|
||||
>
|
||||
品类名称
|
||||
品类
|
||||
</th>
|
||||
<th
|
||||
colspan="3"
|
||||
@@ -186,7 +186,7 @@ const cellRoi = (v: number | null | undefined) =>
|
||||
<OverviewColumnHint :title="storeOverviewHints.brushFee">刷单费用</OverviewColumnHint>
|
||||
</th>
|
||||
<th class="border-b px-6 py-4 text-slate-400 dark:text-[hsl(240deg_5%_64.9%)]">
|
||||
<OverviewColumnHint :title="storeOverviewHints.feeRatioCategoryRow">费比 %</OverviewColumnHint>
|
||||
<OverviewColumnHint :title="storeOverviewHints.feeRatioCategoryRow">费比%</OverviewColumnHint>
|
||||
</th>
|
||||
<th class="border-b border-l px-6 py-4 font-bold">
|
||||
<OverviewColumnHint :title="storeOverviewHints.totalProfitBeforeTax">
|
||||
@@ -236,7 +236,7 @@ const cellRoi = (v: number | null | undefined) =>
|
||||
/>
|
||||
</td>
|
||||
<td class="sticky-col border-r-2 border-slate-100 dark:border-[hsl(240deg_3.7%_22%)] bg-white dark:bg-[hsl(222.34deg_10.43%_12.27%)] p-6 font-bold shadow-sm dark:shadow-none">
|
||||
<span class="text-blue-600 dark:text-blue-400 transition-colors hover:text-blue-300 hover:underline">
|
||||
<span class="inline-block rounded-full bg-blue-50 dark:bg-blue-900/30 px-3 py-1 text-sm font-bold text-blue-600 dark:text-blue-400 transition-colors hover:text-blue-300 hover:underline">
|
||||
{{ cat.categoryName }}
|
||||
</span>
|
||||
</td>
|
||||
|
||||
+2
-2
@@ -187,7 +187,7 @@ const sortedData = computed(() => {
|
||||
rowspan="2"
|
||||
class="sticky-col border-b border-r-2 border-slate-100 dark:border-b-[hsl(240deg_3.7%_22%)] dark:border-r-[hsl(240deg_3.7%_22%)] bg-white dark:bg-[hsl(222.34deg_10.43%_12.27%)] p-6 text-base font-black text-slate-900 dark:text-[hsl(0deg_0%_95%)] shadow-sm dark:shadow-none"
|
||||
>
|
||||
平台名称
|
||||
平台
|
||||
</th>
|
||||
<!-- 目标达成 -->
|
||||
<th
|
||||
@@ -325,7 +325,7 @@ const sortedData = computed(() => {
|
||||
<td
|
||||
class="sticky-col border-r-2 border-slate-100 dark:border-r-[hsl(240deg_3.7%_22%)] bg-white dark:bg-[hsl(222.34deg_10.43%_12.27%)] p-6 font-bold shadow-sm dark:shadow-none"
|
||||
>
|
||||
<span class="rounded-full bg-blue-50 dark:bg-blue-900/30 px-3 py-1 text-sm font-bold text-blue-600 dark:text-blue-400">
|
||||
<span class="inline-block rounded-full bg-blue-50 dark:bg-blue-900/30 px-3 py-1 text-sm font-bold text-blue-600 dark:text-blue-400">
|
||||
{{ p.platformName }}
|
||||
</span>
|
||||
</td>
|
||||
|
||||
+3
-3
@@ -140,7 +140,7 @@ const cellRoi = (v: number | null | undefined) =>
|
||||
: 'border-r-2 border-slate-100 dark:border-[hsl(240deg_3.7%_22%)] bg-white dark:bg-[hsl(222.34deg_10.43%_12.27%)]'
|
||||
"
|
||||
>
|
||||
店铺名称
|
||||
店铺
|
||||
</th>
|
||||
<th
|
||||
colspan="4"
|
||||
@@ -222,7 +222,7 @@ const cellRoi = (v: number | null | undefined) =>
|
||||
<OverviewColumnHint :title="storeOverviewHints.brushFee">刷单费用</OverviewColumnHint>
|
||||
</th>
|
||||
<th class="border-b px-6 py-4 text-slate-400 dark:text-[hsl(240deg_5%_64.9%)]">
|
||||
<OverviewColumnHint :title="storeOverviewHints.feeRatioShopRow">费比 %</OverviewColumnHint>
|
||||
<OverviewColumnHint :title="storeOverviewHints.feeRatioShopRow">费比%</OverviewColumnHint>
|
||||
</th>
|
||||
<!-- 盈利 -->
|
||||
<th class="border-b border-l border-slate-200 dark:border-[hsl(240deg_3.7%_22%)] px-6 py-4 font-bold">
|
||||
@@ -275,7 +275,7 @@ const cellRoi = (v: number | null | undefined) =>
|
||||
:class="shopExportMode ? 'border-l-0' : ''"
|
||||
>
|
||||
<span
|
||||
class="cursor-pointer text-blue-600 dark:text-blue-400 transition-colors hover:text-blue-300 hover:underline"
|
||||
class="inline-block cursor-pointer rounded-full bg-blue-50 dark:bg-blue-900/30 px-3 py-1 text-sm font-bold text-blue-600 dark:text-blue-400 transition-colors hover:text-blue-300 hover:underline"
|
||||
@click="emit('navigate', shop.shopId)"
|
||||
>
|
||||
{{ shop.shopName }}
|
||||
|
||||
Reference in New Issue
Block a user