邓洁:删除首页及地图上方搜索框
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
<template>
|
||||
<view class="home-base-bg">
|
||||
<InputAndSwiper></InputAndSwiper>
|
||||
<InputAndSwiper type='0'></InputAndSwiper>
|
||||
<view class="home-content">
|
||||
<view class="service">
|
||||
<u-image src="/static/statistics/sy_icon_lxkf.png" width="108rpx" height="108rpx"/>
|
||||
</view>
|
||||
<HomeNavCard></HomeNavCard>
|
||||
<HomeNoticeBar :text="notice"/>
|
||||
<Statistics :data="statisticsNum"/>
|
||||
<HomeNoticeBar :text="notice" />
|
||||
<Statistics :data="statisticsNum" />
|
||||
<view class="show-and-search">
|
||||
<view class="show-tab list-tab" :class="{ 'tab-activate': chooseIndex === 0 }" @click="this.chooseIndex=0">
|
||||
<text>店铺列表</text>
|
||||
@@ -16,7 +13,8 @@
|
||||
<text>找店列表</text>
|
||||
</view>
|
||||
</view>
|
||||
<SearchShopList v-if="chooseIndex"/><ShowShopList v-else/>
|
||||
<SearchShopList v-if="chooseIndex" />
|
||||
<ShowShopList v-else />
|
||||
</view>
|
||||
<TabBar :current-page="0"></TabBar>
|
||||
</view>
|
||||
@@ -55,17 +53,14 @@
|
||||
.home-base-bg {
|
||||
background-color: $uni-bg-color-grey;
|
||||
width: 100%;
|
||||
|
||||
.home-content {
|
||||
margin: 0 10px;
|
||||
.service {
|
||||
position: fixed;
|
||||
right: 17rpx;
|
||||
top: 1109rpx;
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
.show-and-search{
|
||||
|
||||
.show-and-search {
|
||||
display: flex;
|
||||
|
||||
.list-tab {
|
||||
z-index: 2;
|
||||
width: 259rpx;
|
||||
@@ -80,12 +75,14 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.search-tab {
|
||||
z-index: 1;
|
||||
transform: translateX(-61rpx);
|
||||
}
|
||||
|
||||
.tab-activate {
|
||||
background: linear-gradient(#E86262,#CC3333);
|
||||
background: linear-gradient(#E86262, #CC3333);
|
||||
z-index: 3;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user