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
76694f00
Commit
76694f00
authored
Jun 10, 2020
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: 更改色号
parent
69fc4417
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
play.component.html
src/app/play/play.component.html
+1
-1
play.component.ts
src/app/play/play.component.ts
+5
-4
No files found.
src/app/play/play.component.html
View file @
76694f00
...
@@ -2,4 +2,4 @@
...
@@ -2,4 +2,4 @@
<canvas
id=
"canvas"
#
canvas
></canvas>
<canvas
id=
"canvas"
#
canvas
></canvas>
</div>
</div>
<label
style=
"font-family: 'GOTHICB_1'; "
></label>
<label
style=
"font-family: 'GOTHICB_1';
height: 0px;
"
></label>
src/app/play/play.component.ts
View file @
76694f00
...
@@ -504,7 +504,7 @@ export class PlayComponent implements OnInit, OnDestroy {
...
@@ -504,7 +504,7 @@ export class PlayComponent implements OnInit, OnDestroy {
return
{
return
{
t_val1
:
'
C
'
,
t_val1
:
'
C
'
,
t_val2
:
'
Listen, make a sentence.Then chant.
'
,
t_val2
:
'
Listen, make a sentence.Then chant.
'
,
t_font_color
:
'
#
f2c558
'
,
t_font_color
:
'
#
F7CB47
'
,
t_font
:
'
BRLNSDB
'
,
t_font
:
'
BRLNSDB
'
,
t_font_size
:
40
t_font_size
:
40
};
};
...
@@ -644,7 +644,7 @@ export class PlayComponent implements OnInit, OnDestroy {
...
@@ -644,7 +644,7 @@ export class PlayComponent implements OnInit, OnDestroy {
color
=
"
#008000
"
;
color
=
"
#008000
"
;
break
;
break
;
case
"
C02
"
:
case
"
C02
"
:
color
=
"
#
FF0000
"
;
color
=
"
#
C8161E
"
;
break
;
break
;
case
"
C03
"
:
case
"
C03
"
:
color
=
"
#D2691E
"
;
color
=
"
#D2691E
"
;
...
@@ -823,7 +823,7 @@ export class PlayComponent implements OnInit, OnDestroy {
...
@@ -823,7 +823,7 @@ export class PlayComponent implements OnInit, OnDestroy {
this
.
title1
=
new
Label
();
this
.
title1
=
new
Label
();
this
.
title1
.
text
=
this
.
data
.
title
.
t_val1
;
this
.
title1
.
text
=
this
.
data
.
title
.
t_val1
;
this
.
title1
.
fontName
=
'
BRLNSDB
'
;
this
.
title1
.
fontName
=
'
BRLNSDB
'
;
this
.
title1
.
fontColor
=
'
#
ffdb84
'
;
this
.
title1
.
fontColor
=
'
#
F7CB47
'
;
this
.
title1
.
fontSize
=
55
;
this
.
title1
.
fontSize
=
55
;
this
.
title1
.
textAlign
=
'
center
'
;
this
.
title1
.
textAlign
=
'
center
'
;
this
.
title1
.
refreshSize
();
this
.
title1
.
refreshSize
();
...
@@ -835,7 +835,8 @@ export class PlayComponent implements OnInit, OnDestroy {
...
@@ -835,7 +835,8 @@ export class PlayComponent implements OnInit, OnDestroy {
const
bgRect
=
new
ShapeRect
();
const
bgRect
=
new
ShapeRect
();
bgRect
.
setSize
(
1000
,
60
);
bgRect
.
setSize
(
1000
,
60
);
bgRect
.
init
();
bgRect
.
init
();
bgRect
.
fillColor
=
'
#ffdb84
'
;
bgRect
.
fillColor
=
'
#F7CB47
'
;
bgRect
.
alpha
=
0
;
this
.
title2
=
new
Label
();
this
.
title2
=
new
Label
();
this
.
title2
.
text
=
this
.
data
.
title
.
t_val2
;
this
.
title2
.
text
=
this
.
data
.
title
.
t_val2
;
...
...
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