Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
ym-23
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
ym-23
Commits
b9b3279e
Commit
b9b3279e
authored
Jun 09, 2020
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: 修改标题句子字体
parent
a8c3b205
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
play.component.ts
src/app/play/play.component.ts
+6
-6
No files found.
src/app/play/play.component.ts
View file @
b9b3279e
...
...
@@ -719,7 +719,7 @@ export class PlayComponent implements OnInit, OnDestroy {
letter_spr
.
text
=
array
[
0
];
letter_spr
.
textAlign
=
'
left
'
;
letter_spr
.
fontSize
=
40
;
letter_spr
.
fontName
=
'
GOTHICB
'
;
letter_spr
.
fontName
=
'
GOTHICB
_1
'
;
letter_spr
.
fontColor
=
this
.
getColor
(
letter
.
letter_color
);
letter_spr
.
refreshSize
();
//设置坐标
...
...
@@ -738,7 +738,7 @@ export class PlayComponent implements OnInit, OnDestroy {
symbol
.
text
=
array
[
1
];
symbol
.
textAlign
=
'
left
'
;
symbol
.
fontSize
=
40
;
symbol
.
fontName
=
'
GOTHICB
'
;
symbol
.
fontName
=
'
GOTHICB
_1
'
;
symbol
.
fontColor
=
this
.
getColor
(
'
C04
'
);
symbol
.
refreshSize
();
//设置坐标
...
...
@@ -829,8 +829,8 @@ export class PlayComponent implements OnInit, OnDestroy {
this
.
title1
.
refreshSize
();
this
.
t1Bg
.
addChild
(
this
.
title1
);
this
.
title1
.
setMaxSize
(
52
);
this
.
title1
.
x
=
-
2
+
this
.
t1Bg
.
width
/
2
;
this
.
title1
.
y
=
1
+
this
.
t1Bg
.
height
/
2
;
this
.
title1
.
x
=
this
.
t1Bg
.
width
/
2
;
this
.
title1
.
y
=
this
.
t1Bg
.
height
/
2
;
//大标题
const
bgRect
=
new
ShapeRect
();
bgRect
.
setSize
(
1000
,
60
);
...
...
@@ -841,10 +841,10 @@ export class PlayComponent implements OnInit, OnDestroy {
this
.
title2
.
text
=
this
.
data
.
title
.
t_val2
;
this
.
title2
.
fontName
=
'
FUTURAB
'
;
this
.
title2
.
fontColor
=
'
#040404
'
;
this
.
title2
.
fontSize
=
50
*
this
.
t1Bg
.
scaleX
;
this
.
title2
.
fontSize
=
32
*
this
.
t1Bg
.
scaleX
;
this
.
title2
.
setMaxSize
(
1000
);
this
.
title2
.
x
=
this
.
t1Bg
.
x
+
(
this
.
t1Bg
.
width
+
10
)
*
this
.
t1Bg
.
scaleX
;
this
.
title2
.
y
=
this
.
t1Bg
.
y
+
(
this
.
t1Bg
.
height
/
2
+
6
)
*
this
.
t1Bg
.
scaleY
;
this
.
title2
.
y
=
this
.
t1Bg
.
y
+
(
this
.
t1Bg
.
height
/
2
+
8
)
*
this
.
t1Bg
.
scaleY
;
this
.
title2
.
refreshSize
();
this
.
renderArr
.
push
(
this
.
title2
);
...
...
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