Commit 3093f501 authored by youjie's avatar youjie

no message

parent ec715801
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
</style> </style>
<template> <template>
<q-layout view="hHh lpr fFf"> <q-layout view="hHh lpr fFf">
<!-- <hor-big-one :base-data="baseinfo" :dataList="dataList" ref="webhead"></hor-big-one> --> <hor-big-one v-if="isSearch" :base-data="baseinfo" :dataList="dataList" ref="webhead"></hor-big-one>
<!-- <hor-big-two v-if="headType==2" :base-data="baseinfo" ref="webhead"></hor-big-two> --> <!-- <hor-big-two v-if="headType==2" :base-data="baseinfo" ref="webhead"></hor-big-two> -->
<q-page-container> <q-page-container>
<div class="flex justify-between" v-if="showUserInfo" :style="$q.platform.is.desktop ? 'width: 1200px; margin: 0 auto' : ''"> <div class="flex justify-between" v-if="showUserInfo" :style="$q.platform.is.desktop ? 'width: 1200px; margin: 0 auto' : ''">
...@@ -66,6 +66,7 @@ import Navs from 'src/pages/usercenter/components/navs.vue'; ...@@ -66,6 +66,7 @@ import Navs from 'src/pages/usercenter/components/navs.vue';
}, },
data() { data() {
return { return {
isSearch: false,
showUserInfo: false, showUserInfo: false,
leftDrawerOpen: false, leftDrawerOpen: false,
baseinfo: { baseinfo: {
...@@ -101,6 +102,7 @@ import Navs from 'src/pages/usercenter/components/navs.vue'; ...@@ -101,6 +102,7 @@ import Navs from 'src/pages/usercenter/components/navs.vue';
}) })
}, },
mounted() { mounted() {
this.isSearch = this.$router.history.current.path != "/index"&&this.$router.history.current.path != "/"
window.addEventListener('scroll', this.getScrollHeight, false); window.addEventListener('scroll', this.getScrollHeight, false);
//判断是不是同一天 //判断是不是同一天
if (localStorage.ToDay) { if (localStorage.ToDay) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment