修改抄表路线问题
This commit is contained in:
@@ -31,6 +31,9 @@ Component({
|
||||
maxScrollLeft: newList?.length ? 220 * newList.length - (scrollWidth || 0) - 20 : 0,
|
||||
})
|
||||
}
|
||||
},
|
||||
"finishNumber": function(newValue) {
|
||||
console.log("finishNumber0000000000-----------", newValue)
|
||||
}
|
||||
},
|
||||
/**
|
||||
@@ -54,9 +57,7 @@ Component({
|
||||
maxScrollLeft:length ? 220 * list.length - (res?.[0]?.width || 0) - 20 : 0,
|
||||
scrollWidth: res?.[0]?.width || 0
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
})
|
||||
}
|
||||
},
|
||||
/**
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
<view class="wrapper">
|
||||
<view class="title">
|
||||
<text> 电表列表 (总计{{list.length}}块,已抄{{finishNumber}}块) </text>
|
||||
<text> 电表列表 (总计{{list.length}}块,已抄{{list.length - finishNumber}}块) </text>
|
||||
</view>
|
||||
<view style="display: flex; align-items: center;margin-top: 20rpx;">
|
||||
<van-icon name="arrow-left" size="50rpx" bind:tap="scrollLeft" />
|
||||
|
Reference in New Issue
Block a user