clearWarning.wxml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <view class="toptip {{tipStaus}} text-white {{tipType}}" style='top:{{CustomBar}}px;'>{{tipText}}</view>
  2. <cu-custom bgColor="bg-color" isBack="{{true}}" title="预警列表">
  3. <!-- <view slot="content">预警列表</view> -->
  4. </cu-custom>
  5. <view class="news_nav">
  6. <view class="news_nav_item {{newsNavIndex == 11 && ' sec'}}" bindtap="setTab" data-val="11">
  7. <view>I型有源</view>
  8. <!-- <text>12</text> -->
  9. </view>
  10. <view class="news_nav_item {{newsNavIndex == 20 && ' sec'}}" bindtap="setTab" data-val="X202">
  11. <view>II型有源</view>
  12. <!-- <text>6</text> -->
  13. </view>
  14. </view>
  15. <view class="worningList" wx:if="{{worningList.length > 0}}">
  16. <view class="list_item" wx:for="{{worningList}}" wx:for-item="item">
  17. <view class="worningList_item_txt">
  18. <view>编号:</view>
  19. <text>{{item}}</text>
  20. </view>
  21. <view class="worningList_item_info">
  22. <view bindtap="toInfo" data-deviceCode="{{item}}">查看详情</view>
  23. <view bindtap="clearWorning" data-deviceCode="{{item}}">解除预警</view>
  24. </view>
  25. </view>
  26. </view>
  27. <view class="news_empty" wx:else>
  28. <view class="news_empty_mid">
  29. <image src="/img/news_img1.png"></image>
  30. <view>抱歉 暂无消息</view>
  31. </view>
  32. </view>
  33. <view>
  34. <modal title="处理信息" hidden="{{modalHidden}}" confirm-text="解除预警" cancel-text="取消"
  35. bindconfirm="modalBindaconfirm" bindcancel="modalBindcancel">
  36. <input type="text" placeholder="请输入处理信息" value="{{modalVal}}" bindinput="setModalVal"></input>
  37. </modal>
  38. </view>