|
@@ -10,6 +10,19 @@
|
|
|
height: area.height + 'px',
|
|
|
top: area.top + 'px',
|
|
|
left: area.left + 'px',
|
|
|
+ transform: 'rotate(' + area.rotate + ')',
|
|
|
+ borderRadius:
|
|
|
+ area.borderRadius[0] +
|
|
|
+ 'px' +
|
|
|
+ ' ' +
|
|
|
+ area.borderRadius[1] +
|
|
|
+ 'px' +
|
|
|
+ ' ' +
|
|
|
+ area.borderRadius[2] +
|
|
|
+ 'px' +
|
|
|
+ ' ' +
|
|
|
+ area.borderRadius[3] +
|
|
|
+ 'px',
|
|
|
}"
|
|
|
:key="'map' + index"
|
|
|
>
|
|
@@ -617,6 +630,9 @@ export default defineComponent({
|
|
|
if (data.width < 3000) {
|
|
|
proxyData.comMapScale = 0.8;
|
|
|
}
|
|
|
+ if (props.projectId == "Pj1101020007") {
|
|
|
+ proxyData.comMapScale = 1.8;
|
|
|
+ }
|
|
|
data.width = data.width * proxyData.comMapScale;
|
|
|
data.height = data.height * proxyData.comMapScale;
|
|
|
let spaceList: any = data?.spaceList ?? [];
|
|
@@ -626,6 +642,10 @@ export default defineComponent({
|
|
|
item.height = item.height * proxyData.comMapScale;
|
|
|
item.top = item.top * proxyData.comMapScale;
|
|
|
item.left = item.left * proxyData.comMapScale;
|
|
|
+ item.rotate = item.rotate * 1 + "deg";
|
|
|
+ item.borderRadius = item.borderRadius
|
|
|
+ ? JSON.parse(item.borderRadius)
|
|
|
+ : "";
|
|
|
let flag: any = true;
|
|
|
for (let j = 0; j < spaceData.length; j++) {
|
|
|
if (item.spaceId === spaceData[j].spaceId) {
|