fix: bug
1.目前品牌标签大小不会跟着模型变,希望能调整到同步放大缩小 2.模型和3d环物在旋转商品时价签也会跟着旋转,希望价签不转动 3.删除商品后货架上不显示了 但是右侧内容没清空 希望一起清空
This commit is contained in:
@@ -810,12 +810,7 @@ function creativeDialog() {
|
||||
tinymce.editors[id].execCommand(
|
||||
"mceInsertContent",
|
||||
false,
|
||||
`
|
||||
<div style="position: relative; overflow: hidden;">
|
||||
<div style="width: 100%; height: 0; padding-bottom: 60%; min-width: 300px;"></div>
|
||||
<iframe frameborder="0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;" src="${iframeUrl}"></iframe>
|
||||
</div>
|
||||
`
|
||||
`<iframe frameborder="0" style="position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 16 / 9;" src="${iframeUrl}"></iframe>`
|
||||
);
|
||||
creativeCenterVisible.value = false;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,842 @@
|
||||
{
|
||||
"version": 2,
|
||||
"shopId": "sllqkj4l",
|
||||
"panorama": {
|
||||
"id": "EJZViA",
|
||||
"url": "/shelves-v5-store/panorama/kakMX2/018-8k.jpg",
|
||||
"urlSmall": "/shelves-v5-store/panorama/kakMX2/018-4k.jpg",
|
||||
"urlThumb": "/shelves-v5-store/panorama/kakMX2/env2.png",
|
||||
"rotationY": 0,
|
||||
"multiply": 1.2,
|
||||
"enterZoom": 1,
|
||||
"lightSource1": "default"
|
||||
},
|
||||
"shelves": [
|
||||
{
|
||||
"id": "gOVk9v",
|
||||
"url": "/shelves-v5-store/v5/shelf/a-r3/shelf-a-r3.glb",
|
||||
"urlThumb": "/shelves-v5-store/v5/shelf/a-r3/thumb.png",
|
||||
"cells": [
|
||||
{
|
||||
"name": "c1-1-1001",
|
||||
"box": {
|
||||
"position": {
|
||||
"x": -0.5257019996643066,
|
||||
"y": 0.8764199614524841,
|
||||
"z": 0.45017966628074646
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"size": {
|
||||
"x": 0.37358155846595764,
|
||||
"y": 0.225911445915699,
|
||||
"z": 0.21794167160987854
|
||||
},
|
||||
"child": {
|
||||
"sign": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": -0.04069489240646362,
|
||||
"z": 0.1743204391002655
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 0.7393795847892761,
|
||||
"y": 0.05661093816161156,
|
||||
"z": 0.05661093816161156
|
||||
}
|
||||
},
|
||||
"logo": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0.1499999999999999,
|
||||
"z": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"pileNumber": 6,
|
||||
"pileRotationY": 0,
|
||||
"showLogo": true,
|
||||
"showSign": true,
|
||||
"surveyLogo": "xx",
|
||||
"surveyPrice": 44,
|
||||
"surveyWare": {
|
||||
"id": "s5osZF",
|
||||
"type": 0,
|
||||
"commodity": {
|
||||
"id": "vB8DxY",
|
||||
"name": "can-1",
|
||||
"url": "/shelves-v5-store/commodity/4w2sNH/can-1.glb",
|
||||
"urlThumb": "/shelves-v5-store/commodity/4w2sNH/can-t.png",
|
||||
"uvGroup": "uv0001"
|
||||
},
|
||||
"texture": {
|
||||
"id": "DJgALu",
|
||||
"name": "草莓",
|
||||
"relUvGroup": "uv0001",
|
||||
"url": "/shelves-v5-store/texture/qh5BZs/2k/design-1-nologo-20220520-gen-00000--logo-mn-strawberry.jpg",
|
||||
"urlSmall": "/shelves-v5-store/texture/qh5BZs/1k/design-1-nologo-20220520-gen-00000--logo-mn-strawberry.jpg",
|
||||
"relCommodityId": "vB8DxY"
|
||||
},
|
||||
"urlThumb": "/shelves-v5-store/ware/Mu5nsR/can-pink.png"
|
||||
},
|
||||
"maxPileNumber__": 8
|
||||
},
|
||||
{
|
||||
"name": "c1-2-1001",
|
||||
"box": {
|
||||
"position": {
|
||||
"x": -0.5257019996643066,
|
||||
"y": 0.5486653447151184,
|
||||
"z": 0.45017966628074646
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"size": {
|
||||
"x": 0.37358155846595764,
|
||||
"y": 0.225911445915699,
|
||||
"z": 0.21794167160987854
|
||||
},
|
||||
"child": {
|
||||
"sign": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": -0.0426822304725647,
|
||||
"z": 0.1743204391002655
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 0.7393795847892761,
|
||||
"y": 0.05661093816161156,
|
||||
"z": 0.05661093816161156
|
||||
}
|
||||
},
|
||||
"logo": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0.15000000000000002,
|
||||
"z": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"pileNumber": 6,
|
||||
"pileRotationY": 0,
|
||||
"showLogo": false,
|
||||
"showSign": false,
|
||||
"surveyLogo": "",
|
||||
"surveyPrice": 0,
|
||||
"surveyWare": {
|
||||
"id": "s5osZF",
|
||||
"type": 0,
|
||||
"commodity": {
|
||||
"id": "vB8DxY",
|
||||
"name": "can-1",
|
||||
"url": "/shelves-v5-store/commodity/4w2sNH/can-1.glb",
|
||||
"urlThumb": "/shelves-v5-store/commodity/4w2sNH/can-t.png",
|
||||
"uvGroup": "uv0001"
|
||||
},
|
||||
"texture": {
|
||||
"id": "DJgALu",
|
||||
"name": "草莓",
|
||||
"relUvGroup": "uv0001",
|
||||
"url": "/shelves-v5-store/texture/qh5BZs/2k/design-1-nologo-20220520-gen-00000--logo-mn-strawberry.jpg",
|
||||
"urlSmall": "/shelves-v5-store/texture/qh5BZs/1k/design-1-nologo-20220520-gen-00000--logo-mn-strawberry.jpg",
|
||||
"relCommodityId": "vB8DxY"
|
||||
},
|
||||
"urlThumb": "/shelves-v5-store/ware/Mu5nsR/can-pink.png"
|
||||
},
|
||||
"maxPileNumber__": 8
|
||||
},
|
||||
{
|
||||
"name": "c1-3-1001",
|
||||
"box": {
|
||||
"position": {
|
||||
"x": -0.5257019996643066,
|
||||
"y": 0.1945505440235138,
|
||||
"z": 0.45017966628074646
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"size": {
|
||||
"x": 0.37358155846595764,
|
||||
"y": 0.225911445915699,
|
||||
"z": 0.21794167160987854
|
||||
},
|
||||
"child": {
|
||||
"sign": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": -0.0635165274143219,
|
||||
"z": 0.1846828854084015
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 0.7393795847892761,
|
||||
"y": 0.05661093816161156,
|
||||
"z": 0.05661093816161156
|
||||
}
|
||||
},
|
||||
"logo": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0.15000000000000002,
|
||||
"z": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"pileNumber": 2,
|
||||
"pileRotationY": 0,
|
||||
"showLogo": false,
|
||||
"showSign": false,
|
||||
"surveyLogo": "",
|
||||
"surveyPrice": 0
|
||||
},
|
||||
{
|
||||
"name": "c2-1-1001",
|
||||
"box": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0.8764199614524841,
|
||||
"z": 0.45017966628074646
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"size": {
|
||||
"x": 0.37358155846595764,
|
||||
"y": 0.225911445915699,
|
||||
"z": 0.21794167160987854
|
||||
},
|
||||
"child": {
|
||||
"sign": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": -0.04069489240646362,
|
||||
"z": 0.1743204391002655
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 0.7393795847892761,
|
||||
"y": 0.05661093816161156,
|
||||
"z": 0.05661093816161156
|
||||
}
|
||||
},
|
||||
"logo": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0.1499999999999999,
|
||||
"z": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"pileNumber": 2,
|
||||
"pileRotationY": 0,
|
||||
"showLogo": false,
|
||||
"showSign": false,
|
||||
"surveyLogo": "",
|
||||
"surveyPrice": 0
|
||||
},
|
||||
{
|
||||
"name": "c2-2-1001",
|
||||
"box": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0.5486653447151184,
|
||||
"z": 0.45017966628074646
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"size": {
|
||||
"x": 0.37358155846595764,
|
||||
"y": 0.225911445915699,
|
||||
"z": 0.21794167160987854
|
||||
},
|
||||
"child": {
|
||||
"sign": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": -0.0426822304725647,
|
||||
"z": 0.1743204391002655
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 0.7393795847892761,
|
||||
"y": 0.05661093816161156,
|
||||
"z": 0.05661093816161156
|
||||
}
|
||||
},
|
||||
"logo": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0.15000000000000002,
|
||||
"z": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"pileNumber": 4,
|
||||
"pileRotationY": 0,
|
||||
"showLogo": true,
|
||||
"showSign": true,
|
||||
"surveyLogo": "yy",
|
||||
"surveyPrice": 2,
|
||||
"surveyWare": {
|
||||
"id": "4sLYlt",
|
||||
"type": 0,
|
||||
"commodity": {
|
||||
"id": "vB8DxY",
|
||||
"name": "can-1",
|
||||
"url": "/shelves-v5-store/commodity/4w2sNH/can-1.glb",
|
||||
"urlThumb": "/shelves-v5-store/commodity/4w2sNH/can-t.png",
|
||||
"uvGroup": "uv0001"
|
||||
},
|
||||
"texture": {
|
||||
"id": "yKd1vp",
|
||||
"name": "蓝莓",
|
||||
"relUvGroup": "uv0001",
|
||||
"url": "/shelves-v5-store/texture/qh5BZs/2k/design-1-nologo-20220520-gen-00000--logo-mn-blueberry.jpg",
|
||||
"urlSmall": "/shelves-v5-store/texture/qh5BZs/1k/design-1-nologo-20220520-gen-00000--logo-mn-blueberry.jpg",
|
||||
"relCommodityId": "vB8DxY"
|
||||
},
|
||||
"urlThumb": "/shelves-v5-store/ware/Mu5nsR/can-blue.png"
|
||||
},
|
||||
"maxPileNumber__": 8
|
||||
},
|
||||
{
|
||||
"name": "c2-3-1001",
|
||||
"box": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0.1945505440235138,
|
||||
"z": 0.8089127219997823
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"size": {
|
||||
"x": 0.37358155846595764,
|
||||
"y": 0.225911445915699,
|
||||
"z": 0.21794167160987854
|
||||
},
|
||||
"child": {
|
||||
"sign": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": -0.0635165274143219,
|
||||
"z": 0.1846828854084015
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 0.7393795847892761,
|
||||
"y": 0.05661093816161156,
|
||||
"z": 0.05661093816161156
|
||||
}
|
||||
},
|
||||
"logo": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0.15000000000000002,
|
||||
"z": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"pileNumber": 2,
|
||||
"pileRotationY": 0,
|
||||
"showLogo": true,
|
||||
"showSign": true,
|
||||
"surveyLogo": "OK",
|
||||
"surveyPrice": 100,
|
||||
"surveyWare": {
|
||||
"id": "s5osZF",
|
||||
"type": 0,
|
||||
"commodity": {
|
||||
"id": "vB8DxY",
|
||||
"name": "can-1",
|
||||
"url": "/shelves-v5-store/commodity/4w2sNH/can-1.glb",
|
||||
"urlThumb": "/shelves-v5-store/commodity/4w2sNH/can-t.png",
|
||||
"uvGroup": "uv0001"
|
||||
},
|
||||
"texture": {
|
||||
"id": "DJgALu",
|
||||
"name": "草莓",
|
||||
"relUvGroup": "uv0001",
|
||||
"url": "/shelves-v5-store/texture/qh5BZs/2k/design-1-nologo-20220520-gen-00000--logo-mn-strawberry.jpg",
|
||||
"urlSmall": "/shelves-v5-store/texture/qh5BZs/1k/design-1-nologo-20220520-gen-00000--logo-mn-strawberry.jpg",
|
||||
"relCommodityId": "vB8DxY"
|
||||
},
|
||||
"urlThumb": "/shelves-v5-store/ware/Mu5nsR/can-pink.png"
|
||||
},
|
||||
"maxPileNumber__": 4
|
||||
},
|
||||
{
|
||||
"name": "c3-1-1001",
|
||||
"box": {
|
||||
"position": {
|
||||
"x": 0.8223421851665225,
|
||||
"y": 0.8764199614524841,
|
||||
"z": 0.45017966628074646
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"size": {
|
||||
"x": 0.37358155846595764,
|
||||
"y": 0.225911445915699,
|
||||
"z": 0.21794167160987854
|
||||
},
|
||||
"child": {
|
||||
"sign": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": -0.04069489240646362,
|
||||
"z": 0.1743204391002655
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 0.7393795847892761,
|
||||
"y": 0.05661093816161156,
|
||||
"z": 0.05661093816161156
|
||||
}
|
||||
},
|
||||
"logo": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0.1499999999999999,
|
||||
"z": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"pileNumber": 4,
|
||||
"pileRotationY": 0,
|
||||
"showLogo": false,
|
||||
"showSign": false,
|
||||
"surveyLogo": "",
|
||||
"surveyPrice": 0,
|
||||
"surveyWare": {
|
||||
"id": "z729MV",
|
||||
"type": 1,
|
||||
"commodity": {
|
||||
"url": "/shelves-v5-store/v3.4/ware/milkpowder-can3-lod0.glb",
|
||||
"urlSmall": "/shelves-v5-store/v3.4/ware/milkpowder-can3-lod1.glb"
|
||||
},
|
||||
"texture": null,
|
||||
"urlThumb": "/shelves-v5-store/v3.4/ware/milkpowder-can3.png"
|
||||
},
|
||||
"maxPileNumber__": 4
|
||||
},
|
||||
{
|
||||
"name": "c3-2-1001",
|
||||
"box": {
|
||||
"position": {
|
||||
"x": 0.5257019996643066,
|
||||
"y": 0.5486653447151184,
|
||||
"z": 0.45017966628074646
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"size": {
|
||||
"x": 0.37358155846595764,
|
||||
"y": 0.225911445915699,
|
||||
"z": 0.21794167160987854
|
||||
},
|
||||
"child": {
|
||||
"sign": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": -0.0426822304725647,
|
||||
"z": 0.1743204391002655
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 0.7393795847892761,
|
||||
"y": 0.05661093816161156,
|
||||
"z": 0.05661093816161156
|
||||
}
|
||||
},
|
||||
"logo": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0.15000000000000002,
|
||||
"z": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"pileNumber": 2,
|
||||
"pileRotationY": 0,
|
||||
"showLogo": false,
|
||||
"showSign": false,
|
||||
"surveyLogo": "",
|
||||
"surveyPrice": 0
|
||||
},
|
||||
{
|
||||
"name": "c3-3-1001",
|
||||
"box": {
|
||||
"position": {
|
||||
"x": 0.5257019996643066,
|
||||
"y": 0.1945505440235138,
|
||||
"z": 0.45017966628074646
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"size": {
|
||||
"x": 0.37358155846595764,
|
||||
"y": 0.225911445915699,
|
||||
"z": 0.21794167160987854
|
||||
},
|
||||
"child": {
|
||||
"sign": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": -0.0635165274143219,
|
||||
"z": 0.1846828854084015
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 0.7393795847892761,
|
||||
"y": 0.05661093816161156,
|
||||
"z": 0.05661093816161156
|
||||
}
|
||||
},
|
||||
"logo": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0.15000000000000002,
|
||||
"z": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"pileNumber": 6,
|
||||
"pileRotationY": 0,
|
||||
"showLogo": true,
|
||||
"showSign": true,
|
||||
"surveyLogo": "zz",
|
||||
"surveyPrice": 3,
|
||||
"surveyWare": {
|
||||
"id": "UMulWJ",
|
||||
"type": 0,
|
||||
"commodity": {
|
||||
"id": "vB8DxY",
|
||||
"name": "can-1",
|
||||
"url": "/shelves-v5-store/commodity/4w2sNH/can-1.glb",
|
||||
"urlThumb": "/shelves-v5-store/commodity/4w2sNH/can-t.png",
|
||||
"uvGroup": "uv0001"
|
||||
},
|
||||
"texture": {
|
||||
"id": "AgcvT1",
|
||||
"name": "香蕉",
|
||||
"relUvGroup": "uv0001",
|
||||
"url": "/shelves-v5-store/texture/qh5BZs/2k/design-1-nologo-20220520-gen-00000--logo-mn-banana.jpg",
|
||||
"urlSmall": "/shelves-v5-store/texture/qh5BZs/1k/design-1-nologo-20220520-gen-00000--logo-mn-banana.jpg",
|
||||
"relCommodityId": "vB8DxY"
|
||||
},
|
||||
"urlThumb": "/shelves-v5-store/ware/Mu5nsR/can-yellow.png"
|
||||
},
|
||||
"maxPileNumber__": 8
|
||||
}
|
||||
],
|
||||
"layoutType": "multiCols",
|
||||
"layoutCols": 3,
|
||||
"position": {
|
||||
"x": 2.7,
|
||||
"y": -1,
|
||||
"z": 0
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": -1.5707963267948966,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"originCells": [
|
||||
{
|
||||
"name": "1-1001",
|
||||
"box": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0.8764199614524841,
|
||||
"z": 0.45017966628074646
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"size": {
|
||||
"x": 0.37358155846595764,
|
||||
"y": 0.225911445915699,
|
||||
"z": 0.21794167160987854
|
||||
},
|
||||
"child": {
|
||||
"sign": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": -0.04069489240646362,
|
||||
"z": 0.1743204391002655
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 0.7393795847892761,
|
||||
"y": 0.05661093816161156,
|
||||
"z": 0.05661093816161156
|
||||
}
|
||||
},
|
||||
"logo": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0.1499999999999999,
|
||||
"z": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"pileNumber": 2,
|
||||
"pileRotationY": 0,
|
||||
"showLogo": false,
|
||||
"showSign": false,
|
||||
"surveyLogo": "",
|
||||
"surveyPrice": 0
|
||||
},
|
||||
{
|
||||
"name": "2-1001",
|
||||
"box": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0.5486653447151184,
|
||||
"z": 0.45017966628074646
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"size": {
|
||||
"x": 0.37358155846595764,
|
||||
"y": 0.225911445915699,
|
||||
"z": 0.21794167160987854
|
||||
},
|
||||
"child": {
|
||||
"sign": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": -0.0426822304725647,
|
||||
"z": 0.1743204391002655
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 0.7393795847892761,
|
||||
"y": 0.05661093816161156,
|
||||
"z": 0.05661093816161156
|
||||
}
|
||||
},
|
||||
"logo": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0.15000000000000002,
|
||||
"z": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"pileNumber": 2,
|
||||
"pileRotationY": 0,
|
||||
"showLogo": false,
|
||||
"showSign": false,
|
||||
"surveyLogo": "",
|
||||
"surveyPrice": 0
|
||||
},
|
||||
{
|
||||
"name": "3-1001",
|
||||
"box": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0.1945505440235138,
|
||||
"z": 0.45017966628074646
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"size": {
|
||||
"x": 0.37358155846595764,
|
||||
"y": 0.225911445915699,
|
||||
"z": 0.21794167160987854
|
||||
},
|
||||
"child": {
|
||||
"sign": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": -0.0635165274143219,
|
||||
"z": 0.1846828854084015
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"scale": {
|
||||
"x": 0.7393795847892761,
|
||||
"y": 0.05661093816161156,
|
||||
"z": 0.05661093816161156
|
||||
}
|
||||
},
|
||||
"logo": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0.15000000000000002,
|
||||
"z": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"pileNumber": 2,
|
||||
"pileRotationY": 0,
|
||||
"showLogo": false,
|
||||
"showSign": false,
|
||||
"surveyLogo": "",
|
||||
"surveyPrice": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -419,7 +419,7 @@ body {
|
||||
}
|
||||
|
||||
.ant-tree-child-tree .ant-tree-title {
|
||||
padding-left: 10px;
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
.ant-tree li {
|
||||
@@ -431,7 +431,8 @@ body {
|
||||
font-weight: 600;
|
||||
letter-spacing: 2px;
|
||||
color: #434343;
|
||||
/* padding: 0; */
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ant-tree li ul {
|
||||
@@ -440,7 +441,8 @@ body {
|
||||
}
|
||||
|
||||
.ant-tree li .ant-tree-node-content-wrapper.ant-tree-node-selected {
|
||||
background-color: #DFF4D0;
|
||||
/* background-color: #DFF4D0; */
|
||||
background-color: #ececec;
|
||||
}
|
||||
|
||||
.ant-tree li span.ant-tree-switcher {
|
||||
@@ -452,6 +454,12 @@ body {
|
||||
color: #434343;
|
||||
}
|
||||
|
||||
.ant-tree li span.ant-tree-iconEle {
|
||||
line-height: 0;
|
||||
text-align: right;
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
.ant-tree li span.ant-tree-iconEle img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@@ -478,6 +486,10 @@ body {
|
||||
color: #434343;
|
||||
}
|
||||
|
||||
.yo-mt25 {
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
.yo-title-s14 {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
|
||||
@@ -44,14 +44,14 @@
|
||||
</span>
|
||||
</template>
|
||||
</a-tab-pane>
|
||||
<!-- <a-tab-pane key="schema">
|
||||
<a-tab-pane key="schema">
|
||||
<template #tab>
|
||||
<span style="font-size: 16px;">
|
||||
<img :src="ItemSvg" />
|
||||
元素
|
||||
</span>
|
||||
</template>
|
||||
</a-tab-pane> -->
|
||||
</a-tab-pane>
|
||||
</a-tabs>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -9,18 +9,27 @@
|
||||
|
||||
<div v-for="(shelf, idx) in schema.shelves">
|
||||
<a-tree :tree-data="to_tree_(shelf, idx, cache_)" @select="onSelect" show-icon default-expand-all>
|
||||
<template #icon-a>
|
||||
<template #icon-a="{ selected }">
|
||||
<img :src="cubeSvg" />
|
||||
<a-button class="btn-op" type="text" size="small" v-if="selected" @click="tree1_item_click">
|
||||
<EyeOutlined />
|
||||
<!-- <EyeInvisibleOutlined /> -->
|
||||
</a-button>
|
||||
<div v-else></div>
|
||||
<a-button class="btn-op" type="text" size="small" v-if="selected" @click="tree1_item_click">
|
||||
<DeleteOutlined />
|
||||
</a-button>
|
||||
<div v-else></div>
|
||||
</template>
|
||||
</a-tree>
|
||||
<a-divider />
|
||||
<a-divider class="yo-mt25" />
|
||||
</div>
|
||||
|
||||
<!-- v-model:selectedKeys="selectedKeys" -->
|
||||
<a-tree :tree-data="schema_env" @select="onSelect" show-icon default-expand-all>
|
||||
<!-- <template #icon-a>
|
||||
<img :src="cubeSvg" />
|
||||
</template> -->
|
||||
<template #icon-b>
|
||||
<img :src="homeSvg" />
|
||||
</template>
|
||||
</a-tree>
|
||||
|
||||
</div>
|
||||
@@ -29,11 +38,12 @@
|
||||
<script setup>
|
||||
import SearchSvg from '../../asset/icon2/search.svg'
|
||||
import cubeSvg from '../../asset/icon2/cube.svg'
|
||||
import homeSvg from '../../asset/icon2/home.svg'
|
||||
|
||||
import { EyeOutlined, EyeInvisibleOutlined, DeleteOutlined } from '@ant-design/icons-vue'
|
||||
</script>
|
||||
|
||||
<script>
|
||||
import { DownOutlined, SmileOutlined, FrownOutlined, FrownFilled } from '@ant-design/icons-vue'
|
||||
import { ref } from 'vue'
|
||||
|
||||
const cell_name_ = cell => {
|
||||
return cell.surveyLogo ? cell.surveyLogo : '[未设置品牌]'
|
||||
@@ -62,9 +72,6 @@ const to_tree_ = (shelf, idx, cache) => [{
|
||||
}]
|
||||
|
||||
export default {
|
||||
components: {
|
||||
SmileOutlined
|
||||
},
|
||||
props: ['shopData'],
|
||||
data() {
|
||||
return {
|
||||
@@ -79,6 +86,7 @@ export default {
|
||||
{
|
||||
title: '环境',
|
||||
key: 'e0-0',
|
||||
slots: { icon: 'icon-b' },
|
||||
}
|
||||
]
|
||||
}],
|
||||
@@ -111,11 +119,20 @@ export default {
|
||||
onSelect(key) {
|
||||
let d = this.cache_[key]
|
||||
this.$emit('clickSchemaItem', d)
|
||||
},
|
||||
|
||||
tree1_item_click(e) {
|
||||
// console.log(e)
|
||||
console.log('click button!')
|
||||
e.stopPropagation()
|
||||
}
|
||||
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
.btn-op {
|
||||
left: 145px;
|
||||
}
|
||||
</style>
|
||||
@@ -47,6 +47,8 @@
|
||||
import { Delete } from '@element-plus/icons-vue'
|
||||
import IconPosition from '../../asset/icon/001-market-fluctuation.svg'
|
||||
import IconAngle from '../../asset/icon/003-acute-angle.svg'
|
||||
|
||||
import { nextTick } from 'vue'
|
||||
</script>
|
||||
|
||||
<script>
|
||||
@@ -160,6 +162,9 @@ export default {
|
||||
action: 'unbindCellWare',
|
||||
cell: this.cell,
|
||||
})
|
||||
nextTick(() => {
|
||||
this.form_cell = to_form_cell(this.cell)
|
||||
})
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -365,6 +365,74 @@
|
||||
background: none;
|
||||
}
|
||||
|
||||
.ant-tree {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 2px;
|
||||
color: #434343;
|
||||
/* direction: rtl;
|
||||
text-align: left; */
|
||||
}
|
||||
|
||||
.ant-tree>li:last-child {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.ant-tree>li:first-child {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.ant-tree-child-tree>li:first-child {
|
||||
padding-top: 16px;
|
||||
}
|
||||
|
||||
.ant-tree-child-tree .ant-tree-title {
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
.ant-tree li {
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
.ant-tree li .ant-tree-node-content-wrapper {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 2px;
|
||||
color: #434343;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ant-tree li ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.ant-tree li .ant-tree-node-content-wrapper.ant-tree-node-selected {
|
||||
/* background-color: #DFF4D0; */
|
||||
background-color: #ececec;
|
||||
}
|
||||
|
||||
.ant-tree li span.ant-tree-switcher {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.ant-tree li span.ant-tree-switcher span {
|
||||
font-size: 14px !important;
|
||||
color: #434343;
|
||||
}
|
||||
|
||||
.ant-tree li span.ant-tree-iconEle {
|
||||
line-height: 0;
|
||||
text-align: right;
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
.ant-tree li span.ant-tree-iconEle img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.ant-divider {
|
||||
color: #F5F5F5;
|
||||
margin: 0;
|
||||
@@ -386,6 +454,10 @@
|
||||
color: #434343;
|
||||
}
|
||||
|
||||
.yo-mt25 {
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
.yo-title-s14 {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user