From c6c76350414ad1b2b0410c1dd3ffb2d6b5f63371 Mon Sep 17 00:00:00 2001 From: MojtabaSoumi Date: Sat, 7 Feb 2026 17:25:59 +0330 Subject: [PATCH] 1404/11/18-delete required rule in referral code & hidden home page --- src/views/base/index.vue | 42 +++++++++++----------- src/views/base/products/product/[id].vue | 18 ++++++++++ src/views/base/user/index.vue | 44 ++++++++++++------------ src/views/base/wallet/index.vue | 2 +- 4 files changed, 62 insertions(+), 44 deletions(-) diff --git a/src/views/base/index.vue b/src/views/base/index.vue index ee80b52..fa6378a 100644 --- a/src/views/base/index.vue +++ b/src/views/base/index.vue @@ -22,27 +22,27 @@
حساب کاربری
- -
- -
هشدار قیمت
-
-
- -
- -
انتقال قطره
-
-
- -
- -
دریافت طلای فیزیکی
-
-
+ + + + + + + + + + + + + + + + + + + + +
diff --git a/src/views/base/products/product/[id].vue b/src/views/base/products/product/[id].vue index 9006a11..14d2c66 100644 --- a/src/views/base/products/product/[id].vue +++ b/src/views/base/products/product/[id].vue @@ -172,6 +172,24 @@ async function loadProduct() { loading.value = false } } +watch(lastPrice, async () => { + // console.log(items); + if (lastPrice.value && product.value.similar) { + product.value.similar.forEach((val) => { + // console.log(lastPrice.value) + if (val.group_type == 'آبشده') { + val.price = lastPrice.value?.price_last + val.sellPrice = lastPrice.value?.sell + } else { + val.price = parseInt(val.amount * lastPrice.value?.price_last) + val.sellPrice = parseInt(val.amount * lastPrice.value?.sell) + + // console.log(lastPrice.value?.price_last + "*" + val.amount + ' ' + val.price) + } + }) + + } +}, { deep: true }) async function initPrice() { try { diff --git a/src/views/base/user/index.vue b/src/views/base/user/index.vue index 951406b..8ad47c7 100644 --- a/src/views/base/user/index.vue +++ b/src/views/base/user/index.vue @@ -93,16 +93,16 @@
آدرس ها
--> - -
- -
هشدار قیمت
-
-
+ + + + + + + + + + مجوز ها --> - -
- -
کسب درآمد
-
-
+ + + + + + + + + + + + جهت شارژ حساب کاربری خود، کلمه "شماره حساب" را برای پشتیبانی ارسال نمایید. - + پیام به پشتیبانی