|
@@ -1346,13 +1346,18 @@ export const EvaluatingReportDriver = defineComponent({
|
|
|
title: "",
|
|
|
description: "",
|
|
|
popoverClass: "popoverClass popoverClassReport3 popoverClose",
|
|
|
- align: "start",
|
|
|
+ align: "end",
|
|
|
side: "bottom",
|
|
|
prevBtnText: "再看一遍",
|
|
|
doneBtnText: "完成",
|
|
|
showButtons: ["next", "previous"],
|
|
|
onPopoverRender: (popover: PopoverDOM, options: { config: Config; state: State }) => {
|
|
|
- driverInitialPosition(popover, options);
|
|
|
+ options.config.stageRadius = 8;
|
|
|
+ options.config.stagePadding = 5;
|
|
|
+ try {
|
|
|
+ const rect = options.state.activeElement?.getBoundingClientRect();
|
|
|
+ popover.wrapper.style.marginLeft = ((rect?.width || 0) / 2) * -1 + 4 + "px";
|
|
|
+ } catch {}
|
|
|
},
|
|
|
onPrevClick: () => {
|
|
|
driverObj.drive(0);
|