You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
willaengine/resources/js/Global/components/Misc/TabItem.vue

32 lines
873 B

6 years ago
<template>
<li class="nav-item">
<a class="nav-link WM-Flex" :class="[aClass, (Status == 'Active' ? 'active' : '')]" data-toggle="tab" :href="TabHref">
<v-chip color="orange darken-2" text-color="white" v-if="Quantity>0"> {{ Quantity }} </v-chip>
<div>
<div class="WM-Font-18"> {{ TitleFa }} </div> {{ TitleEn }}
</div>
6 years ago
</a>
6 years ago
</li>
</template>
<script>
export default {
props: {
TitleFa: { default: "دسترسی سریع" },
TitleEn: { default: "Title" },
5 years ago
color: { default: "Black" },
6 years ago
TabContent: { default: '' },
Status: { default: '' },
Quantity: { default: 0 },
6 years ago
},
data: function () {
return {
5 years ago
aClass: 'WM-' + this.color,
6 years ago
TabHref: '#' + this.TabContent,
}
},
};
</script>