style: 优化公告相关样式

This commit is contained in:
2024-10-23 23:02:39 +08:00
parent fd1dfcf3f4
commit 33bf31b048
2 changed files with 5 additions and 1 deletions

View File

@@ -68,6 +68,10 @@ onMounted(() => {
</script>
<style scoped lang="less">
:deep(.arco-typography) {
color: var(--color-text-2);
}
.item {
display: flex;
align-items: center;

View File

@@ -1,5 +1,5 @@
<template>
<a-modal v-model:visible="visible" :width="width >= 600 ? '70%' : '100%'" :footer="false" draggable @close="reset">
<a-modal v-model:visible="visible" :width="width >= 600 ? 'auto' : '100%'" :footer="false" draggable @close="reset">
<a-typography :style="{ marginTop: '-40px', textAlign: 'center' }">
<a-typography-title>
{{ dataDetail?.title }}