Files
Enterprise-Knowledge-Base/frontend/src/components/upload-mask.vue
T
wizardchen 56eb2bce33 init commit
2025-08-05 15:08:07 +08:00

41 lines
940 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<script setup lang="ts">
</script>
<template>
<div class="mask">
<img class="upload-mask-img" src="@/assets/img/upload-mask.svg" alt="">
<span class="drag-txt">将文件拖放到此处</span>
<span class="drag-type-txt">pdf、doc 格式文件,不超过30M</span>
<span class="drag-type-txt">text、markdown格式文件,不超过30M</span>
</div>
</template>
<style scoped lang="less">
.mask{
display: flex;
flex-flow: column;
justify-content: center;
align-items: center;
}
.drag-txt {
color: #07c05f;
font-family: "PingFang SC";
font-size: 24px;
font-weight: 600;
line-height: 26px;
display: inline-block;
margin: 12px 0 16px 0;
}
.drag-type-txt {
width: 217px;
color: #00000066;
text-align: center;
font-family: "PingFang SC";
font-size: 12px;
font-weight: 400;
}
.upload-img{
width: 162px;
height: 162px;
}
</style>