fix: table header color
This commit is contained in:
parent
43b53c176a
commit
a980030276
5 changed files with 25 additions and 7 deletions
|
|
@ -291,7 +291,7 @@ watch([inputSearch, currentStatus], async () => {
|
||||||
:visible-columns="branchFieldSelected"
|
:visible-columns="branchFieldSelected"
|
||||||
>
|
>
|
||||||
<template #header>
|
<template #header>
|
||||||
<q-tr class="surface-3">
|
<q-tr style="background-color: hsla(var(--info-bg) / 0.07)">
|
||||||
<q-th
|
<q-th
|
||||||
v-for="(v, i) in fieldDisplay"
|
v-for="(v, i) in fieldDisplay"
|
||||||
:key="v"
|
:key="v"
|
||||||
|
|
|
||||||
|
|
@ -925,7 +925,10 @@ watch(currentHq, () => {
|
||||||
:visible-columns="fieldSelected"
|
:visible-columns="fieldSelected"
|
||||||
>
|
>
|
||||||
<template v-slot:header="props">
|
<template v-slot:header="props">
|
||||||
<q-tr class="surface-3" :props="props">
|
<q-tr
|
||||||
|
style="background-color: hsla(var(--info-bg) / 0.07)"
|
||||||
|
:props="props"
|
||||||
|
>
|
||||||
<q-th
|
<q-th
|
||||||
v-for="col in props.cols"
|
v-for="col in props.cols"
|
||||||
:key="col.name"
|
:key="col.name"
|
||||||
|
|
|
||||||
|
|
@ -1046,7 +1046,10 @@ watch(
|
||||||
:visible-columns="fieldSelected"
|
:visible-columns="fieldSelected"
|
||||||
>
|
>
|
||||||
<template v-slot:header="props">
|
<template v-slot:header="props">
|
||||||
<q-tr class="surface-2" :props="props">
|
<q-tr
|
||||||
|
style="background-color: hsla(var(--info-bg) / 0.07)"
|
||||||
|
:props="props"
|
||||||
|
>
|
||||||
<q-th v-for="col in props.cols" :key="col.name" :props="props">
|
<q-th v-for="col in props.cols" :key="col.name" :props="props">
|
||||||
{{ $t(col.label) }}
|
{{ $t(col.label) }}
|
||||||
</q-th>
|
</q-th>
|
||||||
|
|
|
||||||
|
|
@ -2025,7 +2025,10 @@ watch(isMainPage, () => {
|
||||||
:visible-columns="fieldSelected"
|
:visible-columns="fieldSelected"
|
||||||
>
|
>
|
||||||
<template v-slot:header="props">
|
<template v-slot:header="props">
|
||||||
<q-tr class="surface-2" :props="props">
|
<q-tr
|
||||||
|
style="background-color: hsla(var(--info-bg) / 0.07)"
|
||||||
|
:props="props"
|
||||||
|
>
|
||||||
<q-th
|
<q-th
|
||||||
v-for="col in props.cols"
|
v-for="col in props.cols"
|
||||||
:key="col.name"
|
:key="col.name"
|
||||||
|
|
@ -2482,7 +2485,10 @@ watch(isMainPage, () => {
|
||||||
:visible-columns="fieldSelected"
|
:visible-columns="fieldSelected"
|
||||||
>
|
>
|
||||||
<template v-slot:header="props">
|
<template v-slot:header="props">
|
||||||
<q-tr class="surface-2" :props="props">
|
<q-tr
|
||||||
|
style="background-color: hsla(var(--info-bg) / 0.07)"
|
||||||
|
:props="props"
|
||||||
|
>
|
||||||
<q-th
|
<q-th
|
||||||
v-for="col in props.cols"
|
v-for="col in props.cols"
|
||||||
:key="col.name"
|
:key="col.name"
|
||||||
|
|
|
||||||
|
|
@ -2057,7 +2057,10 @@ watch(
|
||||||
:visible-columns="tbControl.groupAndType.fieldSelected"
|
:visible-columns="tbControl.groupAndType.fieldSelected"
|
||||||
>
|
>
|
||||||
<template v-slot:header="props">
|
<template v-slot:header="props">
|
||||||
<q-tr class="surface-2" :props="props">
|
<q-tr
|
||||||
|
style="background-color: hsla(var(--info-bg) / 0.07)"
|
||||||
|
:props="props"
|
||||||
|
>
|
||||||
<q-th
|
<q-th
|
||||||
v-for="col in props.cols"
|
v-for="col in props.cols"
|
||||||
:key="col.name"
|
:key="col.name"
|
||||||
|
|
@ -2812,7 +2815,10 @@ watch(
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<template v-slot:header="props">
|
<template v-slot:header="props">
|
||||||
<q-tr class="surface-2" :props="props">
|
<q-tr
|
||||||
|
style="background-color: hsla(var(--info-bg) / 0.07)"
|
||||||
|
:props="props"
|
||||||
|
>
|
||||||
<q-th
|
<q-th
|
||||||
v-for="col in props.cols"
|
v-for="col in props.cols"
|
||||||
:key="col.name"
|
:key="col.name"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue