This commit is contained in:
Swift
2024-02-02 16:55:06 +03:30
parent 8d78bf858e
commit 5d2b4713ff
3 changed files with 43 additions and 9 deletions
+34 -7
View File
@@ -60,17 +60,37 @@
:class="$route.name.includes('download') && 'active'" :class="$route.name.includes('download') && 'active'"
tag="li" tag="li"
> >
<a>دانلود</a> <a>دانلود ها</a>
</nuxt-link> </nuxt-link>
<nuxt-link :to="{ name: 'about' }" tag="li">
<a>درباره ما</a> <li
</nuxt-link> class="dropDown-container contactus"
<li> :class="contactusDropDownActiveClass && 'active'"
@mouseenter="openDrop('contactus')"
@mouseleave="closeDrop('contactus')"
>
<a>
<span>ارتباط با ما</span>
<i class="fas fa-angle-down"></i>
</a>
<div class="drop-down">
<nuxt-link :to="{ name: 'about' }">درباره ما </nuxt-link>
<nuxt-link :to="{ name: 'contact' }" >تماس با ما </nuxt-link>
<a href="https://jobs.asan-service.com" >همکاری</a> <a href="https://jobs.asan-service.com" >همکاری</a>
</div>
</li> </li>
<nuxt-link :to="{ name: 'contact' }" tag="li">
<a>ارتباط با ما</a> <nuxt-link
:to="{ name: 'complaint'}"
:class="$route.name.includes('complaint') && 'active'"
tag="li"
>
<a>ثبت شکایت</a>
</nuxt-link> </nuxt-link>
</ul> </ul>
</nav> </nav>
<nav class="col-2 d-none d-lg-flex account"> <nav class="col-2 d-none d-lg-flex account">
@@ -115,6 +135,9 @@ export default {
agentsDropDownActiveClass() { agentsDropDownActiveClass() {
return this.$route.name === 'representation' || this.$route.name === 'agent-benefits' return this.$route.name === 'representation' || this.$route.name === 'agent-benefits'
}, },
contactusDropDownActiveClass() {
return this.$route.name === 'about' || this.$route.name === 'contact'
},
fullName() { fullName() {
return this.$auth.user.first_name + ' ' + this.$auth.user.last_name return this.$auth.user.first_name + ' ' + this.$auth.user.last_name
} }
@@ -129,3 +152,7 @@ export default {
} }
} }
</script> </script>
<style scoped>
</style>
+1 -1
View File
@@ -52,7 +52,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="ویرایش" width="110" align="center"> <el-table-column label="نمایش" width="110" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<CButton <CButton
:key="scope.row._id + type" :key="scope.row._id + type"
+7
View File
@@ -113,6 +113,13 @@
.drop-down { .drop-down {
height: 169px; height: 169px;
} }
}
&.contactus {
.drop-down {
height: 169px;
}
} }
} }