This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-08-05 15:35:14 +07:00
parent 016132096e
commit 0a8d0c5471
5 changed files with 13 additions and 25 deletions

View file

@ -355,7 +355,11 @@ onMounted(async () => {
v-if="isLoadingInbox" v-if="isLoadingInbox"
style="height: calc(100% - 60px)" style="height: calc(100% - 60px)"
> >
<q-skeleton height="100%" square /> <div v-for="(item, index) in 3">
<q-skeleton type="text" width="10%" class="text-subtitle1" />
<q-skeleton type="text" width="50%" class="text-subtitle1" />
<q-skeleton type="text" class="text-caption" />
</div>
</div> </div>
<div <div

View file

@ -826,13 +826,6 @@ onMounted(async () => {
/> />
</q-card-actions> </q-card-actions>
</div> </div>
<div v-else class="col-xs-12 col-sm-9 q-pa-md">
<div class="toptitle2">
{{ store.step }}.{{ store.title[store.step - 1] }}
</div>
<q-skeleton height="450px" type="Qcard" square />
</div>
</q-form> </q-form>
</q-card> </q-card>
</div> </div>

View file

@ -349,7 +349,7 @@ onMounted(async () => {
<div class="col-12 q-pa-sm"> <div class="col-12 q-pa-sm">
<!-- ผลงาน --> <!-- ผลงาน -->
<div class="col-12"> <div class="col-12">
<q-skeleton type="Qcard" height="100px" v-if="isLoading" /> <q-skeleton type="Qcard" height="100px" v-if="isLoading" class="q-mb-sm" />
<q-card v-else bordered class="cardSp1 col-12"> <q-card v-else bordered class="cardSp1 col-12">
<div class="text-weight-medium bg-grey-1 col-12 q-py-sm q-px-md"> <div class="text-weight-medium bg-grey-1 col-12 q-py-sm q-px-md">
ผลงาน ผลงาน

View file

@ -106,13 +106,7 @@ onMounted(async () => {
</script> </script>
<template> <template>
<q-skeleton <q-list separator>
v-if="isLoading"
class="q-pa-md"
type="Qcard"
style="width: 100%; height: 100%"
/>
<q-list separator v-else>
<q-item <q-item
v-for="(item, index) in formTemplates" v-for="(item, index) in formTemplates"
:key="index" :key="index"
@ -123,7 +117,8 @@ onMounted(async () => {
@click="handleItemClick(index + 1)" @click="handleItemClick(index + 1)"
class="cursor-pointer" class="cursor-pointer"
> >
<q-item-section>{{ item.title }}</q-item-section> <q-skeleton v-if="isLoading" type="text" width="100%" />
<q-item-section v-else>{{ item.title }}</q-item-section>
</q-item> </q-item>
</q-list> </q-list>
</template> </template>

View file

@ -73,13 +73,7 @@ onMounted(async () => {
</script> </script>
<template> <template>
<q-skeleton <q-list separator>
v-if="isLoading"
class="q-pa-md"
type="Qcard"
style="width: 100%; height: 100%"
/>
<q-list separator v-else>
<q-item <q-item
clickable clickable
v-ripple v-ripple
@ -87,7 +81,9 @@ onMounted(async () => {
active-class="text-primary" active-class="text-primary"
class="cursor-pointer" class="cursor-pointer"
> >
<q-item-section>เอกสารเล 2</q-item-section> <q-skeleton v-if="isLoading" type="text" width="100%" />
<q-item-section v-else>เอกสารเล่ม 2</q-item-section>
</q-item> </q-item>
</q-list> </q-list>
</template> </template>