提交 8750deff authored 作者: 何忠建's avatar 何忠建

优化公告展示

上级 93b93e29
...@@ -101,7 +101,9 @@ ...@@ -101,7 +101,9 @@
</a-col> </a-col>
</a-row> </a-row>
<a-modal :title="noticeTitle" :visible="visible" @cancel="handleCancel" :footer="null" width="40%"> <a-modal :title="noticeTitle" :visible="visible" @cancel="handleCancel" :footer="null" width="40%">
<p v-html="noticeContent "></p> <div class="notice-content">
<p v-html="noticeContent "></p>
</div>
</a-modal> </a-modal>
</div> </div>
</template> </template>
...@@ -296,4 +298,10 @@ export default { ...@@ -296,4 +298,10 @@ export default {
margin: 0; margin: 0;
} }
} }
.notice-content{
img{
width: 100%;
height: auto;
}
}
</style> </style>
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论