Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
firepower_fort
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
firepower_fort
Commits
d44b3bc9
Commit
d44b3bc9
authored
Jun 22, 2022
by
yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
6.22调整
parent
6fb27e42
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
Game.ts
assets/firepower_fort/scene/tool/Game.ts
+7
-7
form.component.html
form/src/app/form/form.component.html
+1
-1
form.component.ts
form/src/app/form/form.component.ts
+1
-1
No files found.
assets/firepower_fort/scene/tool/Game.ts
View file @
d44b3bc9
...
@@ -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
;
...
...
form/src/app/form/form.component.html
View file @
d44b3bc9
...
@@ -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">
...
...
form/src/app/form/form.component.ts
View file @
d44b3bc9
...
@@ -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
:
""
};
};
...
...
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