표시변경 팝업 및 거리측정 팝업 추가

This commit is contained in:
김창수 2024-10-04 14:11:38 +09:00
parent f245fdbc2c
commit d70debe88a
7 changed files with 206 additions and 3 deletions

View File

@ -7,6 +7,10 @@ import AuxiliarylineOption from '@/components/canvas/modal/auxiliarylineoprion/A
import AuxiliaryCopy from '@/components/canvas/modal/auxiliarysupport/AuxiliaryCopy'
import AuxiliaryMove from '@/components/canvas/modal/auxiliarysupport/AuxiliaryMove'
import AuxiliarySize from '@/components/canvas/modal/auxiliarysupport/AuxiliarySize'
import DisplayChange from '@/components/canvas/modal/displaychange/DisplayChange'
import DistanceMeasurement01 from '@/components/canvas/modal/distancemeasurement/DistanceMeasurement01'
import DistanceMeasurement02 from '@/components/canvas/modal/distancemeasurement/DistanceMeasurement02'
import DistanceMeasurement03 from '@/components/canvas/modal/distancemeasurement/DistanceMeasurement03'
import EvaseKerabaOption from '@/components/canvas/modal/eaves_keraba/EavesKerabaOption'
import GridCopy from '@/components/canvas/modal/gridoption/GridCopy'
import GridMove from '@/components/canvas/modal/gridoption/GridMove'
@ -97,7 +101,14 @@ export default function CanvasPage() {
{/* <ObjectOption/> */}
{/* 표시변겅 */}
{/* <DisplayChange/> */}
{/* 거리측정01, 거리측정02, 거리측정03 */}
{/* <DistanceMeasurement01/> */}
{/* <DistanceMeasurement02/> */}
{/* <DistanceMeasurement03/> */}
{/* 각 변 속성 변경 */}
</div>
</div>
</div>

View File

@ -0,0 +1,63 @@
import WithDraggable from "@/components/common/draggable/withDraggable";
import Qselect from "@/components/common/select/Qselect";
const SelectOption01 = [
{name: '0',}, {name: '0'}, {name: '0'}, {name: '0'}
]
export default function DisplayChange(){
return(
<WithDraggable isShow={true}>
<div className={`modal-pop-wrap xm`}>
<div className="modal-head">
<h1 className="title">表示の変更 </h1>
<button className="modal-close">닫기</button>
</div>
<div className="modal-body">
<div className="guide">
寸法線に表示する数値を入力してください
</div>
<div className="mb-box">
<div className="slope-wrap">
<div className="outline-form mb15">
<span className="mr10">既存の長さ</span>
<div className="input-grid mr5">
<input type="text" className="input-origin block" defaultValue={5933} readOnly/>
</div>
</div>
<div className="outline-form">
<span className="mr10" >変更の長さ</span>
<div className="input-grid mr5">
<input type="text" className="input-origin block" defaultValue={0}/>
</div>
</div>
</div>
</div>
<div className="slope-wrap">
<div className="warning">傾斜を着せてください</div>
<div className="display-change-wrap">
<div className="outline-form mb15">
<span className="mr10" >傾斜</span>
<div className="grid-select mr10">
<Qselect title={'0'} option={SelectOption01}/>
</div>
<span className="thin">寸法</span>
</div>
<div className="outline-form">
<span className="mr10" >傾斜</span>
<div className="grid-select mr10">
<Qselect title={'0'} option={SelectOption01}/>
</div>
<span className="thin">寸法</span>
</div>
</div>
<div className="warning">傾き設定されている場合入力した数値に傾き計算をした数値が表示されます</div>
</div>
<div className="grid-btn-wrap">
<button className="btn-frame modal act">保存</button>
</div>
</div>
</div>
</WithDraggable>
)
}

View File

@ -0,0 +1,28 @@
import WithDraggable from "@/components/common/draggable/withDraggable";
export default function DistanceMeasurement01(){
return(
<WithDraggable isShow={true}>
<div className={`modal-pop-wrap xxxm`}>
<div className="modal-head">
<h1 className="title">距離測定 </h1>
<button className="modal-close">닫기</button>
</div>
<div className="modal-body">
<div className="slope-wrap">
<div className="outline-form">
<span className="mr10" style={{width: 'auto'}}>水平距離</span>
<div className="input-grid mr5">
<input type="text" className="input-origin block" defaultValue={300}/>
</div>
<span className="thin">mm</span>
</div>
</div>
<div className="grid-btn-wrap">
<button className="btn-frame modal act">確認</button>
</div>
</div>
</div>
</WithDraggable>
)
}

View File

@ -0,0 +1,63 @@
import WithDraggable from "@/components/common/draggable/withDraggable";
export default function DistanceMeasurement02(){
return(
<WithDraggable isShow={true}>
<div className={`modal-pop-wrap xxxm`}>
<div className="modal-head">
<h1 className="title">距離測定 </h1>
<button className="modal-close">닫기</button>
</div>
<div className="modal-body">
<div className="slope-wrap">
<div className="eaves-keraba-table">
<div className="eaves-keraba-item">
<div className="eaves-keraba-th">
2点間距離
</div>
<div className="eaves-keraba-td">
<div className="outline-form">
<div className="input-grid mr5" style={{width: '98px'}}>
<input type="text" className="input-origin block" defaultValue={3703}/>
</div>
<span className="thin">mm</span>
</div>
</div>
</div>
<div className="eaves-keraba-item">
<div className="eaves-keraba-th">
水平距離
</div>
<div className="eaves-keraba-td">
<div className="outline-form">
<div className="input-grid mr5" style={{width: '98px'}}>
<input type="text" className="input-origin block" defaultValue={3320}/>
</div>
<span className="thin">mm</span>
</div>
</div>
</div>
<div className="eaves-keraba-item">
<div className="eaves-keraba-th">
垂直距離
</div>
<div className="eaves-keraba-td">
<div className="outline-form">
<div className="input-grid mr5" style={{width: '98px'}}>
<input type="text" className="input-origin block" defaultValue={12640}/>
</div>
<span className="thin">mm</span>
</div>
</div>
</div>
</div>
</div>
<div className="grid-btn-wrap">
<button className="btn-frame modal act">確認</button>
</div>
</div>
</div>
</WithDraggable>
)
}

View File

@ -0,0 +1,28 @@
import WithDraggable from "@/components/common/draggable/withDraggable";
export default function DistanceMeasurement03(){
return(
<WithDraggable isShow={true}>
<div className={`modal-pop-wrap xxxm`}>
<div className="modal-head">
<h1 className="title">距離測定 </h1>
<button className="modal-close">닫기</button>
</div>
<div className="modal-body">
<div className="slope-wrap">
<div className="outline-form">
<span className="mr10" style={{width: 'auto'}}>垂直距離</span>
<div className="input-grid mr5">
<input type="text" className="input-origin block" defaultValue={300}/>
</div>
<span className="thin">mm</span>
</div>
</div>
<div className="grid-btn-wrap">
<button className="btn-frame modal act">確認</button>
</div>
</div>
</div>
</WithDraggable>
)
}

View File

@ -18,7 +18,7 @@ export default function ObjectOption(){
<WithDraggable isShow={true}>
<div className={`modal-pop-wrap lrr`}>
<div className="modal-head">
<h1 className="title">傾斜設定 </h1>
<h1 className="title">オブジェクトの配置 </h1>
<button className="modal-close">닫기</button>
</div>
<div className="modal-body">

View File

@ -26,7 +26,7 @@ $alert-color: #101010;
background-color: #272727;
z-index: 9999999;
&.xxxm{
width: 230px;
width: 240px;
}
&.xxm{
width: 270px;
@ -1001,4 +1001,14 @@ $alert-color: #101010;
transform: translate(-50%, -50%);
}
}
}
// 표시변경
.display-change-wrap{
margin: 24px 0;
}
.warning{
font-size: $pop-normal-size;
font-weight: $pop-normal-weight;
color: #FFAFAF;
}