30/7/1404

This commit is contained in:
2025-10-22 11:21:34 +03:30
parent 4b221d0919
commit d5e87cdc56
3 changed files with 8 additions and 4 deletions
@@ -4,7 +4,7 @@
<!-- <div @click="isBuy = false" class="w-full text-center" :class="!isBuy?'text-primary':'text-gray-400'">خرید طلا</div>
<div @click="isBuy = true" class="w-full text-center" :class="isBuy?'text-primary':'text-gray-400'">فروش طلا</div>-->
<div class="flex justify-evenly w-full px-2 h-11 items-center bg-gray-50 relative rounded ">
<div :class="isBuy?'text-secondary':'text-gray-400'" class="w-full text-center z-2"
<!-- <div :class="isBuy?'text-secondary':'text-gray-400'" class="w-full text-center z-2"
@click.stop="setIsBuy(true) "
:style="!props?.ProductItem?.open_buy ? 'pointer-events: none; opacity: 0.5;' : ''">
خرید {{ props?.ProductItem?.title }}
@@ -14,6 +14,10 @@
:style="!props?.ProductItem?.open_sell ? 'pointer-events: none; opacity: 0.5;' : ''"
>
فروش {{ props?.ProductItem?.title }}
</div>-->
<div class="w-full text-secondary text-center pointer-events z-2"
@click.stop="setIsBuy(true) ">
{{ props?.ProductItem?.title }}
</div>
<!-- <div ref="bganim" class="absolute bg-white h-8 w-1/2 rounded-lg " :style="`transform: translateX(${isbuy? '0':'-100%'}); left: ${isbuy? '0':'100%'}`"></div>-->
<div ref="bganim" :style="useStyle()"
+1 -1
View File
@@ -16,7 +16,7 @@
>
<!-- <div v-for="item in items">ss</div>-->
<list-anim v-if="!loading">
<Item v-for="item in items" :key="item.id" :item="item" />
<Item v-for="item in items.filter(i => i.type_str != 'خرید طلا')" :key="item.id" :item="item" />
<TransactionSkeleton v-if="loadingMore" class="mt-1 mb-8" />
</list-anim>
<TransactionSkeleton v-for="i in 13" v-else :key="i" class="mt-1" />
+2 -2
View File
@@ -83,7 +83,7 @@
<div>تغییر رمز عبور</div>
</div>
</BasicButton>
<BasicButton
<!-- <BasicButton
class="w-full mt-2"
size="large"
@click="$router.push({ name: 'address' })"
@@ -92,7 +92,7 @@
<BasicIcon icon="vuesax-linear:map" class="absolute right-8" />
<div>آدرس ها</div>
</div>
</BasicButton>
</BasicButton>-->
<BasicButton
class="w-full mt-2"
size="large"