|
@@ -1,17 +1,18 @@
|
|
|
<template>
|
|
|
<view class="box defaultBgc">
|
|
|
<scroll-view class="scrollBox" scroll-y="true" @scrolltolower="loadingMore" @refresherrefresh="refresh" style="position:relative;">
|
|
|
- <view class="block pb-10">
|
|
|
+ <view class="white-bgc">
|
|
|
<uni-search-bar
|
|
|
- class="px-0"
|
|
|
radius="8"
|
|
|
placeholder="请输入关键字"
|
|
|
cancelButton="none"
|
|
|
:focus="false"
|
|
|
@confirm="onSearch($event.value)"
|
|
|
/>
|
|
|
- <SwiperAd class="pb-20" :list="swiperAdList"></SwiperAd>
|
|
|
- <!-- <FilterList class="pb-10" :list="filterList" idValue="label"></FilterList> -->
|
|
|
+ </view>
|
|
|
+ <view class="white-bgc px-10 pb-10 mb-10">
|
|
|
+ <SwiperAd :list="swiperAdList"></SwiperAd>
|
|
|
+ <!-- <FilterList :list="filterList" idValue="label"></FilterList> -->
|
|
|
</view>
|
|
|
<PositionList class="pb-10" :list="positionListData" :noMore="noMore"></PositionList>
|
|
|
</scroll-view>
|
|
@@ -91,14 +92,11 @@ onPullDownRefresh(() => { // 下拉刷新
|
|
|
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
|
|
|
.pb-10 { padding-bottom: 10px; }
|
|
|
.pb-20 { padding-bottom: 20px; }
|
|
|
+.px-10 { padding-left: 10px; padding-right: 10px; }
|
|
|
+.mb-10 { margin-bottom: 10px; }
|
|
|
.box {
|
|
|
height: calc(100vh - 110px);
|
|
|
overflow: hidden;
|
|
|
- .block{
|
|
|
- margin-bottom: 10px;
|
|
|
- padding: 0 30rpx;
|
|
|
- background-color: #fff;
|
|
|
- }
|
|
|
}
|
|
|
.scrollBox{
|
|
|
height: 100%;
|