Merge branch 'qcast-pub' into dev
This commit is contained in:
commit
24dcbb27f0
@ -234,9 +234,11 @@ export default function PlacementShapeSetting({ id, pos = { x: 50, y: 180 }, set
|
|||||||
<tr>
|
<tr>
|
||||||
<th>{getMessage('modal.placement.initial.setting.roof.angle.setting')}</th>
|
<th>{getMessage('modal.placement.initial.setting.roof.angle.setting')}</th>
|
||||||
<td>
|
<td>
|
||||||
<div className="pop-form-radio">
|
<div className="pop-form-radio place">
|
||||||
{currentRoof &&
|
{currentRoof &&
|
||||||
roofAngleSetArray.map((item) => (
|
roofAngleSetArray.map((item, index) => (
|
||||||
|
<div className="outline-form">
|
||||||
|
<span>
|
||||||
<div className="d-check-radio pop" key={item.id}>
|
<div className="d-check-radio pop" key={item.id}>
|
||||||
<input
|
<input
|
||||||
type="radio"
|
type="radio"
|
||||||
@ -248,6 +250,23 @@ export default function PlacementShapeSetting({ id, pos = { x: 50, y: 180 }, set
|
|||||||
/>
|
/>
|
||||||
<label htmlFor={item.id}>{getMessage(item.message)}</label>
|
<label htmlFor={item.id}>{getMessage(item.message)}</label>
|
||||||
</div>
|
</div>
|
||||||
|
</span>
|
||||||
|
<div className="input-grid mr5">
|
||||||
|
<input
|
||||||
|
type="number"
|
||||||
|
className="input-origin block"
|
||||||
|
defaultValue={4}
|
||||||
|
readOnly={currentRoof?.roofAngleSet !== item.value}
|
||||||
|
value={index === 0 ? currentRoof?.pitch : currentRoof?.angle}
|
||||||
|
onChange={(e) =>
|
||||||
|
index === 0
|
||||||
|
? setCurrentRoof({ ...currentRoof, pitch: e.target.value })
|
||||||
|
: setCurrentRoof({ ...currentRoof, angle: e.target.value })
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<span className="thin">{index === 0 ? '寸' : '度'}</span>
|
||||||
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@ -523,6 +523,17 @@ $alert-color: #101010;
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
|
&.place{
|
||||||
|
gap: 15px;
|
||||||
|
.outline-form{
|
||||||
|
span{
|
||||||
|
width: fit-content;
|
||||||
|
}
|
||||||
|
.input-grid{
|
||||||
|
width: 80px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.placement-option{
|
.placement-option{
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user