Commit b9b3279e authored by limingzhe's avatar limingzhe

style: 修改标题句子字体

parent a8c3b205
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment