Commit f94417c0 by llj

style:数字问卷任务记录PDF资讯富文本样式调整

1 parent 199e0cc9
...@@ -237,14 +237,4 @@ export default { ...@@ -237,14 +237,4 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped></style>
.information {
display: flex;
align-items: center;
margin: 15px;
img {
width: 300px;
height: 150px;
}
}
</style>
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<Configurable :resData="resData" :projectType="projectType"> <Configurable :resData="resData" :projectType="projectType">
<template v-slot:information> <template v-slot:information>
<div> <div>
<div class="block_box information"> <!-- <div class="information">
<img :src="resData.channelInformation.picUrl" /> <img :src="resData.channelInformation.picUrl" />
<div style="margin:10px"> <div style="margin:10px">
<span>资讯标题:</span> <span>资讯标题:</span>
...@@ -16,8 +16,11 @@ ...@@ -16,8 +16,11 @@
{{ resData.channelInformation.title }} {{ resData.channelInformation.title }}
</strong> </strong>
</div> </div>
</div> </div> -->
<div v-html="resData.channelInformation.content"></div> <div
class="information-content"
v-html="resData.channelInformation.content"
></div>
</div> </div>
</template> </template>
</Configurable> </Configurable>
...@@ -63,9 +66,39 @@ export default { ...@@ -63,9 +66,39 @@ export default {
}; };
</script> </script>
<style scoped> <style scoped lang="scss">
@import url('../style/index.css'); @import url('../style/index.css');
.template-container { .template-container {
text-align: left; text-align: left;
} }
.information {
display: flex;
align-items: center;
margin: 15px;
img {
width: 300px;
height: 150px;
}
&-content {
margin: 0 auto;
width: 1000px;
video {
width: 100%;
object-fit: contain;
height: 100%;
}
}
}
</style>
<style lang="scss">
.information-content {
img {
width: 1000px;
object-fit: contain;
height: 100%;
}
p {
line-height: 1.5 !important;
}
}
</style> </style>
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
*/ */
@page { @page {
size: A4; size: A4;
margin: 20px 20px; margin: 20px 15px 20px 10px;
} }
* { * {
font-family: SimSun; font-family: SimSun;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!