大屏适配
This commit is contained in:
		| @@ -2,13 +2,15 @@ | ||||
|   <div class="AppGigscreenViewer"> | ||||
|     <div v-if="!component"> | ||||
|       <div | ||||
|         class="component-item" | ||||
|         :style="{ | ||||
|           width: item.width * scale + 'px', | ||||
|           height: item.height * scale + 'px', | ||||
|           width: item.width + 'px', | ||||
|           height: item.height + 'px', | ||||
|           left: item.left * scale + 'px', | ||||
|           top: item.top * scale + 'px', | ||||
|           position: 'absolute', | ||||
|           zIndex: item.zIndex | ||||
|           zIndex: item.zIndex, | ||||
|           transform: `scale(${scale})` | ||||
|         }" | ||||
|         v-for="(item, index) in componentList" | ||||
|         :key="index"> | ||||
| @@ -170,6 +172,10 @@ | ||||
|   height: 100%; | ||||
|   background: transparent !important; | ||||
|  | ||||
|   .component-item { | ||||
|     transform-origin: 0 0; | ||||
|   } | ||||
|  | ||||
|   .dv-scroll-board { | ||||
|     height: calc(100%) !important; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user