|
@@ -507,8 +507,12 @@ const dragStart = async (event: DragEvent | MouseEvent, item: any) => {
|
|
} else if (item['3d']) {
|
|
} else if (item['3d']) {
|
|
data = {
|
|
data = {
|
|
name: 'iframe',
|
|
name: 'iframe',
|
|
- width: 400,
|
|
|
|
- height: 300,
|
|
|
|
|
|
+ x: 0,
|
|
|
|
+ y: 0,
|
|
|
|
+ tags: ['meta3d'],
|
|
|
|
+ zIndex: 1,
|
|
|
|
+ width: meta2d.store.data.width || meta2d.store.options.width,
|
|
|
|
+ height: meta2d.store.data.height || meta2d.store.options.height,
|
|
externElement: true,
|
|
externElement: true,
|
|
iframe: 'https://view3d.le5le.com/?id=' + (item._id || item.id),
|
|
iframe: 'https://view3d.le5le.com/?id=' + (item._id || item.id),
|
|
};
|
|
};
|
|
@@ -1049,7 +1053,8 @@ onUnmounted(() => {
|
|
.graphics {
|
|
.graphics {
|
|
display: flex;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
-
|
|
|
|
|
|
+ background-color: var(--color-background);
|
|
|
|
+ z-index: 2;
|
|
.input-search {
|
|
.input-search {
|
|
flex-shrink: 0;
|
|
flex-shrink: 0;
|
|
height: 40px;
|
|
height: 40px;
|