添加游客
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
<Cn-page :loading='loading'>
|
||||
<view slot='body'>
|
||||
<view class='record'>
|
||||
<uni-nav-bar dark :fixed="true" status-bar left-icon="left" rightText="关闭通知" background-color="#fff"
|
||||
color="#111" title="告警情况" @clickLeft="back" @clickRight="messageSet" />
|
||||
<div class="header">
|
||||
<uni-segmented-control :current="current" :values="items" :style-type="styleType"
|
||||
:active-color="activeColor" @clickItem="onClickItem" />
|
||||
@@ -26,6 +28,17 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
back(){
|
||||
uni.navigateBack()
|
||||
},
|
||||
messageSet(){
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '确定关闭该设备的告警通知吗?',
|
||||
showCancel: true,
|
||||
success: ({ confirm, cancel }) => {}
|
||||
})
|
||||
},
|
||||
onClickItem (e) {
|
||||
this.current = e.currentIndex
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user