| ... | ... | @@ -25,66 +25,66 @@ | 
| 25 | 25 | </view> | 
| 26 | 26 | </view> | 
| 27 | 27 | </u-sticky> | 
| 28 |  | -		<mescroll-body ref="mescrollRef" @init="mescrollInit" :up="upOption" :down="downOption" @down="downCallback" @up="upCallback"> | 
| 29 |  | -			<view class="device-list"> | 
| 30 |  | -				<view @click="openDeviceDetail(item.id, item.alarmStatus, item.lastOnlineTime, item.tbDeviceId)" class="list-item" v-for="item in list" :key="item.id"> | 
| 31 |  | -					<view | 
| 32 |  | -						class="u-flex item" | 
| 33 |  | -						style=" | 
| 34 |  | -              justify-content: flex-start; | 
| 35 |  | -              flex-direction: column; | 
| 36 |  | -              align-items: center; | 
| 37 |  | -            " | 
| 38 |  | -					> | 
| 39 |  | -						<view style="width: 450rpx; text-align: left"> | 
| 40 |  | -							<text style="color: #333; font-size: 30rpx;font-weight: bold;">{{ item.name }}</text> | 
| 41 |  | -						</view> | 
| 42 |  | -						<view style="width: 450rpx; text-align: left; margin-top: 10rpx"> | 
| 43 |  | -							<view style="color: #666; font-size: 14px;display: flex;"> | 
| 44 |  | -								设备编号: | 
| 45 |  | -								<view style="margin-left:16rpx">{{ item.sn }}</view> | 
|  | 28 | +			<mescroll-body ref="mescrollRef" @init="mescrollInit" :up="upOption" :down="downOption" @down="downCallback" @up="upCallback"> | 
|  | 29 | +				<view class="device-list"> | 
|  | 30 | +					<view @click="openDeviceDetail(item.id, item.alarmStatus, item.lastOnlineTime, item.tbDeviceId)" class="list-item" v-for="item in list" :key="item.id"> | 
|  | 31 | +						<view | 
|  | 32 | +							class="u-flex item" | 
|  | 33 | +							style=" | 
|  | 34 | +			          justify-content: flex-start; | 
|  | 35 | +			          flex-direction: column; | 
|  | 36 | +			          align-items: center; | 
|  | 37 | +			        " | 
|  | 38 | +						> | 
|  | 39 | +							<view style="width: 450rpx; text-align: left"> | 
|  | 40 | +								<text style="color: #333; font-size: 30rpx;font-weight: bold;">{{ item.name }}</text> | 
| 46 | 41 | </view> | 
| 47 |  | -						</view> | 
| 48 |  | -						<view style="width: 450rpx; text-align: left; margin-top: 10rpx"> | 
| 49 |  | -							<view style="color: #666; font-size: 14px;display: flex;"> | 
| 50 |  | -								所属组织: | 
| 51 |  | -								<view style="margin-left:16rpx">{{ item.organizationDTO.name }}</view> | 
|  | 42 | +							<view style="width: 450rpx; text-align: left; margin-top: 10rpx"> | 
|  | 43 | +								<view style="color: #666; font-size: 14px;display: flex;"> | 
|  | 44 | +									设备编号: | 
|  | 45 | +									<view style="margin-left:16rpx">{{ item.sn }}</view> | 
|  | 46 | +								</view> | 
|  | 47 | +							</view> | 
|  | 48 | +							<view style="width: 450rpx; text-align: left; margin-top: 10rpx"> | 
|  | 49 | +								<view style="color: #666; font-size: 14px;display: flex;"> | 
|  | 50 | +									所属组织: | 
|  | 51 | +									<view style="margin-left:16rpx">{{ item.organizationDTO.name }}</view> | 
|  | 52 | +								</view> | 
| 52 | 53 | </view> | 
| 53 | 54 | </view> | 
| 54 |  | -					</view> | 
| 55 |  | -					<view class="item"> | 
| 56 |  | -						<view class="u-flex" style="margin-top: -6rpx"> | 
| 57 |  | -							<image | 
| 58 |  | -								style=" | 
| 59 |  | -                  width: 30rpx; | 
| 60 |  | -                  height: 30rpx; | 
| 61 |  | -                  margin-top: 5rpx; | 
| 62 |  | -                  margin-right: 5rpx; | 
| 63 |  | -                " | 
| 64 |  | -								:src="item.deviceState === 'ONLINE' ? '../../static/online.png' : item.deviceState === 'INACTIVE' ? '../../static/unonline.png' : '../../static/baojing.png'" | 
| 65 |  | -							/> | 
| 66 |  | - | 
| 67 |  | -							<view> | 
| 68 |  | -								<text | 
|  | 55 | +						<view class="item"> | 
|  | 56 | +							<view class="u-flex" style="margin-top: -6rpx"> | 
|  | 57 | +								<image | 
| 69 | 58 | style=" | 
| 70 |  | -                    color: #377dff; | 
| 71 |  | -                    font-size: 13px; | 
| 72 |  | -                    margin-left: 5rpx; | 
| 73 |  | -                    margin-top: 20rpx; | 
| 74 |  | -                  " | 
| 75 |  | -									:style="{ color: item.deviceState === 'ONLINE' ? '#377DFF' : item.deviceState === 'INACTIVE' ? '#666666' : '#DE4437' }" | 
| 76 |  | -								> | 
| 77 |  | -									{{ item.deviceState === 'ONLINE' ? '在线' : item.deviceState === 'INACTIVE' ? '待激活' : '离线' }} | 
| 78 |  | -								</text> | 
|  | 59 | +			              width: 30rpx; | 
|  | 60 | +			              height: 30rpx; | 
|  | 61 | +			              margin-top: 5rpx; | 
|  | 62 | +			              margin-right: 5rpx; | 
|  | 63 | +			            " | 
|  | 64 | +									:src="item.deviceState === 'ONLINE' ? '../../static/online.png' : item.deviceState === 'INACTIVE' ? '../../static/unonline.png' : '../../static/baojing.png'" | 
|  | 65 | +								/> | 
|  | 66 | + | 
|  | 67 | +								<view> | 
|  | 68 | +									<text | 
|  | 69 | +										style=" | 
|  | 70 | +			                color: #377dff; | 
|  | 71 | +			                font-size: 13px; | 
|  | 72 | +			                margin-left: 5rpx; | 
|  | 73 | +			                margin-top: 20rpx; | 
|  | 74 | +			              " | 
|  | 75 | +										:style="{ color: item.deviceState === 'ONLINE' ? '#377DFF' : item.deviceState === 'INACTIVE' ? '#666666' : '#DE4437' }" | 
|  | 76 | +									> | 
|  | 77 | +										{{ item.deviceState === 'ONLINE' ? '在线' : item.deviceState === 'INACTIVE' ? '待激活' : '离线' }} | 
|  | 78 | +									</text> | 
|  | 79 | +								</view> | 
| 79 | 80 | </view> | 
| 80 | 81 | </view> | 
| 81 | 82 | </view> | 
| 82 | 83 | </view> | 
| 83 |  | -			</view> | 
| 84 |  | -		</mescroll-body> | 
|  | 84 | +			</mescroll-body> | 
| 85 | 85 | <!-- 设备筛选 --> | 
| 86 |  | -		<u-popup @close="close" closeable bgColor="#fff" :show="show" mode="bottom" :round="20"> | 
| 87 |  | -			<view class="filter"> | 
|  | 86 | +		<u-popup @close="close" closeable bgColor="#fff" :show="show" mode="bottom" :round="20" @touchmove.stop.prevent="disabledScroll"> | 
|  | 87 | +			<view class="filter" @touchmove.stop.prevent="disabledScroll"> | 
| 88 | 88 | <view class="filter-title"><text>筛选条件</text></view> | 
| 89 | 89 | <FilterItem :filterList="deviceStatus" title="设备状态" @clickTag="currentIndex => handleClickTag(currentIndex, deviceStatus)"></FilterItem> | 
| 90 | 90 | <FilterItem :filterList="alarmStatus" title="告警状态" @clickTag="currentIndex => handleClickTag(currentIndex, alarmStatus)"></FilterItem> | 
| ... | ... | @@ -116,6 +116,7 @@ export default { | 
| 116 | 116 | auto: false //是否在初始化后,自动执行downCallback; 默认true | 
| 117 | 117 | }, | 
| 118 | 118 | upOption: { | 
|  | 119 | +				isBounce: false, | 
| 119 | 120 | auto: false // 不自动加载 | 
| 120 | 121 | }, | 
| 121 | 122 | show: false, | 
| ... | ... | @@ -217,6 +218,9 @@ export default { | 
| 217 | 218 | } | 
| 218 | 219 | }, | 
| 219 | 220 | methods: { | 
|  | 221 | +		disabledScroll() { | 
|  | 222 | +			return; | 
|  | 223 | +		}, | 
| 220 | 224 | /*下拉刷新的回调 */ | 
| 221 | 225 | downCallback() { | 
| 222 | 226 | //联网加载数据 | 
| ... | ... | @@ -379,4 +383,4 @@ export default { | 
| 379 | 383 | } | 
| 380 | 384 | } | 
| 381 | 385 | } | 
| 382 |  | -</style> | 
|  | 386 | +</style> | 
... | ... |  |