You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.5 KiB

5 months ago
5 months ago
5 months ago
  1. import { NavBar } from 'antd-mobile';
  2. import StepItem from '../components/StepItem';
  3. import { Link } from 'react-router-dom';
  4. export default function Measure() {
  5. return (
  6. <div>
  7. <NavBar className="bg-white" back={null}>
  8. </NavBar>
  9. <main className="home-page-content overflow-x-hidden overflow-y-auto">
  10. <div className="relative h-0 p-0 pb-[75%]">
  11. <div className="absolute left-0 right-0 top-0 bottom-0 bg-title"></div>
  12. </div>
  13. <section className="h-10 bg-[#e3e8f5] flex justify-between items-center px-4">
  14. <p className="text-text"> //线/</p>
  15. <Link to="/home/setting" className="text-primary underline"></Link>
  16. </section>
  17. <section className="flex items-center gap-4 px-4 my-4">
  18. <div className="btn-contained text-sm h-10 flex-1"></div>
  19. <div className="btn-contained text-sm h-10 flex-1"></div>
  20. </section>
  21. <section className="grid grid-cols-2 gap-[10px] px-3">
  22. <StepItem state={2} text={'移到顶部停留2秒'} />
  23. <StepItem state={2} text={'移到顶部停留2秒'} />
  24. <StepItem state={0} text={'开始测量左侧'} />
  25. <StepItem state={0} text={'开始测量右侧'} />
  26. <StepItem state={1} text={'左侧测量完成'} />
  27. <StepItem state={1} text={'右侧测量完成'} />
  28. </section>
  29. </main>
  30. </div>
  31. );
  32. }