添加游客

This commit is contained in:
仲么了
2023-02-28 16:39:58 +08:00
parent 841cf9ae2d
commit 5feb70a9c5
17 changed files with 388 additions and 43 deletions

View File

@@ -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
},