|
@@ -5,22 +5,25 @@
|
|
|
class="abnormal"
|
|
|
>
|
|
|
<div class="collapse-btn" :class="{ rotate: !show }" @click="show = !show">
|
|
|
- <UpOutlined style="font-size: 16px" />
|
|
|
+ <LeftOutlined style="font-size: 26px" />
|
|
|
</div>
|
|
|
<Transition
|
|
|
- enterActiveClass="animate__animated animate__slideInDown"
|
|
|
- leaveActiveClass="animate__animated animate__slideOutUp"
|
|
|
+ enterActiveClass="animate__animated animate__fadeInLeft"
|
|
|
+ leaveActiveClass="animate__animated animate__fadeOutLeft"
|
|
|
>
|
|
|
<!-- <a-alert v-if="show" :message="result" banner /> -->
|
|
|
- <div v-if="show" class="text-box">{{ result }}</div>
|
|
|
+ <div v-if="show" class="text-box">
|
|
|
+ <div>试卷整理异常信息:</div>
|
|
|
+ <div style="margin-left: -50px; margin-top: 10px">{{ result }}</div>
|
|
|
+ </div>
|
|
|
</Transition>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script name="Abnormal" lang="ts" setup>
|
|
|
-import { computed, ref, watch, onMounted } from "vue";
|
|
|
+import { computed, ref, watch } from "vue";
|
|
|
import { store } from "@/store/store";
|
|
|
|
|
|
-import { UpOutlined } from "@ant-design/icons-vue";
|
|
|
+import { LeftOutlined } from "@ant-design/icons-vue";
|
|
|
|
|
|
const abnormalRef = ref();
|
|
|
|
|
@@ -31,9 +34,7 @@ const result = computed(() => {
|
|
|
collationLabelList.find(
|
|
|
(item: any) => item.code == store.currentTask?.collationLabelCode
|
|
|
)?.name || "";
|
|
|
- return `试卷整理异常信息:${
|
|
|
- store.currentTask?.collationLabelCode || ""
|
|
|
- } - ${name}`;
|
|
|
+ return `${store.currentTask?.collationLabelCode || ""} - ${name}`;
|
|
|
});
|
|
|
watch(
|
|
|
() => store.currentTask,
|
|
@@ -54,21 +55,21 @@ watch(
|
|
|
// padding-left: 30px;
|
|
|
// }
|
|
|
.text-box {
|
|
|
- padding-left: 38px;
|
|
|
background: rgba(0, 0, 0, 0.7);
|
|
|
color: #fff;
|
|
|
line-height: 1.4;
|
|
|
height: 30vh;
|
|
|
font-size: 28px;
|
|
|
overflow: auto;
|
|
|
+ padding: 10px 0 10px 60px;
|
|
|
}
|
|
|
.collapse-btn {
|
|
|
position: absolute;
|
|
|
left: 5px;
|
|
|
top: 6px;
|
|
|
z-index: 1;
|
|
|
- width: 30px;
|
|
|
- height: 30px;
|
|
|
+ width: 50px;
|
|
|
+ height: 50px;
|
|
|
border-radius: 50%;
|
|
|
background: var(--app-primary-button-bg-color);
|
|
|
color: #fff;
|