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