change color of text
This commit is contained in:
@@ -4,11 +4,11 @@
|
|||||||
<!-- <div @click="isBuy = false" class="w-full text-center" :class="!isBuy?'text-primary':'text-gray-400'">خرید طلا</div>
|
<!-- <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 @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="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-primary':'text-gray-400'" class="w-full text-center z-2"
|
||||||
@click.stop="setIsBuy(true) ">
|
@click.stop="setIsBuy(true) ">
|
||||||
خرید طلا {{ props?.ProductItem?.title }}
|
خرید طلا {{ props?.ProductItem?.title }}
|
||||||
</div>
|
</div>
|
||||||
<div :class="!isBuy?'text-secondary':'text-gray-400'" class="w-full text-center z-2"
|
<div :class="!isBuy?'text-primary':'text-gray-400'" class="w-full text-center z-2"
|
||||||
@click.stop="setIsBuy(false) ">
|
@click.stop="setIsBuy(false) ">
|
||||||
فروش طلا {{ props?.ProductItem?.title }}
|
فروش طلا {{ props?.ProductItem?.title }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -4,12 +4,12 @@
|
|||||||
<!-- <div @click="isBuy = false" class="w-full text-center" :class="!isBuy?'text-primary':'text-gray-400'">خرید طلا</div>
|
<!-- <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 @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="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-primary':'text-gray-400'" class="w-full text-center z-2"
|
||||||
@click.stop="setIsBuy(true) "
|
@click.stop="setIsBuy(true) "
|
||||||
:style="!props?.ProductItem?.open_buy ? 'pointer-events: none; opacity: 0.5;' : ''">
|
:style="!props?.ProductItem?.open_buy ? 'pointer-events: none; opacity: 0.5;' : ''">
|
||||||
خرید {{ props?.ProductItem?.title }}
|
خرید {{ props?.ProductItem?.title }}
|
||||||
</div>
|
</div>
|
||||||
<div :class="!isBuy?'text-secondary':'text-gray-400'" class="w-full text-center z-2"
|
<div :class="!isBuy?'text-primary':'text-gray-400'" class="w-full text-center z-2"
|
||||||
@click.stop="setIsBuy(false) "
|
@click.stop="setIsBuy(false) "
|
||||||
:style="!props?.ProductItem?.open_sell ? 'pointer-events: none; opacity: 0.5;' : ''"
|
:style="!props?.ProductItem?.open_sell ? 'pointer-events: none; opacity: 0.5;' : ''"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user