| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <view class="toptip {{tipStaus}} text-white {{tipType}}" style='top:{{CustomBar}}px;'>{{tipText}}</view>
- <cu-custom bgColor="bg-color" isBack="{{true}}" title="{{devicetypeName}}"></cu-custom>
- <!-- <view class="worker_search">
- <view class="worker_search_con">
- <input type="text" placeholder="请输入冷链编号" value="{{keyword}}" bindinput="setKeyword"></input>
- <view class="text-color" bindtap="searchList"><text class="cuIcon-search"></text>搜索</view>
- </view>
- </view> -->
- <view>
- <scroll-view scroll-y enable-back-to-top>
- <view style="margin: 20rpx 20rpx 100rpx 20rpx;">
- <block wx:for="{{ detailsList }}" wx:for-item="item" wx:for-index="index" wx:key="index">
- <view class="list {{item.isTouchMove ? 'touch-move-active' : ''}}" bindtouchstart="touchStart"
- bindtouchmove="touchMove" data-index="{{ index }}">
- <view class="listInfo" data-deviceCode="{{item.deviceCode}}" bindtap="toInfo" data-id="{{item.id}}">
- <view class="code">
- <text style="width: 13%;">编号:</text>
- <text style="width: 87%;">{{item.deviceCode || '-'}}</text>
- </view>
- <view>
- <text>绑定状态:</text>
- <text wx:if="{{item.bindStatus == 1}}">监测中</text>
- <text wx:if="{{item.bindStatus == 0}}">已解除绑定</text>
- </view>
- <view>
- <text>起始时间:</text>
- <text>{{item.bindTime || '--'}}</text>
- </view>
- <view>
- <text>结束时间:</text>
- <text>{{item.unBindTime || '--'}}</text>
- </view>
- </view>
- <view class="scrollText">
- <!-- <view class="edit" bindtap="editList" data-index="{{ index }}" data-id="{{item.id}}" data-name="{{item.name}}"> 修改 </view> -->
- <view class="del" bindtap="delList" data-id="{{item.id}}"> 删除 </view>
- </view>
- </view>
- </block>
- </view>
- </scroll-view>
- </view>
- <view class="addLabel" bindtap="addLabel" wx:if="{{devicetypeName == 'X201' || devicetypeName == 'X202'||devicetypeName == 'X203' || devicetypeName == 'X104'}}">
- <text>添加</text>
- </view>
- <view class="zan-dialog {{ showDialog ? 'zan-dialog--show' : '' }}">
- <!-- 如果想点击弹窗外不隐藏,取消bindtap点击事件即可 -->
- <view class="zan-dialog__mask" bindtap="toggleDialog" />
- <view class="zan-dialog__container">
- <view class="cha_win_tit">请选择</view>
- <view class="selectInfo">
- <view bindtap="chainBind">
- <image src="/img/X202.png"></image>
- <view>扫描</view>
- </view>
- <!-- <view bindtap="inputBind">
- <image src="/img/input.png"></image>
- <view>手动输入编号</view>
- </view> -->
- </view>
- <view class="cha_win_close" bindtap="toggleDialog">
- <text>×</text>
- </view>
- </view>
- </view>
|