Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
ec-report-refactor
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lihuizhen
ec-report-refactor
Commits
cd51368d
Commit
cd51368d
authored
Feb 21, 2023
by
leon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: basic text config
parent
c8339dda
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
BasicText.vue
components/BasicText/BasicText.vue
+3
-1
No files found.
components/BasicText/BasicText.vue
View file @
cd51368d
...
@@ -5,9 +5,11 @@
...
@@ -5,9 +5,11 @@
:style=
"
{
:style=
"
{
'font-size':`${elementInfo.option.title.textStyle.fontSize}px`,
'font-size':`${elementInfo.option.title.textStyle.fontSize}px`,
'color': elementInfo.option.title.textStyle.color,
'color': elementInfo.option.title.textStyle.color,
'background-color': elementInfo.option.title.textStyle.backgroundColor,
'font-weight': elementInfo.option.title.textStyle.fontWeight,
'font-weight': elementInfo.option.title.textStyle.fontWeight,
'text-align': elementInfo.option.title.left,
'text-align': elementInfo.option.title.left,
'animation-duration':`${elementInfo.marquee.speed ? elementInfo.marquee.speed : defaultSpeed}s`
'animation-duration':`${elementInfo.marquee.speed ? elementInfo.marquee.speed : defaultSpeed}s`,
'border': elementInfo.option.title.textStyle.bordered ? `${elementInfo.option.title.textStyle.frameWidth}px ${elementInfo.option.title.textStyle.frameStyle} ${elementInfo.option.title.textStyle.frameColor}` : 'none'
}"
}"
>
>
{{
elementData
.
dataList
.
text
||
elementInfo
.
option
.
title
.
text
}}
{{
elementData
.
dataList
.
text
||
elementInfo
.
option
.
title
.
text
}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment