|
@@ -55,7 +55,9 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
-import { regulationsListData } from '@/agrcloud-api/regulations';
|
|
|
|
|
|
+import {
|
|
|
|
+ regulationsListData
|
|
|
|
+} from '@/agrcloud-api/regulations';
|
|
import uniLoadMore from "@/agrcloud-components/uni-load-more/uni-load-more.vue"
|
|
import uniLoadMore from "@/agrcloud-components/uni-load-more/uni-load-more.vue"
|
|
|
|
|
|
export default {
|
|
export default {
|
|
@@ -91,6 +93,7 @@ export default {
|
|
this.loadStatus = 'loading';
|
|
this.loadStatus = 'loading';
|
|
|
|
|
|
regulationsListData(this.pagination).then(res => {
|
|
regulationsListData(this.pagination).then(res => {
|
|
|
|
+ debugger
|
|
// 数据总条数
|
|
// 数据总条数
|
|
this.pageTotal = res.total || 0;
|
|
this.pageTotal = res.total || 0;
|
|
|
|
|
|
@@ -139,7 +142,8 @@ export default {
|
|
});
|
|
});
|
|
},
|
|
},
|
|
handleScrolltolower() {
|
|
handleScrolltolower() {
|
|
- this.loadStatus = 'loading'
|
|
|
|
|
|
+ debugger;
|
|
|
|
+ this.loadStatus = 'loading';
|
|
if (this.pagination.pageNum - 1 >= this.pageCount) {
|
|
if (this.pagination.pageNum - 1 >= this.pageCount) {
|
|
this.loadStatus = 'noMores';
|
|
this.loadStatus = 'noMores';
|
|
return;
|
|
return;
|
|
@@ -162,7 +166,8 @@ export default {
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
|
|
|
|
-<style lang="scss" scoped>
|
|
|
|
|
|
+<style lang="scss"
|
|
|
|
+ scoped>
|
|
.regulations {
|
|
.regulations {
|
|
padding-top: 25rpx;
|
|
padding-top: 25rpx;
|
|
width: 100%;
|
|
width: 100%;
|
|
@@ -170,6 +175,13 @@ export default {
|
|
.regulations-content {
|
|
.regulations-content {
|
|
width: 100%;
|
|
width: 100%;
|
|
|
|
|
|
|
|
+ .scroll-Y {
|
|
|
|
+ height: calc(
|
|
|
|
+ 100vh - 88rpx - 100rpx - env(safe-area-inset-bottom) -
|
|
|
|
+ var(--status-bar-height)
|
|
|
|
+ );
|
|
|
|
+ }
|
|
|
|
+
|
|
.regulations-listbody {
|
|
.regulations-listbody {
|
|
width: 100%;
|
|
width: 100%;
|
|
|
|
|