-
فیش واریزی:
-
+
+
فیش واریزی (برای بزرگنمایی لمس کنید)
+
-
-
-
-
-
- تایید واریز
-
-
-
-
-
- رد واریز
-
+
+
+
+
+
+
+ تایید واریز
+
+
+
+
+
+ رد واریز
+
+
@@ -270,3 +272,58 @@ function amountIconColor(row: Withdraw) {
return '#b45309'
}
+
+
diff --git a/src/pages/menuPages/withdraw/index.vue b/src/pages/menuPages/withdraw/index.vue
index c64314c..6a0b218 100644
--- a/src/pages/menuPages/withdraw/index.vue
+++ b/src/pages/menuPages/withdraw/index.vue
@@ -100,7 +100,7 @@
v-model:visible="approveDepositModalVisible"
width="28rem"
title="تایید واریز وجه به کیف پول"
- wrap-class-name="withdraw-stack-modal"
+ wrap-class-name="withdraw-stack-modal withdraw-deposit-modal"
:loading="depositActionLoading"
@ok="handleApproveDeposit"
@close="approveDepositModalVisible = false"
@@ -117,12 +117,11 @@
-
+
تصویر فیش واریزی (جهت بزرگنمایی روی عکس کلیک کنید):
@@ -152,7 +151,7 @@
v-model:visible="rejectDepositModalVisible"
width="26rem"
title="رد درخواست واریز"
- wrap-class-name="withdraw-stack-modal"
+ wrap-class-name="withdraw-stack-modal withdraw-deposit-modal"
:loading="depositActionLoading"
@ok="handleRejectDeposit"
@close="rejectDepositModalVisible = false"
@@ -529,4 +528,43 @@ async function handleRejectDeposit() {
.withdraw-stack-modal {
z-index: 1100 !important;
}
+
+.withdraw-receipt-preview :deep(.ant-image) {
+ width: 100%;
+ display: flex;
+ justify-content: center;
+}
+
+.withdraw-receipt-preview :deep(.ant-image-img) {
+ width: auto !important;
+ max-width: 100% !important;
+ max-height: 9.5rem !important;
+ height: auto !important;
+ object-fit: contain;
+ margin-inline: auto;
+}
+
+@media (max-width: 767.98px) {
+ .withdraw-deposit-modal .ant-modal {
+ max-width: calc(100vw - 1rem) !important;
+ margin: 0.5rem auto !important;
+ padding-bottom: 0;
+ }
+
+ .withdraw-deposit-modal .ant-modal-body #body {
+ max-height: min(70vh, 520px);
+ }
+
+ .withdraw-deposit-modal .ant-modal-footer {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: 0.5rem;
+ padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
+ }
+
+ .withdraw-deposit-modal .ant-modal-footer .ant-btn {
+ margin: 0 !important;
+ width: 100%;
+ }
+}