Commit d44b3bc9 authored by yu's avatar yu

6.22调整

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