Fix color, sort order
This commit is contained in:
@@ -384,7 +384,7 @@ watch(ccodes, (codes) => {
|
||||
<span class="font-extrabold font-mono">Results <b v-if="itemCode">for {{ itemCode }}</b> </span>
|
||||
</div>
|
||||
<div>
|
||||
<EasyTable id="results" :rows-per-page=25 :headers="hproducts" :items="tproducts" :body-row-class-name="bodyRowClassNameFunction" alternating>
|
||||
<EasyTable id="results" table-class-name="results" sortBy="countryName" :rows-per-page=25 :headers="hproducts" :items="tproducts" :body-row-class-name="bodyRowClassNameFunction" alternating>
|
||||
<template #item-countryName="{ countryName, url }">
|
||||
<a class="underline" target="_blank" :href="url">{{ countryName }}</a>
|
||||
</template>
|
||||
@@ -397,7 +397,7 @@ watch(ccodes, (codes) => {
|
||||
<span class="font-extrabold font-mono">Countries in which compare</span>
|
||||
</div>
|
||||
<div>
|
||||
<multiselect :close-on-select="false" :multiple="true" v-model="form.countries" :options="ccountry_list"
|
||||
<multiselect placeholder="All" :close-on-select="false" :multiple="true" v-model="form.countries" :options="ccountry_list"
|
||||
@select="selectCountry" @remove="selectCountry">
|
||||
</multiselect>
|
||||
</div>
|
||||
@@ -405,7 +405,7 @@ watch(ccodes, (codes) => {
|
||||
<span class="font-extrabold font-mono">Country in which search product</span>
|
||||
</div>
|
||||
<div>
|
||||
<multiselect :close-on-select="true" :multiple="false" v-model="form.country" :options="ccodes"
|
||||
<multiselect placeholder="All" :close-on-select="true" :multiple="false" v-model="form.country" :options="ccodes"
|
||||
label="country" track-by="code">
|
||||
</multiselect>
|
||||
</div>
|
||||
@@ -507,12 +507,9 @@ watch(ccodes, (codes) => {
|
||||
width: 128px;
|
||||
}
|
||||
|
||||
.result-country {
|
||||
--easy-table-body-row-background-color: yellow !important;
|
||||
}
|
||||
|
||||
.even-row .result-country {
|
||||
--easy-table-body-row-background-color: yellow !important;
|
||||
:root .result-country {
|
||||
--easy-table-body-row-background-color: yellow;
|
||||
--easy-table-body-even-row-background-color: yellow;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
.gradient {
|
||||
background: linear-gradient(90deg, #d53369 0%, #daae51 100%);
|
||||
}
|
||||
|
||||
</style>
|
||||
@routes
|
||||
@vite('resources/js/app.js')
|
||||
|
||||
Reference in New Issue
Block a user