fix bugs of physicalRecieve & login-code-input & odometer-digit
This commit is contained in:
@@ -22,6 +22,17 @@
|
||||
<p v-if="items?.length" class="dpr-new__hint">
|
||||
{{ items.length }} محصول با موجودی قابل تحویل
|
||||
</p>
|
||||
|
||||
<div v-if="pendingDeliveryItems.length" class="dpr-new__pending">
|
||||
<p class="dpr-new__pending-title">نزدیک به حد تحویل فیزیکی</p>
|
||||
<p
|
||||
v-for="pending in pendingDeliveryItems"
|
||||
:key="pending.id"
|
||||
class="dpr-new__pending-row"
|
||||
>
|
||||
{{ pending.message }}
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="dpr-surface dpr-new__cart">
|
||||
@@ -104,6 +115,7 @@ import { useNewPhysicalRequestContext } from '../composables/useNewPhysicalReque
|
||||
|
||||
const {
|
||||
items,
|
||||
pendingDeliveryItems,
|
||||
selectedProduct,
|
||||
selectedProducts,
|
||||
address,
|
||||
@@ -117,3 +129,26 @@ const {
|
||||
handleAddress,
|
||||
} = useNewPhysicalRequestContext()
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.dpr-new__pending {
|
||||
margin-top: 0.75rem;
|
||||
padding: 0.5rem 0.75rem;
|
||||
border-radius: 0.5rem;
|
||||
background: #fff7ed;
|
||||
border: 1px solid #fed7aa;
|
||||
}
|
||||
|
||||
.dpr-new__pending-title {
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
color: #c2410c;
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
.dpr-new__pending-row {
|
||||
font-size: 0.78rem;
|
||||
color: #9a3412;
|
||||
line-height: 1.6;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user