diff --git a/src/App.tsx b/src/App.tsx
index 9143dbd..e8c02d7 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -68,7 +68,7 @@ function App() {
+
diff --git a/src/assets/icon_arr_down.svg b/src/assets/icon_arr_down.svg
new file mode 100644
index 0000000..5f89df1
--- /dev/null
+++ b/src/assets/icon_arr_down.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/assets/icon_bluetooth.svg b/src/assets/icon_bluetooth.svg
new file mode 100644
index 0000000..a8b6c42
--- /dev/null
+++ b/src/assets/icon_bluetooth.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/components/CustomNavBar.scss b/src/components/CustomNavBar.scss
new file mode 100644
index 0000000..c0aed03
--- /dev/null
+++ b/src/components/CustomNavBar.scss
@@ -0,0 +1,21 @@
+.bluetooth-battery {
+ position: relative;
+ font-size: 12px;
+ height: 16px;
+ padding-left: 2px;
+ padding-right: 2px;
+ color: var(--primaryColor);
+ border: solid 1px var(--primaryColor);
+ border-radius: 2px;
+ &::after {
+ content: " ";
+ position: absolute;
+ width: 4px;
+ height: 8px;
+ background-color: var(--primaryColor);
+ right: -4px;
+ top: 3px;
+ border-top-right-radius: 2px;
+ border-bottom-right-radius: 2px;
+ }
+}
\ No newline at end of file
diff --git a/src/components/CustomNavBar.tsx b/src/components/CustomNavBar.tsx
new file mode 100644
index 0000000..6d3391b
--- /dev/null
+++ b/src/components/CustomNavBar.tsx
@@ -0,0 +1,34 @@
+import icon_bluetooth from '../assets/icon_bluetooth.svg';
+import icon_arr_d from '../assets/icon_arr_down.svg';
+import './CustomNavBar.scss';
+import { useState } from 'react';
+
+export default function CustomNavBar({ title }: { title: string }) {
+ const [showDetail, setShowDetail] = useState(false);
+
+ return (
+
+ {/** 温度,水平仪 */}
+
+ 温度: 31.2°C
+ X轴倾斜: -0.496
+ Y轴倾斜: 3.005
+
+ {/** 导航栏 */}
+
+
{title}
+
setShowDetail(!showDetail)}>
+
78%
+

+
设备已连接
+

+
+
+
+ );
+}
diff --git a/src/pages/Measure.tsx b/src/pages/Measure.tsx
index bbd562b..2a16dfe 100644
--- a/src/pages/Measure.tsx
+++ b/src/pages/Measure.tsx
@@ -1,13 +1,20 @@
import { NavBar } from 'antd-mobile';
import StepItem from '../components/StepItem';
-import { Link } from 'react-router-dom';
+import { Link, useNavigate } from 'react-router-dom';
+import CustomNavBar from '../components/CustomNavBar';
export default function Measure() {
+ const navigate = useNavigate();
+
+ const onSaveClick = () => {
+ navigate('/measure/save');
+ };
return (
-
-
- 测量
-
+
+
+
+
+
@@ -15,12 +22,16 @@ export default function Measure() {
北京铁路局 /客运段/京沪线/左侧
- 修改
+
+ 修改
+