|
|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
- <div class="bgcolor deviceOutside">
|
|
|
- <div class="navBarTOP">
|
|
|
+ <div class="bgcolor home">
|
|
|
+ <div class="header">
|
|
|
<van-nav-bar class="navBar" :title="$route.meta.title">
|
|
|
<template #right>
|
|
|
<span @click="searchFn">筛选<van-icon name="arrow-down" /></span>
|
|
|
@@ -23,7 +23,7 @@
|
|
|
<van-tab title="我的" name="1" :disabled="disabled"></van-tab>
|
|
|
</van-tabs>
|
|
|
</div>
|
|
|
- <div class="content" id="content" style="margin-top: 144px" @touchmove="handleTouch">
|
|
|
+ <div class="content" id="content" @touchmove="handleTouch">
|
|
|
<van-pull-refresh v-model="isLoading" @refresh="onRefresh">
|
|
|
<van-list
|
|
|
class="myList"
|
|
|
@@ -353,7 +353,7 @@ export default {
|
|
|
mounted() {
|
|
|
localStorage.setItem('tabVal', '1');
|
|
|
// 上拉边界下拉出现白色空白
|
|
|
- let node = document.getElementsByClassName('deviceOutside')[0];
|
|
|
+ let node = document.getElementsByClassName('home')[0];
|
|
|
node.addEventListener(
|
|
|
'touchmove',
|
|
|
(e) => {
|
|
|
@@ -530,10 +530,10 @@ export default {
|
|
|
this.list = [];
|
|
|
this.refreshing = false;
|
|
|
}
|
|
|
- getUserOutPlaList({
|
|
|
- lat: this.lat,
|
|
|
- lon: this.lon,
|
|
|
- chainCode: this.chainCode ? this.chainCode : '',
|
|
|
+ queryMyChainsGroupList({
|
|
|
+ // lat: this.lat,
|
|
|
+ // lon: this.lon,
|
|
|
+ // chainCode: this.chainCode ? this.chainCode : '',
|
|
|
pageNum: this.pageNum,
|
|
|
typeCodeList: this.storeCategoryList,
|
|
|
pageSize: this.pageSize,
|
|
|
@@ -992,12 +992,6 @@ export default {
|
|
|
border-top: 1px solid #eee;
|
|
|
margin: 0 10px;
|
|
|
}
|
|
|
-.navBarTOP {
|
|
|
- position: fixed;
|
|
|
- width: 100%;
|
|
|
- z-index: 2;
|
|
|
- top: 0;
|
|
|
-}
|
|
|
.statstext {
|
|
|
background-color: #0057ba;
|
|
|
position: absolute;
|
|
|
@@ -1014,7 +1008,7 @@ export default {
|
|
|
.statstext .van-icon__image {
|
|
|
height: 0.7em;
|
|
|
}
|
|
|
-.deviceOutside {
|
|
|
+.home {
|
|
|
height: 100%;
|
|
|
width: 100%;
|
|
|
display: flex;
|
|
|
@@ -1022,10 +1016,13 @@ export default {
|
|
|
overflow: hidden;
|
|
|
.content {
|
|
|
flex: 1;
|
|
|
- overflow-y: auto;
|
|
|
- padding-bottom: 50px;
|
|
|
+ overflow: hidden;
|
|
|
+ padding: 10px 0;
|
|
|
.van-pull-refresh {
|
|
|
height: 100%;
|
|
|
+ overflow-y: auto;
|
|
|
+ .van-pull-refresh__track {
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -1116,7 +1113,7 @@ export default {
|
|
|
margin-bottom: 50px;
|
|
|
}
|
|
|
}
|
|
|
-.deviceOutside {
|
|
|
+.home {
|
|
|
.TCFXListItem {
|
|
|
display: inline-block;
|
|
|
border: 1px solid #ccc;
|