|
@@ -1122,7 +1122,7 @@ export const EvaluatingReportDriver = defineComponent({
|
|
|
options.config.stagePadding = 0;
|
|
|
try {
|
|
|
const rect = options.state.activeElement?.getBoundingClientRect();
|
|
|
- popover.wrapper.style.marginLeft = ((rect?.width || 0) / 2) * position - 4 + "px";
|
|
|
+ popover.wrapper.style.marginLeft = -(rect?.width || 0) / 2 + 34 + "px";
|
|
|
} catch {}
|
|
|
};
|
|
|
|
|
@@ -1146,7 +1146,7 @@ export const EvaluatingReportDriver = defineComponent({
|
|
|
options.config.stagePadding = 0;
|
|
|
try {
|
|
|
const rect = options.state.activeElement?.getBoundingClientRect();
|
|
|
- popover.wrapper.style.marginLeft = ((rect?.width || 0) / 2) * -1 + 4 + "px";
|
|
|
+ popover.wrapper.style.marginLeft = ((rect?.width || 0) / 2) * -1 + 34 + "px";
|
|
|
} catch {}
|
|
|
},
|
|
|
},
|
|
@@ -1167,7 +1167,7 @@ export const EvaluatingReportDriver = defineComponent({
|
|
|
options.config.stagePadding = 5;
|
|
|
try {
|
|
|
const rect = options.state.activeElement?.getBoundingClientRect();
|
|
|
- popover.wrapper.style.marginLeft = ((rect?.width || 0) / 2) * -1 + 4 + "px";
|
|
|
+ popover.wrapper.style.marginLeft = ((rect?.width || 0) / 2) * -1 + 34 + "px";
|
|
|
} catch {}
|
|
|
},
|
|
|
onPrevClick: () => {
|
|
@@ -1196,7 +1196,7 @@ export const EvaluatingReportDriver = defineComponent({
|
|
|
options.config.stagePadding = 0;
|
|
|
try {
|
|
|
const rect = options.state.activeElement?.getBoundingClientRect();
|
|
|
- popover.wrapper.style.marginLeft = ((rect?.width || 0) / 2) * -1 + 4 + "px";
|
|
|
+ popover.wrapper.style.marginLeft = ((rect?.width || 0) / 2) * -1 + 34 + "px";
|
|
|
} catch {}
|
|
|
},
|
|
|
onPrevClick: () => {
|
|
@@ -1218,7 +1218,7 @@ export const EvaluatingReportDriver = defineComponent({
|
|
|
title: "",
|
|
|
description: "",
|
|
|
popoverClass: "popoverClass popoverClassReport1",
|
|
|
- align: "start",
|
|
|
+ align: "end",
|
|
|
side: "bottom",
|
|
|
nextBtnText: `下一步 (1/${count})`,
|
|
|
showButtons: ["next"],
|
|
@@ -1242,7 +1242,7 @@ export const EvaluatingReportDriver = defineComponent({
|
|
|
options.config.stagePadding = 0;
|
|
|
try {
|
|
|
const rect = options.state.activeElement?.getBoundingClientRect();
|
|
|
- popover.wrapper.style.marginLeft = ((rect?.width || 0) / 2) * -1 + 4 + "px";
|
|
|
+ popover.wrapper.style.marginLeft = ((rect?.width || 0) / 2) * -1 + 34 + "px";
|
|
|
} catch {}
|
|
|
},
|
|
|
},
|
|
@@ -1266,7 +1266,7 @@ export const EvaluatingReportDriver = defineComponent({
|
|
|
options.config.stagePadding = 0;
|
|
|
try {
|
|
|
const rect = options.state.activeElement?.getBoundingClientRect();
|
|
|
- popover.wrapper.style.marginLeft = ((rect?.width || 0) / 2) * -1 + 4 + "px";
|
|
|
+ popover.wrapper.style.marginLeft = ((rect?.width || 0) / 2) * -1 + 34 + "px";
|
|
|
} catch {}
|
|
|
},
|
|
|
},
|
|
@@ -1287,7 +1287,7 @@ export const EvaluatingReportDriver = defineComponent({
|
|
|
options.config.stagePadding = 5;
|
|
|
try {
|
|
|
const rect = options.state.activeElement?.getBoundingClientRect();
|
|
|
- popover.wrapper.style.marginLeft = ((rect?.width || 0) / 2) * -1 + 4 + "px";
|
|
|
+ popover.wrapper.style.marginLeft = ((rect?.width || 0) / 2) * -1 + 34 + "px";
|
|
|
} catch {}
|
|
|
},
|
|
|
onPrevClick: () => {
|