|
@@ -10,19 +10,6 @@
|
|
|
v-else-if="store.setting.examType === 'SCAN_IMAGE'"
|
|
|
:style="{ width: answerPaperScale }"
|
|
|
>
|
|
|
- <div
|
|
|
- style="
|
|
|
- top: 0px;
|
|
|
- right: 0;
|
|
|
- position: absolute;
|
|
|
- color: red;
|
|
|
- pointer-events: none;
|
|
|
- font-size: 30px;
|
|
|
- z-index: 1000;
|
|
|
- "
|
|
|
- >
|
|
|
- {{ markStatus }}
|
|
|
- </div>
|
|
|
<div
|
|
|
v-for="(item, index) in sliceImagesWithTrackList"
|
|
|
:key="index"
|
|
@@ -48,6 +35,11 @@
|
|
|
<MultiMediaMarkBody />
|
|
|
</div>
|
|
|
<div v-else>impossible</div>
|
|
|
+ <div v-if="markStatus" class="status-container">
|
|
|
+ {{ markStatus }}
|
|
|
+ <div class="double-triangle"></div>
|
|
|
+ </div>
|
|
|
+ <ZoomPaper v-if="isScanImage()" :store="store" />
|
|
|
</div>
|
|
|
<slot name="slot-cursor" />
|
|
|
</template>
|
|
@@ -81,6 +73,7 @@ import { dragImage } from "./use/draggable";
|
|
|
import MultiMediaMarkBody from "./MultiMediaMarkBody.vue";
|
|
|
import "viewerjs/dist/viewer.css";
|
|
|
import Viewer from "viewerjs";
|
|
|
+import ZoomPaper from "@/components/ZoomPaper.vue";
|
|
|
|
|
|
const props = defineProps<{
|
|
|
useMarkResult?: boolean;
|
|
@@ -516,6 +509,7 @@ const showBigImage = (event: MouseEvent) => {
|
|
|
|
|
|
<style scoped>
|
|
|
.mark-body-container {
|
|
|
+ min-height: calc(100vh - 56px);
|
|
|
height: calc(100vh - 56px);
|
|
|
overflow: auto;
|
|
|
/* background-size: 8px 8px;
|
|
@@ -538,4 +532,28 @@ const showBigImage = (event: MouseEvent) => {
|
|
|
.image-seperator {
|
|
|
border: 2px solid transparent;
|
|
|
}
|
|
|
+.status-container {
|
|
|
+ position: sticky;
|
|
|
+ bottom: calc(100% - 40px);
|
|
|
+ left: calc(100% - 40px);
|
|
|
+ margin-top: -40px;
|
|
|
+ color: white;
|
|
|
+ pointer-events: none;
|
|
|
+ font-size: 16px;
|
|
|
+ background-color: #ef7c78;
|
|
|
+
|
|
|
+ width: 30px;
|
|
|
+ height: 50px;
|
|
|
+ text-align: center;
|
|
|
+ z-index: 1000;
|
|
|
+}
|
|
|
+.double-triangle {
|
|
|
+ background-color: #ef7c78;
|
|
|
+ width: 30px;
|
|
|
+ height: 6px;
|
|
|
+ clip-path: polygon(0 0, 0 6px, 50% 0, 100% 0, 100% 6px, 50% 0);
|
|
|
+
|
|
|
+ position: absolute;
|
|
|
+ bottom: -6px;
|
|
|
+}
|
|
|
</style>
|