-
-
diff --git a/src/views/base/products/mobile/MobileProductsView.vue b/src/views/base/products/mobile/MobileProductsView.vue
index 4e8116e..82c378f 100644
--- a/src/views/base/products/mobile/MobileProductsView.vue
+++ b/src/views/base/products/mobile/MobileProductsView.vue
@@ -1,6 +1,6 @@
-
+
@@ -86,20 +86,6 @@ const storeClosedMessage = computed(() => getStoreClosedMessage())
overflow: hidden;
}
-.products-mobile-root__bg {
- pointer-events: none;
- position: absolute;
- inset: 0;
- overflow: hidden;
- z-index: 0;
-
- img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
-}
-
.products-mobile-root__chrome {
position: relative;
z-index: 1;
diff --git a/src/views/base/transactions/DefaultTransactionsPage.vue b/src/views/base/transactions/DefaultTransactionsPage.vue
index 786f315..1eb9426 100644
--- a/src/views/base/transactions/DefaultTransactionsPage.vue
+++ b/src/views/base/transactions/DefaultTransactionsPage.vue
@@ -1,6 +1,10 @@
-
-
+
+
@@ -8,7 +12,7 @@
-
+
@@ -52,6 +56,7 @@ import BaseDatePicker from '@/components/BasicPacks/BaseDatePicker/src/BaseDateP
import ListAnim from '@/components/ListAnim.vue'
import TransactionSkeleton from '@/components/TransactionSkeleton.vue'
import { DotLottieVue } from '@lottiefiles/dotlottie-vue'
+import img from '@/assets/img/user_ly1.svg'
import { useTransactionsPageContext } from './composables/useTransactionsPage'
const el = ref(null)
diff --git a/src/views/base/user/mobile/MobileUserView.vue b/src/views/base/user/mobile/MobileUserView.vue
index e25c6cc..c66bbd3 100644
--- a/src/views/base/user/mobile/MobileUserView.vue
+++ b/src/views/base/user/mobile/MobileUserView.vue
@@ -1,6 +1,6 @@
-
+
@@ -114,20 +114,6 @@ const {
overflow: hidden;
}
-.mobile-user-view__bg {
- pointer-events: none;
- position: absolute;
- inset: 0;
- overflow: hidden;
- z-index: 0;
-
- img {
- position: absolute;
- bottom: 0;
- width: 100%;
- }
-}
-
.mobile-user-view__scroll {
position: relative;
z-index: 1;
diff --git a/src/views/base/wallet/mobile/MobileWalletView.vue b/src/views/base/wallet/mobile/MobileWalletView.vue
index 80b9e15..c60298a 100644
--- a/src/views/base/wallet/mobile/MobileWalletView.vue
+++ b/src/views/base/wallet/mobile/MobileWalletView.vue
@@ -1,6 +1,10 @@
-
-
+
+
diff --git a/src/views/login/components/Login.vue b/src/views/login/components/Login.vue
index c6897f4..68f3a05 100644
--- a/src/views/login/components/Login.vue
+++ b/src/views/login/components/Login.vue
@@ -377,6 +377,7 @@ import { useWalletStore } from '@/store/walletStore'
import { useSettingsStore } from '@/store/settingsStore'
import { syncPriceRealtimeChannel } from '@/utils/priceSocket'
import { setTruth } from '@/app/authBoot'
+import { completeLoginNavigation } from '@/layouts/composables/useMobileScrollReset'
import {useConfigStore} from "@/store/configStore";
import {
getConfigApp,
@@ -488,7 +489,7 @@ async function login(accessToken: string | undefined) {
/* if (userStore.userInfo?.type === (URLUserType() === 'customer' ? 1 : 2)) {*/
await walletStore.getMyWallet()
setTruth()
- await router.push({ name: 'home' })
+ await completeLoginNavigation()
/* } else {
removeToken()
userStore.removeInformation()
diff --git a/src/views/login/composables/useLoginForm.ts b/src/views/login/composables/useLoginForm.ts
index 38d30d9..bc7ab0c 100644
--- a/src/views/login/composables/useLoginForm.ts
+++ b/src/views/login/composables/useLoginForm.ts
@@ -16,6 +16,7 @@ import { useUserStore } from '@/store/userStore'
import { useWalletStore } from '@/store/walletStore'
import { useSettingsStore } from '@/store/settingsStore'
import { setTruth } from '@/app/authBoot'
+import { completeLoginNavigation } from '@/layouts/composables/useMobileScrollReset'
export function useLoginForm() {
const { time, onFinish, reset } = useCountdownTimer('00:02:00', 'mm:ss')
@@ -55,7 +56,7 @@ export function useLoginForm() {
const fingerPrint = await authenticateWithFingerprint()
if (fingerPrint) {
setTruth()
- await router.push({ name: 'home' })
+ await completeLoginNavigation()
} else {
message.error('خطا در اعتبارسنجی')
}
@@ -75,7 +76,7 @@ export function useLoginForm() {
await userStore.getMyInfo()
await walletStore.getMyWallet()
setTruth()
- await router.push({ name: 'home' })
+ await completeLoginNavigation()
}
function getcode() {
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index e0c6599..5eda8f0 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -78,11 +78,18 @@ const isGaroosi = computed(() => config.config?.name === 'garoosi')