|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <scroll-view class="container" scroll-y="true" @scrolltolower="handleLoadMore()">
|
|
|
+ <scroll-view class="container" :style="{backgroundColor: entrustTotle ? '#f7f7f7' : '#FFFFFF'}" scroll-y="true" @scrolltolower="handleLoadMore()">
|
|
|
<view class="entrust-info">
|
|
|
<view class="entrust-info-text">共{{entrustTotle}}个委托订单</view>
|
|
|
</view>
|
|
@@ -67,14 +67,15 @@
|
|
|
if (res.isSuccess) {
|
|
|
if (res.data.list.length) {
|
|
|
this.isOver = res.data.list.length != 10
|
|
|
- this.plantList = this.plantList.concat(res.data.list)
|
|
|
+ this.entrustList = this.entrustList.concat(res.data.list)
|
|
|
this.entrustTotle = res.data.total
|
|
|
- } else {
|
|
|
- this.$refs.uTips.show({
|
|
|
- title: '当前无委托订单',
|
|
|
- type: 'warning',
|
|
|
- })
|
|
|
- }
|
|
|
+ }
|
|
|
+ // else {
|
|
|
+ // this.$refs.uTips.show({
|
|
|
+ // title: '当前无委托订单',
|
|
|
+ // type: 'warning',
|
|
|
+ // })
|
|
|
+ // }
|
|
|
}
|
|
|
}).catch(error => {
|
|
|
this.$refs.uTips.show({
|
|
@@ -105,6 +106,7 @@
|
|
|
height: 100%;
|
|
|
float: left;
|
|
|
background-color: #f7f7f7;
|
|
|
+ // background-color: #FFFFFF;
|
|
|
overflow-y: auto;
|
|
|
position: relative;
|
|
|
box-sizing: border-box;
|