样式优化

This commit is contained in:
zhuangyuanke 2024-09-19 13:38:38 +08:00
parent 73a243f41d
commit 846cc6c113

View File

@ -630,7 +630,7 @@
<el-dialog <el-dialog
title="预览" title="预览"
:visible.sync="dialogview" :visible.sync="dialogview"
width="50%" width="1080px"
:before-close="handleview" :before-close="handleview"
> >
<div class="titletop">文章模板:{{ formview.propagandaTitle }}</div> <div class="titletop">文章模板:{{ formview.propagandaTitle }}</div>
@ -642,9 +642,8 @@
<div> <div>
<img :src="baseUrl + formview.propagandaCoverPath" alt="" /> <img :src="baseUrl + formview.propagandaCoverPath" alt="" />
<div class="know">知识卡片</div> <div class="know">知识卡片</div>
<div class="knowlist"> <div class="knowlist" v-html="formview.propagandaContent">
<Editorxj v-model="formview.propagandaContent" :min-height="192" /> </div> <!-- <Editorxj v-model="formview.propagandaContent" :min-height="192" /> -->
</div>
</div> </div>
</div> </div>
</el-dialog> </el-dialog>
@ -1582,10 +1581,20 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
::v-deep .el-dialog{
top:-25px;
height:95vh;
}
::v-deep .ql-editor { ::v-deep .ql-editor {
::v-deep .ql-video { ::v-deep .ql-video {
width: 100% !important; width: 100% !important;
} }
}
::v-deep .el-dialog__body
{
padding-top: 10px !important;
} }
.articleSummary { .articleSummary {
@ -1682,7 +1691,7 @@ audio {
.bodytop { .bodytop {
position: relative; position: relative;
top: 20px; top: 20px;
height: 500px; height: calc(95vh - 150px) !important;
overflow: auto; overflow: auto;
border: 1px solid #e2e2e2; border: 1px solid #e2e2e2;
@ -1696,8 +1705,8 @@ audio {
margin: 10px 0px 10px 30px; margin: 10px 0px 10px 30px;
} }
img { ::v-deep img {
// width: 100%; max-width: 950px;
// width: 362px; // width: 362px;
// height: 127px; // height: 127px;
margin: 0px 0px 0px 30px; margin: 0px 0px 0px 30px;
@ -1732,11 +1741,6 @@ audio {
} }
} }
img {
// height: 100%;
// width: 100%;
}
.right { .right {
width: 20%; width: 20%;
// background: red; // background: red;
@ -1807,6 +1811,8 @@ audio {
bottom: 23px; bottom: 23px;
font-size: 13px; font-size: 13px;
} }
} }
} }
</style> </style>