|
@@ -95,8 +95,8 @@ export default {
|
|
|
imgIndex: 0,
|
|
|
isChange: true,
|
|
|
// 图片显示默认大小
|
|
|
- width: "1400px",
|
|
|
- height: "800px",
|
|
|
+ width: "1600px",
|
|
|
+ height: "1000px",
|
|
|
// 可缩小倍数,为空则可无限缩小
|
|
|
minification: 3,
|
|
|
// 可放大倍数 为空则可无限放大
|
|
@@ -365,7 +365,7 @@ export default {
|
|
|
let height = e.path[2].offsetHeight;
|
|
|
// 这里判断第一次获取不到style 样式 默认为 居中50%
|
|
|
if (oDragObj.style.top == "") {
|
|
|
- nTY = parseInt((50 * height) / 100 + 0);
|
|
|
+ nTY = 0;
|
|
|
nTX = parseInt((50 * width) / 100 + 0);
|
|
|
} else {
|
|
|
nTY = parseInt(oDragObj.style.top + 0);
|
|
@@ -642,7 +642,7 @@ export default {
|
|
|
<style lang="less" scoped>
|
|
|
.pop-up-main {
|
|
|
width: 100%;
|
|
|
- height: calc(100vh - 32vh);
|
|
|
+ height: calc(100vh - 12vh);
|
|
|
overflow-y: hidden;
|
|
|
|
|
|
.paln-box {
|
|
@@ -654,7 +654,7 @@ export default {
|
|
|
position: absolute;
|
|
|
// top: 75%;
|
|
|
left: 50%;
|
|
|
- transform: translate(-50%, -10%);
|
|
|
+ transform: translate(-50%, 0%);
|
|
|
|
|
|
img,
|
|
|
.svg {
|