Update fix ui

This commit is contained in:
Amir
2022-12-22 10:05:09 +08:00
parent 1c1b1eca63
commit 002e2a99fe
12 changed files with 104 additions and 55 deletions
+30
View File
@@ -5719,3 +5719,33 @@
.p-datatable .p-datatable-tbody > tr.p-datatable-dragpoint-bottom > td {
box-shadow: inset 0 -2px 0 0 #3B82F6;
}
.bounce-up-down {
animation: bounce 0.5s;
animation-direction: alternate;
animation-timing-function: cubic-bezier(0.5, 0.05, 1, 0.5);
animation-iteration-count: infinite;
}
@keyframes bounce {
from {
transform: translate3d(0, 0, 0);
}
to {
transform: translate3d(0, 25px, 0px);
}
}
.style-info {
background: #e4f8f0;
border: solid #1ea97c;
border-width: 0.1px;
color: #1ea97c;
font-size: 1rem;
align-items: center;
display: flex;
padding: 0.4rem 0.9rem;
margin: 0;
border-radius: 6px;
font-weight: 700;
}
+9 -2
View File
@@ -94,8 +94,15 @@
iconPos="right"
></Button>
</div>
<div class="flex justify-content-center mt-4">
<terms-and-conditions></terms-and-conditions>
<div class="flex alin justify-content-center mt-4">
<div class="btn btn-warning btn-sm mr-4">
<terms-and-conditions></terms-and-conditions>
</div>
<a
class="btn btn-info btn-sm"
href="https://lelong.arrahn.com.my"
>Pautan Sistem Lelong</a
>
</div>
</div>
</form>
+16 -3
View File
@@ -253,7 +253,14 @@
</div>
<div class="col-12 text-center">
<Button
class="p-button-sm"
class="p-button-sm p-button-outlined m-1"
icon="pi pi-times"
iconPos="right"
label="Batal Pendaftaran"
@click="toLogin()"
/>
<Button
class="p-button-sm m-1"
label="Teruskan"
icon="pi pi-sign-in"
iconPos="right"
@@ -400,14 +407,20 @@ export default {
closeModalTNC() {
this.isDisplayTNC = false;
},
readImage() {},
toLogin() {
this.$router.push({ name: "login" });
},
},
validations() {
return {
form: {
name: { required },
username: { required },
nokp: { required, minLengthValue: minLength(12), maxLengthValue: maxLength(12) },
nokp: {
required,
minLengthValue: minLength(12),
maxLengthValue: maxLength(12),
},
password: { required, minLengthValue: minLength(8) },
email: { required, email },
notelbimbit: { required, minLengthValue: minLength(8) },
+7 -16
View File
@@ -13,7 +13,10 @@
<div class="col-12 lg:col-11">
<Card>
<template #title>
<div class="font-normal">Rekod Bidaan Hari Ini : {{ date }}</div>
<div class="grid justify-content-between">
<div class="font-normal">Rekod Bidaan Hari Ini : <span class="white-space-nowrap">{{ date }}</span></div>
<div class="text-xs align-self-center fst-italic fw-lighter text-danger">*Sistem akan menjana pemenang setelah masa bidaan tamat pada {{lelongDetail.masatamat_lelong}}</div>
</div>
</template>
<template #content>
<Accordion :multiple="true">
@@ -233,7 +236,7 @@ import ItemMasterImageModal from "../list/ItemMasterImageModal.vue";
export default {
name: "BidDetail",
components: {
"item-master-image-modal": ItemMasterImageModal
"item-master-image-modal": ItemMasterImageModal,
},
data() {
return {
@@ -242,6 +245,7 @@ export default {
isSuccess: false,
theData: "",
date: "",
lelongDetail: "",
reloadImageComponent: 0,
// userId: localStorage.getItem("id"),
};
@@ -274,6 +278,7 @@ export default {
this.isLoading = false;
this.isSuccess = true;
this.listBid = response.data.lelongbidder;
this.lelongDetail = response.data.lelong;
} else {
this.isLoading = false;
this.isSuccess = false;
@@ -296,18 +301,4 @@ export default {
.container-height {
min-height: 70vh;
}
.style-info {
background: #e4f8f0;
border: solid #1ea97c;
border-width: 0px;
color: #1ea97c;
font-size: 1rem;
align-items: center;
display: flex;
padding: 0.4rem 0.9rem;
margin: 0;
border-radius: 6px;
font-weight: 400;
}
</style>
@@ -1,22 +1,5 @@
<template>
<the-template>
<!-- <div class="container">
<div class="row justify-content-center">
<div class="col-10">
<h2>Rekod Bidaan Hari Ini : {{ date }}</h2>
<button
v-on:click="reloadComponent()"
class="badge btn-secondary m-2"
>
Reload <i class="bi bi-arrow-clockwise"></i>
</button>
<base-card>
<bid-record-list v-bind:key="statusComponent"></bid-record-list>
</base-card>
</div>
</div>
</div> -->
<bid-record-list v-bind:key="statusComponent"></bid-record-list>
</the-template>
</template>
+27 -9
View File
@@ -145,6 +145,17 @@
class="p-button-sm w-full"
v-on:click="openModalNew()"
/>
<div class="bounce-up-down">
<div class="info-teruskan-icon">
<i
class="pi pi-arrow-circle-up text-3xl"
style="color: #ff5757"
></i>
</div>
<div class="info-teruskan">
Sila klik 'Teruskan' jika pasti untuk meneruskan bidaan ini.
</div>
</div>
</template>
</Card>
</div>
@@ -938,17 +949,24 @@ export default {
min-height: 70vh;
}
.style-info {
background: #e4f8f0;
border: solid #1ea97c;
.info-teruskan {
background: #ffe7e6;
border: solid #ff5757;
border-width: 0px;
color: #1ea97c;
font-size: 1rem;
align-items: center;
display: flex;
color: #ff5757;
padding: 0.4rem 0.9rem;
margin: 0;
border-radius: 6px;
font-weight: 400;
text-align: center;
}
.info-teruskan-icon {
display: flex;
justify-content: center;
padding: 0.4rem 0.9rem 0 0.9rem;
margin-bottom: 15px;
}
.icon-color {
color: #ff5757;
}
</style>
+2 -2
View File
@@ -15,7 +15,7 @@
<tbody>
<tr class="table-light">
<th>Bil</th>
<th style="min-width: 200px">Cawangan</th>
<th style="min-width: 200px">Cawangan Ar-Rahn</th>
<th style="min-width: 120px" class="text-center">Tarikh</th>
</tr>
<tr v-for="(data, index) in response" :key="data.id">
@@ -29,7 +29,7 @@
<tbody>
<tr class="table-light">
<td>Bil</td>
<td>Cawangan</td>
<td>Cawangan Ar-Rahn</td>
<td>Tarikh</td>
</tr>
<tr>
+1 -1
View File
@@ -2,7 +2,7 @@
<Card style="margin-bottom: 1em">
<template #title>
<div class="flex justify-content-between flex-wrap card-container">
<div class="font-semibold">Lelongan Hari Ini : <span>{{ date }}</span></div>
<div class="font-semibold">Lelongan Hari Ini : <span class="white-space-nowrap">{{ date }}</span></div>
<Button
class="button-standard p-button-rounded p-button-outlined"
icon="pi pi-refresh"
+3 -3
View File
@@ -13,7 +13,7 @@
<tbody>
<tr class="table-light">
<th>Bil</th>
<th style="min-width: 200px">Cawangan</th>
<th style="min-width: 200px">Cawangan Ar-Rahn</th>
<th style="min-width: 120px" class="text-center">Masa Mula</th>
<th style="min-width: 120px" class="text-center">Masa Tamat</th>
</tr>
@@ -33,7 +33,7 @@
<tbody>
<tr class="table-light">
<td>Bil</td>
<td>Cawangan</td>
<td>Cawangan Ar-Rahn</td>
<td>Masa Mula</td>
<td>Masa Tamat</td>
</tr>
@@ -70,7 +70,7 @@ export default {
},
})
.then((response) => {
console.log("liveData", response);
// console.log("liveData", response);
if (response.data.success == true) {
this.responseData = true;
this.response = response.data.lelong;
+1 -1
View File
@@ -89,7 +89,7 @@
container-height
"
>
<div class="grid justify-content-center">
<div class="grid bounce-up-down justify-content-center">
<div class="col-12 mb-4 text-center">
<i class="pi pi-arrow-up text-8xl text-400"></i>
</div>
+7
View File
@@ -21,6 +21,7 @@
>
<div v-if="isSuccess">
<div class="row">
<div class="font-normal header-title">Senarai Barangan Lelongan</div>
<div class="input-group mb-3">
<span class="input-group-text" id="basic-addon3">Cawangan</span>
<select class="form-select" @change="pilihCawangan($event)">
@@ -133,4 +134,10 @@ export default {
.container-height {
min-height: 70vh;
}
.header-title {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 1rem;
}
</style>
+1 -1
View File
@@ -15,7 +15,7 @@
<div v-if="isSuccess">
<Card>
<template #title>
<div class="font-normal">Keputusan Lelongan</div>
<div class="font-normal">Bidaan Yang Berjaya</div>
</template>
<template #content>
<div class="overflow-x-auto">