diff --git a/package-lock.json b/package-lock.json
index dba791a..f7bef85 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -7043,6 +7043,11 @@
"integrity": "sha512-MEl9uirslVwqQU369iHNWZXsI8yaZYGg/D65aOgZkeyFJwHYSxilf7rQzXKI7DdDuBPrBXbfk3sl9hJhmd5AUw==",
"dev": true
},
+ "es6-promise": {
+ "version": "4.2.8",
+ "resolved": "https://registry.npmmirror.com/es6-promise/-/es6-promise-4.2.8.tgz",
+ "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w=="
+ },
"escalade": {
"version": "3.1.1",
"resolved": "https://registry.npmmirror.com/escalade/-/escalade-3.1.1.tgz",
@@ -7599,6 +7604,15 @@
"readable-stream": "^2.3.6"
}
},
+ "flv.js": {
+ "version": "1.6.2",
+ "resolved": "https://registry.npmmirror.com/flv.js/-/flv.js-1.6.2.tgz",
+ "integrity": "sha512-xre4gUbX1MPtgQRKj2pxJENp/RnaHaxYvy3YToVVCrSmAWUu85b9mug6pTXF6zakUjNP2lFWZ1rkSX7gxhB/2A==",
+ "requires": {
+ "es6-promise": "^4.2.8",
+ "webworkify-webpack": "^2.1.5"
+ }
+ },
"flyio": {
"version": "0.6.14",
"resolved": "https://registry.npmmirror.com/flyio/-/flyio-0.6.14.tgz",
@@ -17412,6 +17426,11 @@
"integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==",
"dev": true
},
+ "webworkify-webpack": {
+ "version": "2.1.5",
+ "resolved": "https://registry.npmmirror.com/webworkify-webpack/-/webworkify-webpack-2.1.5.tgz",
+ "integrity": "sha512-2akF8FIyUvbiBBdD+RoHpoTbHMQF2HwjcxfDvgztAX5YwbZNyrtfUMgvfgFVsgDhDPVTlkbb5vyasqDHfIDPQw=="
+ },
"whatwg-encoding": {
"version": "1.0.5",
"resolved": "https://registry.npmmirror.com/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz",
diff --git a/package.json b/package.json
index cdd0546..23fa884 100644
--- a/package.json
+++ b/package.json
@@ -69,6 +69,7 @@
"@dcloudio/uni-stat": "^2.0.2-3081220230817001",
"@vue/shared": "^3.0.0",
"core-js": "^3.6.5",
+ "flv.js": "^1.6.2",
"flyio": "^0.6.2",
"uview-ui": "^1.8.8",
"vue": "^2.6.11",
diff --git a/src/App.vue b/src/App.vue
index 26bd32d..bd474be 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -57,10 +57,14 @@
.flex-row{
display: flex;
flex-direction: row;
+
}
.flex-1{
flex: 1;
}
+ .align-items{
+ align-items: center;
+ }
.clamp {
overflow: hidden;
text-overflow: ellipsis;
@@ -160,7 +164,7 @@
.bg_colorf8{
background-color: #f8f8f8;
}
- // 顶部筛选样式
+ //公用 顶部筛选样式
.secreen-section{
.slot-content{
padding: 30rpx;
@@ -174,6 +178,7 @@
.time_box{
display: flex;
align-items: center;
+ height: 44rpx;
.tip_txt{
color: #ccc;
}
@@ -183,6 +188,12 @@
}
}
}
+ .btn_group{
+ display: flex;
+ .btn{
+ width: 300rpx;
+ }
+ }
.quick_times{
padding: 18rpx 24rpx 24rpx 24rpx;
.tab-section{
@@ -234,6 +245,7 @@
}
}
}
+ //弹出预警温度
.u-popup-section{
height: 100%;
display: flex;
@@ -281,4 +293,177 @@
}
}
}
+ //公用底部弹出详情
+ .popup-form-info{
+ min-height: 450rpx;
+ padding-bottom: 75rpx;
+ .top_box{
+ height: 96rpx;
+ padding: 0 40rpx;
+ .handle-btns{
+ height: 100%;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ font-size: 30rpx;
+ .btn_del{
+ color:#fa3534;
+
+ }
+ .btn_edit{
+ color:#2979ff;
+ }
+ }
+ }
+ .form_edit{
+ padding: 0 30rpx;
+
+ }
+ .plist{
+ display: flex;
+ padding: 20rpx 40rpx;
+ .label_t{
+ width: 100px;
+ }
+ }
+ }
+ //弹窗表单详情编辑
+ .popup-form-ubox{
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ .top_box{
+ height: 96rpx;
+ padding: 0 40rpx;
+ .title{
+ width: 100%;
+ height: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 32rpx;
+ font-weight: bold;
+ }
+ }
+ .form_edit{
+ padding: 0 30rpx;
+ .label_tit{
+ padding-top: 28rpx;
+ }
+ }
+ .label_tit{
+ padding: 18rpx 0;
+ }
+ .scroll-y{
+ flex: 1;
+ flex-shrink: 0;
+ min-height: 1px;
+ }
+ .buttom_section{
+ display: flex;
+ padding: 40rpx 24rpx 40rpx 24rpx;
+ .btn{
+ width: 220rpx;
+ }
+ }
+ }
+ // 公用 swiper列表样式
+ .tb_swipe_list{
+ margin-bottom: 24rpx;
+ border-radius: 6rpx;
+ .tb_body{
+ padding: 16rpx;
+ background-color: #fff;
+ position: relative;
+
+ .row_box{
+ font-size: 28rpx;
+ line-height: 40rpx;
+ color: #333;
+ &:nth-of-type(1){
+ font-size: 30rpx;
+ margin-bottom: 5rpx;
+ padding-right: 100rpx;
+ }
+ }
+ .tag_status{
+ position: absolute;
+ right: 30rpx;
+ top: 20rpx;
+ }
+ }
+
+ }
+ .tip_err_text{
+ font-size: 28rpx;
+ color: #fa3534;
+ }
+ .secreen-show-box{
+ display: flex;
+ align-items: center;
+ background-color: #fff;
+ padding: 20rpx 30rpx;
+ color: #666;
+ }
+ .placeholder{
+ color: rgb(192, 196, 204);
+ }
+ .u-select-list{
+ display: flex;
+ position: relative;
+ padding-right: 70rpx;
+ .value{
+ line-height: initial;
+ }
+ .right{
+ position: absolute;
+ top: 0;
+ right: 0;
+ }
+ }
+ .popup-select-section{
+ width: 100%;
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ .top_section{
+ padding: 30rpx;
+ .title{
+ font-size: 32rpx;
+ }
+ }
+ .scrollY{
+ flex: 1;
+ width: 100%;
+ min-height: 300rpx;
+
+ }
+ .info_cont{
+ padding: 0 30rpx;
+ }
+ .buttom_section{
+ display: flex;
+ padding: 30rpx;
+ .btn{
+ width: 240rpx;
+ }
+ }
+ .select-box{
+ display: flex;
+ flex-wrap: wrap;
+ padding-bottom: 30rpx;
+ .select-item{
+ border: 1px solid #2979ff;
+ color: #2979ff;
+ padding: 4rpx 28rpx;
+ border-radius: 72rpx;
+ margin-top: 20rpx;
+ margin-right: 20rpx;
+ &.active{
+ color: #fff;
+ background-color: #2979ff;
+ }
+ }
+ }
+ }
diff --git a/src/com/subscribeTmplIds.js b/src/com/subscribeTmplIds.js
deleted file mode 100644
index 963c41e..0000000
--- a/src/com/subscribeTmplIds.js
+++ /dev/null
@@ -1,3 +0,0 @@
-export const SHJGTMPLID = 'Xejag3ttwOw_xLvXsrMULjnoNcm5bJIyu-ACnshUnKY';//审核结果
-
-export const SFTZTMPLID = 'slzGT4a8GDQUjmd4uHrZmHYD8ta55KrXe9RTOrL0qRc';//收费通知
\ No newline at end of file
diff --git a/src/components/video-flv-h5/video-flv-h5.vue b/src/components/video-flv-h5/video-flv-h5.vue
new file mode 100644
index 0000000..3928512
--- /dev/null
+++ b/src/components/video-flv-h5/video-flv-h5.vue
@@ -0,0 +1,122 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages.json b/src/pages.json
index e212d34..f4400c2 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -82,6 +82,24 @@
}
}
+ ,{
+ "path" : "pages/system/account",
+ "style" :
+ {
+ "navigationBarTitleText": "账号管理",
+ "enablePullDownRefresh": false
+ }
+
+ }
+ ,{
+ "path" : "pages/system/log",
+ "style" :
+ {
+ "navigationBarTitleText": "系统日志",
+ "enablePullDownRefresh": false
+ }
+
+ }
],
"globalStyle": {
"navigationBarTextStyle": "white",
diff --git a/src/pages/index/monitor.vue b/src/pages/index/monitor.vue
index 2443670..568f1a8 100644
--- a/src/pages/index/monitor.vue
+++ b/src/pages/index/monitor.vue
@@ -3,43 +3,130 @@
-
-
+
+
-
+
+
+
+
+
-
-
+
+
- 选择日期:
+ 开始时间:
开始日期-结束日期
+ @click="pickerTimeFn('start')">请选择开始时间
{{start_date_c}} ~ {{end_date_c}}
-
+ @click="pickerTimeFn('start')">{{start_date_c}}
+
- 确定
+
+
+
+ 结束时间:
+
+
+ 请选择结束时间
+ {{end_date_c}}
+
+
+
+
+
+
+
+
+
+ 请选择开始时间和结束时间,查询视频
+
+
+
+ 重置
+ 查询
+
+
+ 当前位置:
+ {{addressName}}-{{device_id?device_id:'全部'}}-{{is_recommend?'推荐':'全部'}}
+
+
+ 查询:
+
+ {{addressName2}}-{{device_id2}}
+ {{q_start_time}} 到 {{q_end_time}}
+
+
+
+
+
+
+
+
+
+
+
+
+ 推荐:
+
+
+ {{video.base_name}}-{{video.monitoring_point}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{video.base_name}}-{{video.monitoring_point}}
+
+
+
+
+
+
+
+
+
+
+
@@ -212,4 +498,35 @@
.utab-section{
padding: 30rpx;
}
+.content-box{
+ padding: 30rpx;
+}
+.video_ul{
+ .video_li{
+ background-color: #fff;
+ width: 100%;
+ padding: 0 12rpx;
+ margin-bottom: 30rpx;
+ .video_cd{
+ width: 100%;
+ height: 400rpx;
+ padding-top: 20rpx;
+ }
+ .bottom-box{
+ padding-top: 30rpx;
+ padding-bottom: 30rpx;
+ padding-left: 20rpx;
+ padding-right: 20rpx;
+ .row{
+ display: flex;
+ align-items: center;
+ margin-bottom: 12rpx;
+ }
+
+ }
+ .address{
+ font-size: 28rpx;
+ }
+ }
+}
diff --git a/src/pages/system/account.vue b/src/pages/system/account.vue
new file mode 100644
index 0000000..7bea10e
--- /dev/null
+++ b/src/pages/system/account.vue
@@ -0,0 +1,700 @@
+
+
+
+
+ 账号列表
+
+ 新增
+
+
+
+
+
+
+
+ 用户名:{{ item.username }}
+
+
+ 昵称:{{ item.name }}
+
+
+ 部门:{{ item.department?item.department:'-' }}
+
+
+ 是否启用:{{item.is_enable==1?'是':'否'}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/system/log.vue b/src/pages/system/log.vue
new file mode 100644
index 0000000..8bdf1bb
--- /dev/null
+++ b/src/pages/system/log.vue
@@ -0,0 +1,259 @@
+
+
+
+
+
+
+
+
+
+
+
+ 开始时间:
+
+
+ 请选择开始时间
+ {{start_date_c}}
+
+
+
+
+
+
+
+
+
+ 结束时间:
+
+
+ 请选择结束时间
+ {{end_date_c}}
+
+
+
+
+
+
+
+ 重置
+ 查询
+
+
+
+
+
+
+
+
+
+
+
+ {{item.snumber}}
+
+ 操作人:{{ item.user_name }}
+
+
+ 动作:{{ item.type|typename }}
+
+
+ 详情:{{ item.message }}
+
+
+ 时间:{{ item.created_at|timeFormat}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/system/role.vue b/src/pages/system/role.vue
index 98115a5..7866ceb 100644
--- a/src/pages/system/role.vue
+++ b/src/pages/system/role.vue
@@ -1,7 +1,16 @@
+
+
+ 角色列表
+
+ 新增
+
+
+
-
-
-