|
|
@ -302,12 +302,11 @@ export default function MeasureAction() { |
|
|
|
<div className="flex h-full px-6"> |
|
|
|
{/* 左侧区域:包含开关区域和测量画布 */} |
|
|
|
<div className=""> |
|
|
|
<div className="relative flex gap-4 items-center pt-[10px]"> |
|
|
|
<div className="relative flex gap-4 items-center py-3"> |
|
|
|
<div |
|
|
|
className="absolute flex gap-1 items-center" |
|
|
|
className="absolute text-primary border border-primary rounded px-4 py-[2px] font-medium cursor-pointer hover:text-primary/[0.8]" |
|
|
|
onClick={() => navigate("../config", { replace: true })}> |
|
|
|
<i className="border-t-2 border-l-2 border-primary w-[10px] h-[10px] -rotate-45"></i> |
|
|
|
<span className="text-primary text-base font-medium">返回</span> |
|
|
|
返回 |
|
|
|
</div> |
|
|
|
<section className="ml-auto flex gap-4 items-center"> |
|
|
|
{/* 参考线开关 */} |
|
|
@ -348,7 +347,7 @@ export default function MeasureAction() { |
|
|
|
</section> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div className="relative m-2"> |
|
|
|
<div className="relative"> |
|
|
|
<MeasurementCanvas |
|
|
|
width={800} |
|
|
|
height={600} |
|
|
@ -365,6 +364,7 @@ export default function MeasureAction() { |
|
|
|
showCoordinates={showGrid} |
|
|
|
ref={canvasRef} |
|
|
|
/> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{/* 右侧区域:根据 showAnalysisTable 状态显示测量步骤或分析表格 */} |
|
|
|