diff --git a/App.vue b/App.vue
index 4c9d31f..c8dacb7 100644
--- a/App.vue
+++ b/App.vue
@@ -15,12 +15,9 @@
\ No newline at end of file
+ .uni-picker-view-content{
+ position: inherit;
+ }
+ .uni-picker-view-wrapper{
+ background: rgba(42, 42, 42, 1);
+ }
+
diff --git a/api/6170/callPolice.js b/api/6170/callPolice.js
new file mode 100644
index 0000000..88a5e01
--- /dev/null
+++ b/api/6170/callPolice.js
@@ -0,0 +1,9 @@
+import request from '@/utils/request'
+//报警
+export function deviceSendAlarmMessage(data) {
+ return request({
+ url: '/app/bjq/device/sendAlarmMessage',
+ method: 'post',
+ data: data
+ })
+}
\ No newline at end of file
diff --git a/api/6170/deviceControl.js b/api/6170/deviceControl.js
index 44b4601..e257231 100644
--- a/api/6170/deviceControl.js
+++ b/api/6170/deviceControl.js
@@ -2,7 +2,7 @@
import request from '@/utils/request'
export function deviceDetail(id) {
return request({
- url: `/app/device/${id}`,
+ url: `/app/bjq/device/${id}`,
method: 'get',
})
}
@@ -16,7 +16,7 @@ export function deviceShareId(id) {
// 人员信息登记
export function registerPersonInfo(data) {
return request({
- url: `/app/device/registerPersonInfo`,
+ url: `/app/bjq/device/registerPersonInfo`,
method: 'post',
data: data
})
@@ -24,8 +24,41 @@ export function registerPersonInfo(data) {
// 发送信息
export function deviceSendMessage(data) {
return request({
- url: `/app/device/sendMessage`,
+ url: `/app/bjq/device/sendMessage`,
method: 'post',
data: data
})
}
+// 灯光模式设置
+export function lightModeSettings(data) {
+ return request({
+ url: `/app/bjq/device/lightModeSettings`,
+ method: 'post',
+ data: data
+ })
+}
+// 激光模式设置
+export function laserModeSettings(data) {
+ return request({
+ url: `/app/bjq/device/laserModeSettings`,
+ method: 'post',
+ data: data
+ })
+}
+// 灯光亮度设置
+
+export function lightBrightnessSettings(data) {
+ return request({
+ url: `/app/bjq/device/lightBrightnessSettings`,
+ method: 'post',
+ data: data
+ })
+}
+// 地图逆解析
+export function mapReverseGeocoding(data) {
+ return request({
+ url: `/app/bjq/device/mapReverseGeocoding`,
+ method: 'post',
+ data: data
+ })
+}
\ No newline at end of file
diff --git a/components/CustomPopup/CustomPopup.vue b/components/CustomPopup/CustomPopup.vue
index e2ca6db..2cafe95 100644
--- a/components/CustomPopup/CustomPopup.vue
+++ b/components/CustomPopup/CustomPopup.vue
@@ -1,182 +1,292 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/components/TimePicker/TimePicker.vue b/components/TimePicker/TimePicker.vue
new file mode 100644
index 0000000..190def0
--- /dev/null
+++ b/components/TimePicker/TimePicker.vue
@@ -0,0 +1,88 @@
+
+
+
+
+ {{ min }}分
+
+
+
+
+ {{ sec }}秒
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/custom-navbar/custom-navbar.vue b/components/custom-navbar/custom-navbar.vue
index 35b5593..102fe99 100644
--- a/components/custom-navbar/custom-navbar.vue
+++ b/components/custom-navbar/custom-navbar.vue
@@ -22,9 +22,17 @@
{{ rightText }}
+
+
+
+
-
+
@@ -60,6 +68,11 @@
rightIconSize: { // 图标大小
type: Number,
default: 24
+ },
+ rightIcons: {
+ type: Array,
+ default: () => []
+ // 格式: [{src: '/path/icon1.png'}, {src: '/path/icon2.png'}]
}
},
data() {
@@ -76,6 +89,10 @@
},
handleRightClick() {
this.$emit('right-click'); // 触发右侧点击事件
+ },
+ // 新增图标点击方法
+ handleIconClick(index) {
+ this.$emit('icon-click', index)
}
}
}
diff --git a/manifest.json b/manifest.json
index d4a5a53..5a09c99 100644
--- a/manifest.json
+++ b/manifest.json
@@ -62,7 +62,10 @@
"appid" : "uni.app.UNIA21EF43",
"privacyDescription" : {
"NSBluetoothPeripheralUsageDescription" : "需要蓝牙访问权限,用于设备通信",
- "NSBluetoothAlwaysUsageDescription" : "需要蓝牙访问权限,用于设备通信"
+ "NSBluetoothAlwaysUsageDescription" : "需要蓝牙访问权限,用于设备通信",
+ "NSLocationWhenInUseUsageDescription" : "App需要您的同意,才能在使用期间访问位置",
+ "NSLocationAlwaysUsageDescription" : "App需要您的同意,才能始终访问位置",
+ "NSLocationAlwaysAndWhenInUseUsageDescription" : "App需要您的同意,才能始终访问位置"
},
"dSYMs" : false
},
@@ -81,7 +84,8 @@
"name" : "amapHG8nIFW5",
"appkey_ios" : "065c43f02c7b627a74ad7dd23b16bb4f",
"appkey_android" : "d7d852dbda2b95f6f796fb9a711a9fee"
- }
+ },
+ "customStyle": true
},
"oauth" : {},
"push" : {}
diff --git a/pages/210/addDevice/index.vue b/pages/210/addDevice/index.vue
new file mode 100644
index 0000000..67077f0
--- /dev/null
+++ b/pages/210/addDevice/index.vue
@@ -0,0 +1,332 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/210/deviceControl/index.vue b/pages/210/deviceControl/index.vue
new file mode 100644
index 0000000..4c9088f
--- /dev/null
+++ b/pages/210/deviceControl/index.vue
@@ -0,0 +1,1384 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{deviceInfo.batteryPercentage}}%
+ 电量
+
+
+
+
+
+ {{deviceInfo.batteryRemainingTime}}分钟
+ 续航时间
+
+
+
+
+
+
+
+
+
+
+ 设备状态
+ 运行中
+
+
+ 联机状态
+ 联机
+
+
+ 定位信息
+
+ 114.72 30.28
+
+
+ 深圳市龙华区富源晟
+
+
+
+
+
+
+
+
+
+ {{ item }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.title }}
+ {{ item.subTitle }}
+
+
+
+
+
+
+
+
+
+ 人员信息登记
+
+
+
+
+
+
+
+ 单位:
+
+
+
+ 姓名:
+
+
+
+ 职位:
+
+
+
+ ID:
+
+
+
+
+
+
+
+ 发送信息
+
+
+
+
+
+
+
+
+
+ 产品信息
+
+
+
+ 产品参数
+
+
+
+ 操作说明
+
+
+
+ 操作视频
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/210/historyRecords/index.vue b/pages/210/historyRecords/index.vue
new file mode 100644
index 0000000..d9802c3
--- /dev/null
+++ b/pages/210/historyRecords/index.vue
@@ -0,0 +1,120 @@
+
+
+
+
+
+ {{tab.name}}
+
+
+
+
+
+
+ 开机时间
+ 2026.08.29 21:13:58
+ 关机时间
+ 2025.06.30 00:45:20
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/210/onlineDevice/index.vue b/pages/210/onlineDevice/index.vue
new file mode 100644
index 0000000..6de0039
--- /dev/null
+++ b/pages/210/onlineDevice/index.vue
@@ -0,0 +1,254 @@
+
+
+
+
+ 呼叫
+ 发送信息
+
+
+
+
+
+
+
+ 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/6170/allShare/index.vue b/pages/6170/allShare/index.vue
index 4cdfb9d..cadcdb2 100644
--- a/pages/6170/allShare/index.vue
+++ b/pages/6170/allShare/index.vue
@@ -17,7 +17,7 @@
{{
tabs[activeTab].name === '我的分享'
? `分享给“${group.sharedTo}”的设备`
- : `来自“${group.sharedTo}”分享的设备`
+ : `来自“${group.othersharedTo}”分享的设备`
}}
{{editingGroup === groupIndex ? '完成' : '编辑'}}
@@ -40,8 +40,11 @@
ID:{{item.deviceImei}}
- 在线
- 电量:{{item.battery || '80'}}%
+
+ 在线
+
+ 离线
+ 电量:{{item.battery || '0'}}%
@@ -49,11 +52,6 @@
-
-
@@ -67,7 +65,7 @@