Small changes
gitea/hedera-web/pipeline/pr-4922-vueMigration This commit looks good
Details
gitea/hedera-web/pipeline/pr-4922-vueMigration This commit looks good
Details
This commit is contained in:
parent
e39cab82f6
commit
8664f40e06
|
@ -93,7 +93,7 @@ const { t } = useI18n();
|
||||||
storage="catalog"
|
storage="catalog"
|
||||||
size="200x200"
|
size="200x200"
|
||||||
:id="item.image"
|
:id="item.image"
|
||||||
rounded="bottom"
|
rounded-borders="full"
|
||||||
class="full-height full-width"
|
class="full-height full-width"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -106,15 +106,14 @@ const { t } = useI18n();
|
||||||
<span>{{ item.subName }}</span>
|
<span>{{ item.subName }}</span>
|
||||||
<span>#{{ item.id }}</span>
|
<span>#{{ item.id }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div class="full-width row">
|
||||||
|
<span
|
||||||
v-for="(tag, index) in item.previewTags"
|
v-for="(tag, index) in item.previewTags"
|
||||||
:key="index"
|
:key="index"
|
||||||
class="full-width row"
|
class="text-grey-7 text-caption q-mr-sm"
|
||||||
>
|
>
|
||||||
<span class="text-grey-7 col">
|
{{ tag.value }}
|
||||||
{{ tag.name }}
|
|
||||||
</span>
|
</span>
|
||||||
<span class="col ellipsis">{{ tag.value }}</span>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="row justify-end items-center q-gutter-x-xs q-mt-sm">
|
<div class="row justify-end items-center q-gutter-x-xs q-mt-sm">
|
||||||
<QBadge
|
<QBadge
|
||||||
|
|
|
@ -72,10 +72,10 @@
|
||||||
v-for="cat in categories"
|
v-for="cat in categories"
|
||||||
:class="{ active: category == cat.id }"
|
:class="{ active: category == cat.id }"
|
||||||
:key="cat.id"
|
:key="cat.id"
|
||||||
:title="cat.name"
|
|
||||||
@click="selectedCategory = cat.id"
|
@click="selectedCategory = cat.id"
|
||||||
>
|
>
|
||||||
<img :src="`statics/category/${cat.code}.svg`" />
|
<img :src="`statics/category/${cat.code}.svg`" />
|
||||||
|
<QTooltip>{{ cat.name }}</QTooltip>
|
||||||
</QBtn>
|
</QBtn>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -141,7 +141,6 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</QDrawer>
|
</QDrawer>
|
||||||
<QInfiniteScroll>
|
|
||||||
<div
|
<div
|
||||||
:class="
|
:class="
|
||||||
viewMode === 'grid'
|
viewMode === 'grid'
|
||||||
|
@ -171,7 +170,6 @@
|
||||||
@click="showItem(_item)"
|
@click="showItem(_item)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</QInfiniteScroll>
|
|
||||||
<QDialog v-model="showItemDialog">
|
<QDialog v-model="showItemDialog">
|
||||||
<QCard style="width: 25em" class="column">
|
<QCard style="width: 25em" class="column">
|
||||||
<div class="q-pa-md" style="display: flex">
|
<div class="q-pa-md" style="display: flex">
|
||||||
|
@ -899,6 +897,7 @@ onBeforeMount(async () => {
|
||||||
if (!isGuest.value) {
|
if (!isGuest.value) {
|
||||||
await appStore.check('catalog');
|
await appStore.check('catalog');
|
||||||
} else {
|
} else {
|
||||||
|
// TODO: Implement this logic when isGuest is implemented
|
||||||
// const resultSet = await jApi.execQuery(
|
// const resultSet = await jApi.execQuery(
|
||||||
// 'CALL myOrder_configureForGuest(@orderId); SELECT @orderId;'
|
// 'CALL myOrder_configureForGuest(@orderId); SELECT @orderId;'
|
||||||
// );
|
// );
|
||||||
|
|
Loading…
Reference in New Issue