|
|
|
@ -20,10 +20,10 @@
|
|
|
|
|
<img class="content-login-info__logo" :src="menuIcon" />
|
|
|
|
|
</div>
|
|
|
|
|
<el-dropdown-menu slot="dropdown" class="header-info-bar__dropdown">
|
|
|
|
|
<div class="menu-item__wrap flex flex-middle">
|
|
|
|
|
<!-- <div class="menu-item__wrap flex flex-middle">
|
|
|
|
|
<img class="menu-item-wrap__avatar" :src="userInfo.avatar" />
|
|
|
|
|
<span>{{ userInfo.nickname }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div> -->
|
|
|
|
|
<div class="menu-item__line"></div>
|
|
|
|
|
<el-dropdown-item
|
|
|
|
|
class="flex flex-between flex-middle"
|
|
|
|
@ -47,11 +47,20 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div v-if="!menuVisible" class="header-wrap-content--line"></div>
|
|
|
|
|
<div
|
|
|
|
|
class="header-wrap-content__common flex flex-middle"
|
|
|
|
|
class="header-wrap-content__common hover-text flex flex-middle"
|
|
|
|
|
@click="onJumpPersonalPage('message')"
|
|
|
|
|
@mouseenter="messageHover = true"
|
|
|
|
|
@mouseleave="messageHover = false"
|
|
|
|
|
>
|
|
|
|
|
<img src="~/assets/img/layout/icon-message.png" />
|
|
|
|
|
<span class="hover-text">消息</span>
|
|
|
|
|
<img
|
|
|
|
|
v-show="messageHover"
|
|
|
|
|
src="~/assets/img/layout/icon-message-light.png"
|
|
|
|
|
/>
|
|
|
|
|
<img
|
|
|
|
|
v-show="!messageHover"
|
|
|
|
|
src="~/assets/img/layout/icon-message.png"
|
|
|
|
|
/>
|
|
|
|
|
<span>消息</span>
|
|
|
|
|
<div
|
|
|
|
|
v-if="messageCount > 0"
|
|
|
|
|
class="wrap-content-message__tip flex flex-center flex-middle"
|
|
|
|
@ -63,11 +72,17 @@
|
|
|
|
|
</template>
|
|
|
|
|
<div class="header-wrap-content--line"></div>
|
|
|
|
|
<div
|
|
|
|
|
class="header-wrap-content__common flex flex-middle"
|
|
|
|
|
class="header-wrap-content__common hover-text flex flex-middle"
|
|
|
|
|
@click="onJumpPersonalPage('order/list')"
|
|
|
|
|
@mouseenter="orderHover = true"
|
|
|
|
|
@mouseleave="orderHover = false"
|
|
|
|
|
>
|
|
|
|
|
<img src="~/assets/img/layout/icon-order.png" />
|
|
|
|
|
<span class="hover-text">我的订单</span>
|
|
|
|
|
<img
|
|
|
|
|
v-show="orderHover"
|
|
|
|
|
src="~/assets/img/layout/icon-order-light.png"
|
|
|
|
|
/>
|
|
|
|
|
<img v-show="!orderHover" src="~/assets/img/layout/icon-order.png" />
|
|
|
|
|
<span>我的订单</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="header-wrap-content--line"></div>
|
|
|
|
|
<!-- 下载app -->
|
|
|
|
@ -76,13 +91,24 @@
|
|
|
|
|
placement="bottom"
|
|
|
|
|
width="230"
|
|
|
|
|
trigger="hover"
|
|
|
|
|
@show="phoneHover = true"
|
|
|
|
|
@hide="phoneHover = false"
|
|
|
|
|
>
|
|
|
|
|
<div
|
|
|
|
|
slot="reference"
|
|
|
|
|
class="header-wrap-content__common flex flex-middle"
|
|
|
|
|
>
|
|
|
|
|
<img src="~/assets/img/layout/icon-phone.png" />
|
|
|
|
|
<span class="hover-text">下载app</span>
|
|
|
|
|
<img
|
|
|
|
|
v-show="phoneHover"
|
|
|
|
|
src="~/assets/img/layout/icon-phone-light.png"
|
|
|
|
|
/>
|
|
|
|
|
<img
|
|
|
|
|
v-show="!phoneHover"
|
|
|
|
|
src="~/assets/img/layout/icon-phone.png"
|
|
|
|
|
/>
|
|
|
|
|
<span :class="{ 'wrap-content-common--light': phoneHover }"
|
|
|
|
|
>下载app</span
|
|
|
|
|
>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="info-bar-popover__qrcode">
|
|
|
|
|
<img src="~/assets/img/common/app-qrcode.png" />
|
|
|
|
@ -106,6 +132,9 @@ export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
menuVisible: false,
|
|
|
|
|
orderHover: false,
|
|
|
|
|
phoneHover: false,
|
|
|
|
|
messageHover: false,
|
|
|
|
|
menuList: [
|
|
|
|
|
{
|
|
|
|
|
label: "个人中心",
|
|
|
|
@ -269,6 +298,9 @@ export default {
|
|
|
|
|
.header-wrap-content__common {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
padding: 0 18px;
|
|
|
|
|
.wrap-content-common--light {
|
|
|
|
|
color: #ff875b;
|
|
|
|
|
}
|
|
|
|
|
img {
|
|
|
|
|
width: 14px;
|
|
|
|
|
height: 14px;
|
|
|
|
|