feat: total product UI
This commit is contained in:
parent
c203e8715d
commit
d98a250a76
4 changed files with 67 additions and 0 deletions
BIN
public/blank-image.png
Normal file
BIN
public/blank-image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 731 B |
|
|
@ -0,0 +1,45 @@
|
|||
<script setup lang="ts">
|
||||
import { ref } from 'vue';
|
||||
import AppBox from 'components/app/AppBox.vue';
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<AppBox no-padding bordered style="box-shadow: var(--shadow-3)">
|
||||
<div class="row q-pa-sm q-col-gutter-md">
|
||||
<div class="col-4">
|
||||
<div
|
||||
class="rounded q-pa-md"
|
||||
style="
|
||||
border: 1px solid var(--green-10);
|
||||
background-color: var(--surface-2);
|
||||
"
|
||||
>
|
||||
<q-img src="blank-image.png"></q-img>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-8">
|
||||
<div class="q-pr-sm q-mb-sm">
|
||||
{{ 'ค่าบริการและค่าดำเนินงานยื่นแบบคำร้องขอนำเข้า' }}
|
||||
</div>
|
||||
<div class="row justify-between q-mb-xs">
|
||||
<div
|
||||
class="q-px-sm row items-center justify-between rounded hover-item text-white"
|
||||
style="background-color: var(--blue-6)"
|
||||
@click.stop="$emit('viewDetail')"
|
||||
>
|
||||
{{ 'AC103' }}
|
||||
</div>
|
||||
<div class="text-bold" style="color: var(--green-9)">
|
||||
{{ '฿1,200.00' }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row justify-between app-text-muted">
|
||||
<div>ระยะเวลาในการดำเนินการ</div>
|
||||
<div>14 วัน</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</AppBox>
|
||||
</template>
|
||||
|
||||
<style scoped></style>
|
||||
20
src/components/04_product-service/TotalProductComponent.vue
Normal file
20
src/components/04_product-service/TotalProductComponent.vue
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<script setup lang="ts">
|
||||
import AppBox from 'components/app/AppBox.vue';
|
||||
import TotalProductCardComponent from 'components/04_product-service/TotalProductCardComponent.vue';
|
||||
</script>
|
||||
<template>
|
||||
<AppBox
|
||||
class="row"
|
||||
bordered
|
||||
style="
|
||||
width: 75vw;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: var(--size-3);
|
||||
"
|
||||
>
|
||||
<div v-for="i in 12" :key="i">
|
||||
<TotalProductCardComponent />
|
||||
</div>
|
||||
</AppBox>
|
||||
</template>
|
||||
|
|
@ -5,6 +5,7 @@ defineProps<{
|
|||
icon: string;
|
||||
text: string;
|
||||
color: string;
|
||||
changeColor?: boolean;
|
||||
}>();
|
||||
</script>
|
||||
|
||||
|
|
@ -26,6 +27,7 @@ defineProps<{
|
|||
:icon="icon"
|
||||
width="64px"
|
||||
:class="`${$q.dark.isActive ? '' : 'app-text-muted'}`"
|
||||
:color="changeColor ? color : ''"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue