diff --git a/src/assets/icon_arr_s_r.svg b/src/assets/icon_arr_s_r.svg new file mode 100644 index 0000000..4394ad9 --- /dev/null +++ b/src/assets/icon_arr_s_r.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/index.css b/src/index.css index 0c1d2ad..321fc6d 100644 --- a/src/index.css +++ b/src/index.css @@ -29,6 +29,9 @@ border-radius: 6px; color: #fff; } + .btn-contained:active { + opacity: 0.8; + } .btn-outlined { display: flex; justify-content: center; @@ -42,6 +45,9 @@ padding-bottom: 0.25rem; border-radius: 6px; } + .btn-outlined:active { + opacity: 0.8; + } } body { margin: 0; diff --git a/src/pages/Measure.tsx b/src/pages/Measure.tsx index c61c06a..d525bdf 100644 --- a/src/pages/Measure.tsx +++ b/src/pages/Measure.tsx @@ -1,5 +1,6 @@ import { NavBar } from 'antd-mobile'; import StepItem from '../components/StepItem'; +import { Link } from 'react-router-dom'; export default function Measure() { return ( @@ -14,7 +15,7 @@ export default function Measure() {

北京铁路局 /客运段/京沪线/左侧

-

修改

+ 修改
diff --git a/src/pages/Setting.tsx b/src/pages/Setting.tsx index 2669b2c..51d5e8e 100644 --- a/src/pages/Setting.tsx +++ b/src/pages/Setting.tsx @@ -1,10 +1,74 @@ -import { NavBar } from "antd-mobile"; +import { NavBar } from 'antd-mobile'; +import icon_arr_r from '../assets/icon_arr_s_r.svg'; export default function Setting() { - return ( -
- 设置 -
Setting
+ return ( +
+ + 设置 + +
+
+
+

+ 上传地址设置 +

+
+
+
+ IP地址 + +
+
+ 端口 + +
+
+
+
+
+

信息设置

+
+
+
+ 铁路局名称 + 北京铁路局 + arr +
+
+ 线路名称 + 京沪线 + arr +
+
+ 路段名称 + 客运段 + arr +
+
+ 方向 + +
+
+
+ +
+ 保存
- ); -} \ No newline at end of file + +
+
+ ); +}