取消首页搜索
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<view style="padding-bottom: 20rpx;">
|
||||
|
||||
<template v-if="showSearch">
|
||||
<!-- 自定义导航栏(带搜索) -->
|
||||
<!-- #ifdef H5 -->
|
||||
<u-navbar :background="background" height="60" :is-back="false" :title="title" :border-bottom="false">
|
||||
@@ -16,7 +17,8 @@
|
||||
<!-- #endif -->
|
||||
<view class="nvavBar-box" :style="{height:barHeight>0?barHeight+'px':'70rpx'}">
|
||||
<!-- #ifdef H5 || APP -->
|
||||
<view @click.stop="goSearch" class="nvavBar-boxs flex align-center" style="width: 100%;">
|
||||
<view @click.stop="goSearch" class="nvavBar-boxs flex align-center"
|
||||
style="width: 100%;">
|
||||
<u-search placeholder-color="#cccccc" disabled search-icon-color="#ff7581"
|
||||
:show-action="false" placeholder="今日正在热播" v-model="keyword"></u-search>
|
||||
</view>
|
||||
@@ -32,7 +34,8 @@
|
||||
</view>
|
||||
</view>
|
||||
</u-navbar>
|
||||
<view class="bgColorTop">
|
||||
</template>
|
||||
<view class="bgColorTop " :class="{'top-zhanwei':!showSearch}">
|
||||
<!-- <view v-if="homeTypeSel != '否'" class="topTabs flex align-center justify-center">
|
||||
<view class="topTabs-box">
|
||||
<scroll-view class="topTabs-box-H" scroll-x="true">
|
||||
@@ -46,8 +49,8 @@
|
||||
<!-- 轮播图 -->
|
||||
<view v-if="TabCur == 0" class="swipers flex align-center justify-center">
|
||||
<view class="swipers-box">
|
||||
<swiper class="swipers-box" :indicator-dots="false" :autoplay="true" interval="5000"
|
||||
duration="500" :circular="true">
|
||||
<swiper class="swipers-box" :indicator-dots="false" :autoplay="true" interval="5000" duration="500"
|
||||
:circular="true">
|
||||
<swiper-item class="swipers-box" v-for="(item,index) in swiperList" :key='index'
|
||||
@tap="goPage(item)">
|
||||
<image :src="item.imageUrl" mode="aspectFill" style="width: 100%;height:100%;"></image>
|
||||
@@ -61,8 +64,8 @@
|
||||
<view class="gg flex align-center justify-center" v-if="noticeList.length>0">
|
||||
<view class="gg-box flex align-center justify-between">
|
||||
<image src="../../static/images/index/ggIcon.png" mode=""></image>
|
||||
<swiper :autoplay="true" :vertical="true" :interval="4000" :circular="true"
|
||||
:indicator-dots="false" class="gg-box-swiper">
|
||||
<swiper :autoplay="true" :vertical="true" :interval="4000" :circular="true" :indicator-dots="false"
|
||||
class="gg-box-swiper">
|
||||
<block v-for="(item, index) in noticeList">
|
||||
<swiper-item @tap='goMsg(item.url)'>
|
||||
<view class="gg-box-swiper-t">{{item.title}}</view>
|
||||
@@ -75,12 +78,12 @@
|
||||
<view class="centers">
|
||||
<view class="centers-cistrict flex align-center justify-center" v-if="gridList.length > 0">
|
||||
<view class="centers-cistrict-box">
|
||||
<swiper :indicator-dots="false" class="centers-cistrict-boxs" :autoplay="false"
|
||||
:interval="3000" :duration="300">
|
||||
<swiper :indicator-dots="false" class="centers-cistrict-boxs" :autoplay="false" :interval="3000"
|
||||
:duration="300">
|
||||
<swiper-item v-for="(item,index) in gridList" :key="index">
|
||||
<view class="swiper-item flex align-center justify-between">
|
||||
<view class="swiper-item-s" @click="goGridList(ite)"
|
||||
v-for="(ite,ind) in item.child" :key="ind">
|
||||
<view class="swiper-item-s" @click="goGridList(ite)" v-for="(ite,ind) in item.child"
|
||||
:key="ind">
|
||||
<view class="swiper-item-s-img">
|
||||
<image :src="ite.imageUrl" mode="aspectFill"></image>
|
||||
</view>
|
||||
@@ -213,6 +216,7 @@
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
showSearch: false,
|
||||
showzls: true,
|
||||
shodrags: true,
|
||||
shodrag: false, //是否显示拖拽悬浮
|
||||
@@ -1195,6 +1199,14 @@
|
||||
text-align: justify;
|
||||
line-height: 1.6;
|
||||
}
|
||||
.top-zhanwei{
|
||||
/* #ifdef H5 */
|
||||
padding-top: 32rpx;
|
||||
/* #endif */
|
||||
/* #ifndef H5 */
|
||||
padding-top: 44px;
|
||||
/* #endif */
|
||||
}
|
||||
|
||||
.contentview .des .link {
|
||||
color: #5074FF;
|
||||
|
||||
Reference in New Issue
Block a user