|
|
@@ -226,6 +226,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <nomore v-if="page >= totlo"></nomore>
|
|
|
</scroll-view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -446,6 +447,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <nomore v-if="page >= totlo"></nomore>
|
|
|
</scroll-view>
|
|
|
<empty :isShow="false" v-if="datasList.length == 0" />
|
|
|
</view>
|
|
|
@@ -467,12 +469,14 @@
|
|
|
|
|
|
<script>
|
|
|
import empty from '../../components/empty.vue'
|
|
|
+import nomore from '../../components/nomore.vue'
|
|
|
import permision from '@/js_sdk/wa-permission/permission.js'
|
|
|
import companyListIndex from '@/components/companyListIndex/companyListIndex.vue'
|
|
|
export default {
|
|
|
components: {
|
|
|
empty,
|
|
|
- companyListIndex
|
|
|
+ companyListIndex,
|
|
|
+ nomore
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -1347,6 +1351,7 @@ export default {
|
|
|
} else {
|
|
|
this.datasList = [...this.datasList, ...list]
|
|
|
}
|
|
|
+ this.totlo = res.data.pages
|
|
|
} else {
|
|
|
// 5. 异常情况:仅第一页清空列表,避免翻页时丢失数据
|
|
|
if (this.page === 1) {
|
|
|
@@ -1822,7 +1827,10 @@ export default {
|
|
|
.page-container {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
- height: calc(100vh - 50px);
|
|
|
+ height:100vh;
|
|
|
+ //#ifdef H5
|
|
|
+ height: calc(100vh - var(--window-bottom));
|
|
|
+ //#endif
|
|
|
// margin-bottom: 60px;
|
|
|
}
|
|
|
|
|
|
@@ -2395,8 +2403,6 @@ page {
|
|
|
width: 100%;
|
|
|
flex: 1;
|
|
|
overflow: auto;
|
|
|
- margin-bottom: 10rpx;
|
|
|
-
|
|
|
.gwList-box {
|
|
|
width: 710rpx;
|
|
|
height: 100%;
|