| | |
| | | @click="gotoPage(url, title)" |
| | | > |
| | | <span v-if="title !== 'zhanghu'">{{ t(`message.user.${title}`) }}</span> |
| | | <div v-if="title == 'zhanghu'" style="display: flex;align-items: center;float: left;"> |
| | | <div |
| | | v-if="title == 'zhanghu'" |
| | | style="display: flex; align-items: center; float: left" |
| | | > |
| | | <img |
| | | class="xianhuo-img" |
| | | src="@/assets/forexImages/avatar-e57e8e09.png" |
| | |
| | | <div class="dropdown-content" v-if="menuList.length"> |
| | | <div |
| | | class="dropdown-item dropdown-right-item pl-20" |
| | | style="line-height: 40px; color: #000000" |
| | | style="line-height: 40px; color: #fff" |
| | | v-if="title == 'zhanghu' && store.existToken" |
| | | > |
| | | {{ store.userInfo.username }} |
| | |
| | | :key="i" |
| | | > |
| | | <div v-if="isRight"> |
| | | <img :src="item.iconPath" class="dropdown-item-right-icon" /> |
| | | <!-- <img :src="item.iconPath" class="dropdown-item-right-icon" /> --> |
| | | <p class="dropdown-item-title"> |
| | | {{ t(`message.user.${item.title}`) }} |
| | | </p> |
| | | </div> |
| | | <div v-else> |
| | | <img :src="item.iconPath" class="dropdown-item-icon" /> |
| | | <!-- <img :src="item.iconPath" class="dropdown-item-icon" /> --> |
| | | <p class="dropdown-item-title"> |
| | | {{ t(`message.home.${item.title}`) }} |
| | | </p> |
| | |
| | | .dropdown-content { |
| | | display: none; |
| | | position: absolute; |
| | | background-color: #fff; |
| | | background-color: #11263a; |
| | | box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2); |
| | | z-index: 100; |
| | | padding: 12px 0; |
| | | /* padding: 12px 0; */ |
| | | border-radius: 12px; |
| | | width: 290px; |
| | | /* width: 290px; */ |
| | | box-sizing: border-box; |
| | | } |
| | | |
| | |
| | | left: 0; |
| | | top: 0; |
| | | border-radius: 0; |
| | | background-color: #fff; |
| | | background-color: #11263a; |
| | | position: relative; |
| | | } |
| | | |
| | | .dropdown-item:hover { |
| | | background-color: #f4f4f4; |
| | | opacity: 0.9; |
| | | .dropdown-item-title:hover { |
| | | /* background-color: #f4f4f4; */ |
| | | /* opacity: 0.9; */ |
| | | color: #f7b328 !important; |
| | | } |
| | | |
| | | .dropdown-right-item, |
| | |
| | | position: absolute; |
| | | left: 58px; |
| | | top: 18%; |
| | | color: #000; |
| | | color: #fff; |
| | | font-size: 14px; |
| | | line-height: 17px; |
| | | font-weight: 600; |