add banners

This commit is contained in:
2026-02-21 20:10:59 +03:30
parent 984d9edde2
commit 8124e05a0c
12 changed files with 142 additions and 46 deletions
@@ -8,7 +8,7 @@
<img v-if="props.ProductItem.group_type=='مس'" :src="mesImg">
<img v-if="props.ProductItem.group_type=='نقره'" :src="noghrehImg">
<img v-if="props.ProductItem.group_type=='سکه پارسیان'" :src="parsianImg">
<img v-if="props.ProductItem.group_type=='آبشده'|| props.ProductItem.group_type== null" :src="defaultImg">
<img v-if="props.ProductItem.group_type=='طلا'|| props.ProductItem.group_type=='آبشده'|| props.ProductItem.group_type== null" :src="defaultImg">
</div>
<div class="m-1 flex flex-col gap-1 justify-center">
<div class="text-base font-500">{{ props.ProductItem.title }}</div>
+2 -2
View File
@@ -27,7 +27,7 @@
<BasicActionSheet placement="bottom" v-model:show="showFilter">
<div class="">
<indexGold v-if="['آبشده'].includes(selectedProduct?.group_type)"
<indexGold v-if="['آبشده', 'طلا'].includes(selectedProduct?.group_type)"
:ProductItem="selectedProduct"
>
</indexGold>
@@ -81,7 +81,7 @@ import DealProduct from '@/views/base/products/components/DealProduct.vue'
import { cloneDeep } from 'lodash'
import img from "@/assets/img/user_ly1.svg";
import BasicModal from "@/components/BasicPacks/BasicModal.vue";
const activekey = ref('آبشده')
const activekey = ref('طلا' ||'آبشده')
const showFilter = ref()
const selectedProduct = ref<Product>()
const closeTime = ref<string>('')