diff --git a/src/app/canvas/page.jsx b/src/app/canvas/page.jsx index 355ef39..2b28ae4 100644 --- a/src/app/canvas/page.jsx +++ b/src/app/canvas/page.jsx @@ -2,6 +2,7 @@ import CanvasLayout from '@/components/canvas/CanvasLayout' import CanvasMenu from '@/components/canvas/CanvasMenu' +import ArrangementSetting from '@/components/canvas/modal/arrangementsetting/ArrangementSetting' import AuxiliarylineOption from '@/components/canvas/modal/auxiliarylineoprion/AuxiliarylineOption' import AuxiliaryCopy from '@/components/canvas/modal/auxiliarysupport/AuxiliaryCopy' import AuxiliaryMove from '@/components/canvas/modal/auxiliarysupport/AuxiliaryMove' @@ -19,6 +20,7 @@ import PropertiesSetting from '@/components/canvas/modal/propertiessetting/Prope import RoofAllocation from '@/components/canvas/modal/roofallocation/RoofAllocation' import RoofShapeOption from '@/components/canvas/modal/roofshapeoption/RoofShapeOption' import SettingModal01 from '@/components/canvas/modal/settoing01/SettingModal01' +import SlopeOption from '@/components/canvas/modal/slopeoption/SlopeOption' import Header from '@/components/layout/Header' import { modalState } from '@/store/modalAtom' import '@/styles/contents.scss' @@ -78,7 +80,13 @@ export default function CanvasPage() { {/* */} {/* 지붕면 할당 */} - + {/* */} + + {/* 경사 설정 */} + {/* */} + + {/* 배치면 그리기 */} + diff --git a/src/components/canvas/modal/arrangementsetting/ArrangementSetting.jsx b/src/components/canvas/modal/arrangementsetting/ArrangementSetting.jsx new file mode 100644 index 0000000..2250964 --- /dev/null +++ b/src/components/canvas/modal/arrangementsetting/ArrangementSetting.jsx @@ -0,0 +1,68 @@ +import WithDraggable from "@/components/common/draggable/withDraggable"; +import { useState } from "react"; +import ArrangementTab01 from "./ArrangementTab01"; +import ArrangementTab02 from "./ArrangementTab02"; +import ArrangementTab03 from "./ArrangementTab03"; +import ArrangementTab04 from "./ArrangementTab04"; +import ArrangementTab05 from "./ArrangementTab05"; + +export default function ArrangementSetting(){ + const [buttonAct, setButtonAct] = useState(1); + return( + +
+
+

配置面の描画

