Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
ww_question
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
ww_question
Commits
37b631eb
Commit
37b631eb
authored
4 years ago
by
liujiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
f6eba663
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
5 additions
and
4 deletions
+5
-4
form.component.html
src/app/form/form.component.html
+1
-1
play.component.html
src/app/play/play.component.html
+2
-2
play.component.ts
src/app/play/play.component.ts
+2
-1
bg.png
src/assets/question/bg.png
+0
-0
left.png
src/assets/question/left.png
+0
-0
pause.png
src/assets/question/pause.png
+0
-0
play.png
src/assets/question/play.png
+0
-0
right.png
src/assets/question/right.png
+0
-0
No files found.
src/app/form/form.component.html
View file @
37b631eb
...
...
@@ -27,7 +27,7 @@
*
ngFor=
"let item of options; let i = index"
>
<div
class=
"tool-bar"
>
<label
nz-checkbox
[
ngModel
]="
item
.
right
"
(
click
)="
setRightAnswer
(
i
)"
class=
"right-answer"
>
<label
nz-checkbox
[
ngModel
]="
item
.
right
"
(
ngModelChange
)="
setRightAnswer
(
i
)"
class=
"right-answer"
>
Right
</label>
<div
class=
"button-group"
>
...
...
This diff is collapsed.
Click to expand it.
src/app/play/play.component.html
View file @
37b631eb
<div
class=
"question-player"
>
<div
class=
"question-player"
style=
"position: relative"
>
<div
class=
"top-part"
>
<img
*
ngIf=
"data.contentObj.pic_id"
[
src
]="
data
.
contentObj
.
pic_id
"
alt=
"cover"
(
dragstart
)="
false
;$
event
.
preventDefault
();"
(
click
)="
onHandleZoomIn
()"
(
click
)="
onHandleZoomIn
(
$
event
)"
[@
zoom
]="
zoomIn
?
'
in
'
:
'
none
'"
/>
<div
class=
"title"
>
{{data.contentObj.title}}
</div>
...
...
This diff is collapsed.
Click to expand it.
src/app/play/play.component.ts
View file @
37b631eb
...
...
@@ -166,7 +166,8 @@ export class PlayComponent implements OnInit, OnDestroy {
}
}
onHandleZoomIn
()
{
onHandleZoomIn
(
e
)
{
e
.
stopPropagation
();
this
.
zoomIn
=
!
this
.
zoomIn
;
}
...
...
This diff is collapsed.
Click to expand it.
src/assets/question/bg.png
0 → 100644
View file @
37b631eb
18.6 KB
This diff is collapsed.
Click to expand it.
src/assets/question/left.png
0 → 100644
View file @
37b631eb
11.3 KB
This diff is collapsed.
Click to expand it.
src/assets/question/pause.png
0 → 100755
View file @
37b631eb
18.5 KB
This diff is collapsed.
Click to expand it.
src/assets/question/play.png
0 → 100755
View file @
37b631eb
20.4 KB
This diff is collapsed.
Click to expand it.
src/assets/question/right.png
0 → 100644
View file @
37b631eb
11.5 KB
This diff is collapsed.
Click to expand it.
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