细节优化
This commit is contained in:
@ -24,7 +24,7 @@
|
||||
<view class="Sendmessage" @click="handleSend">发送信息</view>
|
||||
</view>
|
||||
<mescroll-uni class="device-list" @init="mescrollInit" @down="downCallback" @up="upCallback" :up="upOption"
|
||||
:down="downOption" :fixed="false" :style="{ height: `calc(100vh - ${navBarHeight + 180}rpx)` }">
|
||||
:down="downOption" :fixed="false">
|
||||
<view v-if="deviceList.length > 0">
|
||||
<uni-swipe-action ref="swipeAction">
|
||||
<block v-for="(item, index) in deviceList" :key="index" :ref="'swipeItem_' + index">
|
||||
@ -210,8 +210,7 @@
|
||||
upOption: {
|
||||
auto: false,
|
||||
noMoreSize: 1,
|
||||
offset: 50,
|
||||
isLock: false,
|
||||
offset: 80,
|
||||
empty: {
|
||||
tip: '暂无相关数据'
|
||||
}
|
||||
@ -220,7 +219,7 @@
|
||||
page: 1, // 当前页码
|
||||
size: 10, // 每页条数
|
||||
total: 0, // 总数据量
|
||||
loadedCount: 0, // 关键:记录已加载的总条数
|
||||
loadedCount: 0,
|
||||
loading: false,
|
||||
finished: false,
|
||||
deviceId: '',
|
||||
|
||||
Reference in New Issue
Block a user