Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
jml0128
/
xrk-bi
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f94417c0
authored
Apr 27, 2022
by
llj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style:数字问卷任务记录PDF资讯富文本样式调整
1 parent
199e0cc9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
16 deletions
src/packages/task-recored/src/components/base/configurable.vue
src/packages/task-recored/src/project-scene/digital-questionnaire.vue
src/packages/task-recored/src/style/index.css
src/packages/task-recored/src/components/base/configurable.vue
View file @
f94417c
...
...
@@ -237,14 +237,4 @@ export default {
}
;
<
/script
>
<
style
lang
=
"scss"
scoped
>
.
information
{
display
:
flex
;
align
-
items
:
center
;
margin
:
15
px
;
img
{
width
:
300
px
;
height
:
150
px
;
}
}
<
/style
>
<
style
lang
=
"scss"
scoped
><
/style
>
src/packages/task-recored/src/project-scene/digital-questionnaire.vue
View file @
f94417c
...
...
@@ -8,7 +8,7 @@
<Configurable
:resData=
"resData"
:projectType=
"projectType"
>
<template
v-slot:information
>
<div>
<
div
class=
"block_box
information"
>
<
!--
<div
class=
"
information"
>
<img
:src=
"resData.channelInformation.picUrl"
/>
<div
style=
"margin:10px"
>
<span>
资讯标题:
</span>
...
...
@@ -16,8 +16,11 @@
{{
resData
.
channelInformation
.
title
}}
</strong>
</div>
</div>
<div
v-html=
"resData.channelInformation.content"
></div>
</div>
-->
<div
class=
"information-content"
v-html=
"resData.channelInformation.content"
></div>
</div>
</
template
>
</Configurable>
...
...
@@ -63,9 +66,39 @@ export default {
};
</
script
>
<
style
scoped
>
<
style
scoped
lang=
"scss"
>
@import
url('../style/index.css')
;
.template-container
{
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
>
src/packages/task-recored/src/style/index.css
View file @
f94417c
...
...
@@ -6,7 +6,7 @@
*/
@page
{
size
:
A4
;
margin
:
20px
2
0px
;
margin
:
20px
15px
20px
1
0px
;
}
*
{
font-family
:
SimSun
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment