|
|
@@ -8,12 +8,12 @@
|
|
|
</div>
|
|
|
|
|
|
<div class="align-items-center">
|
|
|
- <div @click="navClick(1)" class="fs-16 mr-38 fc-f hand-cursor" :class="{active:navActive === 1}">{{$t('Home')}}</div>
|
|
|
- <div @click="navClick(2)" class="fs-16 mr-38 fc-f hand-cursor" :class="{active:navActive === 2}">{{$t('Tourism')}}</div>
|
|
|
- <div @click="navClick(3)" class="fs-16 mr-38 fc-f hand-cursor" :class="{active:navActive === 3}">{{$t('Team')}}</div>
|
|
|
- <div @click="navClick(4)" class="fs-16 mr-38 fc-f hand-cursor" :class="{active:navActive === 4}">{{$t('Recharge')}}</div>
|
|
|
- <div @click="navClick(5)" class="fs-16 mr-38 fc-f hand-cursor" :class="{active:navActive === 5}">{{$t('Draw Money')}}</div>
|
|
|
- <div @click="navClick(6)" class="fs-16 mr-38 fc-f hand-cursor" :class="{active:navActive === 6}">{{$t('My Account')}}</div>
|
|
|
+ <div @click="navClick(1)" class="fs-16 mr-38 fc-f hand-cursor p-f" >{{$t('Home')}}<div v-if="navActive==1" class="p-c wow animate__animated animate__bounceInRight"></div></div>
|
|
|
+ <div @click="navClick(2)" class="fs-16 mr-38 fc-f hand-cursor p-f" >{{$t('Tourism')}}<div v-if="navActive==2" class="p-c wow animate__animated animate__bounceInRight"></div></div>
|
|
|
+ <div @click="navClick(3)" class="fs-16 mr-38 fc-f hand-cursor p-f" >{{$t('Team')}}<div v-if="navActive==3" class="p-c wow animate__animated animate__bounceInRight"></div></div>
|
|
|
+ <div @click="navClick(4)" class="fs-16 mr-38 fc-f hand-cursor p-f" >{{$t('Recharge')}}<div v-if="navActive==4" class="p-c wow animate__animated animate__bounceInRight"></div></div>
|
|
|
+ <div @click="navClick(5)" class="fs-16 mr-38 fc-f hand-cursor p-f" >{{$t('Draw Money')}}<div v-if="navActive==5" class="p-c wow animate__animated animate__bounceInRight"></div></div>
|
|
|
+ <div @click="navClick(6)" class="fs-16 mr-38 fc-f hand-cursor p-f" >{{$t('My Account')}}<div v-if="navActive==6" class="p-c wow animate__animated animate__bounceInRight"></div></div>
|
|
|
|
|
|
<div class="align-items-center mr-38 lang-pop-f hand-cursor" v-click-outside="clickOutside">
|
|
|
<div class="fs-16 fc-f " @click="open()">{{langText}}</div>
|
|
|
@@ -147,19 +147,29 @@ export default {
|
|
|
border-radius: 50%;
|
|
|
margin-right: 10px;
|
|
|
}
|
|
|
-
|
|
|
+ .p-f{
|
|
|
+ position: relative;
|
|
|
+ .p-c{
|
|
|
+ position: absolute;
|
|
|
+ width: 100%;
|
|
|
+ height: 1px;
|
|
|
+ background: #fff;
|
|
|
+ top:20px;
|
|
|
+ }
|
|
|
+ }
|
|
|
.active {
|
|
|
- position: relative;
|
|
|
- &::after {
|
|
|
- content: ' ';
|
|
|
- position: absolute;
|
|
|
- bottom: -5px;
|
|
|
- left: 50%;
|
|
|
- transform: translateX(-50%);
|
|
|
- width: 100%;
|
|
|
- height: 0px;
|
|
|
- border-bottom: 1px solid #fff;
|
|
|
- }
|
|
|
+ // position: relative;
|
|
|
+ // &::after {
|
|
|
+ // content: ' ';
|
|
|
+ // position: absolute;
|
|
|
+ // bottom: -5px;
|
|
|
+ // left: 50%;
|
|
|
+ // transform: translateX(-50%);
|
|
|
+ // width: 100%;
|
|
|
+ // height: 1px;
|
|
|
+ // background-color: #fff;
|
|
|
+ // transition: width 1s,background-color 1s;
|
|
|
+ // }
|
|
|
}
|
|
|
.lang-img{
|
|
|
width: 14px;
|