Commit d44b3bc9 authored by yu's avatar yu

6.22调整

parent 6fb27e42
...@@ -196,15 +196,15 @@ export default class Game { ...@@ -196,15 +196,15 @@ export default class Game {
this.page += 1; this.page += 1;
} }
get getTotla() { get getTotla() {
let count = 0; // let count = 0;
this.data.forEach(item => { // this.data.forEach(item => {
item.options.forEach((op) => { // item.options.forEach((op) => {
if (op.right) count++; // if (op.right) count++;
}) // })
}); // });
return count; return this.data.length;
} }
get isOver() { get isOver() {
return this.page > this.lists.length; return this.page > this.lists.length;
......
...@@ -183,7 +183,7 @@ ...@@ -183,7 +183,7 @@
<span style="color:red;margin-left:-15px">* </span> <span style="color:red;margin-left:-15px">* </span>
<span>文本: </span> <span>文本: </span>
</div> </div>
<input class="input-place-red" type="text" placeholder="必填,语音评测是根据文本内容去对比打分的" nz-input <input class="input-place-red" type="text" nz-input
[(ngModel)]="option.text" (blur)="save()"> [(ngModel)]="option.text" (blur)="save()">
</div> </div>
<!-- <div class="option-time"> <!-- <div class="option-time">
......
...@@ -14,7 +14,7 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O ...@@ -14,7 +14,7 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O
item = { item = {
title: "火力小炮台", title: "火力小炮台",
questionText: "敌人建造了很多炮塔在我们的地盘上,真是太危险了! 亲爱的小玩家,请认真听游戏指令,利用小炮台摧毁这些炮塔吧!游戏结束后,根据摧毁的炮塔数量,你将获得相应的能量石奖励哟!开始挑战吧!", questionText: "敌人建造了很多炮塔在我们的地盘上,真是太危险了! 亲爱的小玩家,请认真听游戏指令,利用小炮台摧毁这些炮塔吧!游戏结束后,根据摧毁的炮塔数量,你将获得相应的能量石奖励哟!开始挑战吧!",
questionTextAudio: "http://staging-teach.cdn.ireadabc.com/d60710f8580f77d494a6ab95d5cc46c5.mp3", questionTextAudio: "http://staging-teach.cdn.ireadabc.com/8b8983df3ead9128f029c7a1a1e5c524_l.mp3",
questions: [], questions: [],
audioName:"" audioName:""
}; };
......
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