+ +
+
+
+ + + + + +
+
+
設定
+ {buttonAct === 1 && } + {buttonAct === 2 && } + {buttonAct === 3 && } + {buttonAct === 4 && } + {buttonAct === 5 && } +
+ +
+ + +
+
+
+
+ ) +} \ No newline at end of file diff --git a/src/components/canvas/modal/arrangementsetting/ArrangementTab01.jsx b/src/components/canvas/modal/arrangementsetting/ArrangementTab01.jsx new file mode 100644 index 0000000..b073aa1 --- /dev/null +++ b/src/components/canvas/modal/arrangementsetting/ArrangementTab01.jsx @@ -0,0 +1,24 @@ +export default function ArrangementTab01(){ + return( +
+
+
+ 長さ(mm) +
+ +
+ +
+
+ 方向 (矢印) +
+ + + + +
+
+
+
+ ) +} \ No newline at end of file diff --git a/src/components/canvas/modal/arrangementsetting/ArrangementTab02.jsx b/src/components/canvas/modal/arrangementsetting/ArrangementTab02.jsx new file mode 100644 index 0000000..01cc669 --- /dev/null +++ b/src/components/canvas/modal/arrangementsetting/ArrangementTab02.jsx @@ -0,0 +1,42 @@ +export default function ArrangementTab02(){ + return( +
+
+
+ 長さ(mm) +
+ +
+ +
+
+ 方向 (矢印) +
+ + + + +
+
+
+
+
+ 長さ(mm) +
+ +
+ +
+
+ 方向 (矢印) +
+ + + + +
+
+
+
+ ) +} \ No newline at end of file diff --git a/src/components/canvas/modal/arrangementsetting/ArrangementTab03.jsx b/src/components/canvas/modal/arrangementsetting/ArrangementTab03.jsx new file mode 100644 index 0000000..d84a4c2 --- /dev/null +++ b/src/components/canvas/modal/arrangementsetting/ArrangementTab03.jsx @@ -0,0 +1,64 @@ +export default function ArrangementTab03(){ + return( + <> +
+
+
+ 角度 +
+ +
+ +
+
+
+
+ 長さ(mm) +
+ +
+ +
+
+ 方向 (矢印) +
+ + + + +
+
+
+
+
+
+
+ 角度 +
+ +
+ +
+
+
+
+ 長さ(mm) +
+ +
+ +
+
+ 方向 (矢印) +
+ + + + +
+
+
+
+ + ) +} \ No newline at end of file diff --git a/src/components/canvas/modal/arrangementsetting/ArrangementTab04.jsx b/src/components/canvas/modal/arrangementsetting/ArrangementTab04.jsx new file mode 100644 index 0000000..c0096f4 --- /dev/null +++ b/src/components/canvas/modal/arrangementsetting/ArrangementTab04.jsx @@ -0,0 +1,29 @@ +import Image from "next/image"; + +export default function ArrangementTab04(){ + return( +
+
+
+
+ 角度 +
+ +
+ +
+
+ 長さ(mm) +
+ +
+ +
+
+
+ react +
+
+
+ ) +} \ No newline at end of file diff --git a/src/components/canvas/modal/arrangementsetting/ArrangementTab05.jsx b/src/components/canvas/modal/arrangementsetting/ArrangementTab05.jsx new file mode 100644 index 0000000..00832ab --- /dev/null +++ b/src/components/canvas/modal/arrangementsetting/ArrangementTab05.jsx @@ -0,0 +1,52 @@ +export default function ArrangementTab05(){ + return( + <> +
+
+
+ 対角線の
長さ(mm)
+
+ +
+ +
+
+
+
+ 長さ(mm) +
+ +
+ +
+
+ 方向 (矢印) +
+ + + + +
+
+
+
+
+ 長さ(mm) +
+ +
+
+
+ 方向 (矢印) +
+ + + + +
+
+
+
+ + ) +} \ No newline at end of file diff --git a/src/components/canvas/modal/slopeoption/SlopeOption.jsx b/src/components/canvas/modal/slopeoption/SlopeOption.jsx new file mode 100644 index 0000000..d972b86 --- /dev/null +++ b/src/components/canvas/modal/slopeoption/SlopeOption.jsx @@ -0,0 +1,28 @@ +import WithDraggable from "@/components/common/draggable/withDraggable"; + +export default function SlopeOption (){ + return( + +
+
+

傾斜設定

+ +
+
+
+
+ 斜傾 +
+ +
+ 寸(度) +
+
+
+ +
+
+
+
+ ) +} \ No newline at end of file diff --git a/src/styles/_modal.scss b/src/styles/_modal.scss index 0126a05..c6712bc 100644 --- a/src/styles/_modal.scss +++ b/src/styles/_modal.scss @@ -18,7 +18,6 @@ $alert-color: #101010; top: 200px; right: 100px; width: 100%; - min-width: 300px; height: -webkit-fit-content; height: -moz-fit-content; height: fit-content; @@ -26,6 +25,9 @@ $alert-color: #101010; border-radius: 4px; background-color: #272727; z-index: 9999999; + &.xxxm{ + width: 230px; + } &.xxm{ width: 270px; } @@ -777,4 +779,10 @@ $alert-color: #101010; } } } +} + +// 경사설정 +.slope-wrap{ + padding-bottom: 24px; + border-bottom: 1px solid #424242; } \ No newline at end of file