feature/task315-0526-ch
ch 3 years ago
parent 4d1a40b5d0
commit 7bb20db2d8

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-05-04 17:56:39 * @Date: 2022-05-04 17:56:39
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-05-27 16:40:50 * @LastEditTime: 2022-05-31 16:52:40
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -12,7 +12,7 @@
<div class="layout-content"> <div class="layout-content">
<Nuxt /> <Nuxt />
</div> </div>
<!-- <Footer /> --> <Footer />
</div> </div>
</template> </template>
<script> <script>

@ -84,37 +84,11 @@
<img v-show="!orderHover" src="~/assets/img/layout/icon-order.png" /> <img v-show="!orderHover" src="~/assets/img/layout/icon-order.png" />
<span>我的订单</span> <span>我的订单</span>
</div> </div>
<div class="header-wrap-content--line"></div> <div class="header-wrap-content__common flex flex-middle down"
<!-- 下载app --> @click="$router.push('/down')">
<el-popover <img src="~/assets/img/layout/icon-phone.png"/>
popper-class="header-info-bar__popover" <span>下载app</span>
placement="bottom" </div>
width="230"
trigger="hover"
@show="phoneHover = true"
@hide="phoneHover = false"
>
<div
slot="reference"
class="header-wrap-content__common flex flex-middle"
>
<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" />
<span>扫一扫上方二维码 下载APP</span>
</div>
</el-popover>
</div> </div>
</div> </div>
</div> </div>
@ -133,7 +107,6 @@ export default {
return { return {
menuVisible: false, menuVisible: false,
orderHover: false, orderHover: false,
phoneHover: false,
messageHover: false, messageHover: false,
menuList: [ menuList: [
{ {
@ -317,6 +290,13 @@ export default {
margin-right: 4px; margin-right: 4px;
} }
} }
.down{
background:#474747;
padding: 0 10px;
height: 26px;
display: flex;
align-items: center;
}
} }
} }
} }

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-05-26 16:08:17 * @Date: 2022-05-26 16:08:17
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-05-31 16:08:41 * @LastEditTime: 2022-05-31 16:40:50
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -12,30 +12,30 @@
<ul class="group"> <ul class="group">
<li class="group--item"> <li class="group--item">
<div class="qrcode"> <div class="qrcode">
<img class="qrcode--icon" src="@/assets/img/down/android.png"/>
<img class="qrcode--img" src="@/assets/img/down/app-qrcode.png"/> <img class="qrcode--img" src="@/assets/img/down/app-qrcode.png"/>
<img class="qrcode--icon" src="@/assets/img/down/android.png"/>
</div> </div>
<span class="group--item-title">Android</span> <span class="group--item-title">Android</span>
</li> </li>
<li class="group--item"> <li class="group--item">
<div class="qrcode qrcode__disabled"> <div class="qrcode qrcode__disabled">
<img class="qrcode--icon" src="@/assets/img/down/android.png"/>
<img class="qrcode--img" src="@/assets/img/down/app-qrcode.png"/> <img class="qrcode--img" src="@/assets/img/down/app-qrcode.png"/>
<img class="qrcode--icon" src="@/assets/img/down/android.png"/>
</div> </div>
<span class="group--item-title">iOS</span> <span class="group--item-title">iOS</span>
<span class="group--item-btn">规划中...</span> <span class="group--item-btn">规划中...</span>
</li> </li>
<li class="group--item"> <li class="group--item">
<div class="qrcode"> <div class="qrcode">
<img class="qrcode--icon" src="@/assets/img/down/android.png"/>
<img class="qrcode--img" src="@/assets/img/down/wx-qrcode.jpg"/> <img class="qrcode--img" src="@/assets/img/down/wx-qrcode.jpg"/>
<img class="qrcode--icon" src="@/assets/img/down/android.png"/>
</div> </div>
<span class="group--item-title">微信公众号</span> <span class="group--item-title">微信公众号</span>
</li> </li>
<li class="group--item"> <li class="group--item">
<div class="qrcode"> <div class="qrcode">
<img class="qrcode--icon" src="@/assets/img/down/android.png"/>
<img class="qrcode--img" src="@/assets/img/down/h5-qrcode.png"/> <img class="qrcode--img" src="@/assets/img/down/h5-qrcode.png"/>
<img class="qrcode--icon" src="@/assets/img/down/android.png"/>
</div> </div>
<span class="group--item-title">H5</span> <span class="group--item-title">H5</span>
</li> </li>
@ -108,7 +108,9 @@
} }
} }
} }
// .qrcode--img:hover + .qrcode--icon{
// opacity: 0;
// }
.qrcode{ .qrcode{
width: 180px; width: 180px;
height: 180px; height: 180px;
@ -124,6 +126,8 @@
height: 96px; height: 96px;
left: 62px; left: 62px;
top: 42px; top: 42px;
transition: opacity .8s;
opacity: 1;
} }
&--img{ &--img{
position: absolute; position: absolute;
@ -134,12 +138,18 @@
opacity: 0; opacity: 0;
&:hover{ &:hover{
opacity: 1; opacity: 1;
+ .qrcode--icon{
opacity: 0;
}
} }
} }
&__disabled{ &__disabled{
cursor: no-drop; cursor: no-drop;
.qrcode--img:hover{ .qrcode--img:hover{
opacity: 0; opacity: 0;
+ .qrcode--icon{
opacity: 1;
}
} }
} }
} }

@ -2,13 +2,12 @@
<div <div
v-if="tabBarVisible" v-if="tabBarVisible"
class="home-tabbar-fixed flex" class="home-tabbar-fixed flex"
:class="{ 'home-tabbar-fixed--change': appHover }"
:style="tabBarStyle" :style="tabBarStyle"
> >
<div v-show="appHover" class="home-tabbar-fixed__qrcode"> <!-- <div v-show="appHover" class="home-tabbar-fixed__qrcode">
<img src="~/assets/img/common/app-qrcode.png" /> <img src="~/assets/img/common/app-qrcode.png" />
<p>扫一扫上方二维码 下载APP</p> <p>扫一扫上方二维码 下载APP</p>
</div> </div> -->
<div <div
class="home-tabbar-fixed__box flex flex-column flex-middle" class="home-tabbar-fixed__box flex flex-column flex-middle"
:class="{ 'home-tabbar-fixed__box--height-short': !showToTop }" :class="{ 'home-tabbar-fixed__box--height-short': !showToTop }"
@ -16,6 +15,7 @@
<div <div
@mouseenter="appHover = true" @mouseenter="appHover = true"
@mouseleave="appHover = false" @mouseleave="appHover = false"
@click="$router.push('/down')"
class="tabbar-fixed-box__common flex flex-middle" class="tabbar-fixed-box__common flex flex-middle"
> >
<span v-show="appHover">app</span> <span v-show="appHover">app</span>

Loading…
Cancel
Save