Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
YM5-9
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
YM5-9
Commits
dc97efb8
Commit
dc97efb8
authored
Jan 30, 2021
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix
parent
d088ed78
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
27 deletions
+37
-27
form.component.html
src/app/form/form.component.html
+34
-27
play.component.ts
src/app/play/play.component.ts
+3
-0
No files found.
src/app/form/form.component.html
View file @
dc97efb8
...
...
@@ -25,7 +25,8 @@
<div
*
ngIf=
"dataArray.length==0"
style=
"font-style: italic;"
>
请新建问答
</div>
<div
ngfor
*
ngFor=
"let item of dataArray; let i = index"
class=
"section-content"
style=
"border-bottom: 1px dashed #ccc; padding-bottom: 5px;"
>
<div
ngfor
*
ngFor=
"let item of dataArray; let i = index"
class=
"section-content clearfix"
style=
"border-bottom: 1px dashed #ccc; padding-bottom: 5px;"
>
<div>
<h3>
-{{i+1}}-
</h3>
<nz-form-item>
<nz-form-label
[
nzSpan
]="
2
"
>
问题
</nz-form-label>
...
...
@@ -54,6 +55,12 @@
</nz-form-control>
</nz-form-item>
</div>
<div>
<button
style=
"margin-bottom: 10px; float: right;"
nz-button
nzType=
"danger"
(
click
)="
deleteItem
(
i
)"
>
<span>
删除
</span>
</button>
</div>
</div>
</div>
</div>
...
...
src/app/play/play.component.ts
View file @
dc97efb8
...
...
@@ -452,6 +452,7 @@ export class PlayComponent implements OnInit, OnDestroy {
let
clickSY
=
0
let
baseY
=
0
;
const
scrollPannel
=
this
.
g_cartoon
.
getCartoonElement
(
"
scroll-pannel
"
)
this
.
subscribeMapDragEvent
(
sliderBody
.
id
,
()
=>
{
clickSY
=
this
.
g_clickY
;
baseY
=
sliderBody
.
ref
.
y
...
...
@@ -654,6 +655,8 @@ export class PlayComponent implements OnInit, OnDestroy {
btnQuestion
.
show
(()
=>
{
this
.
g_enableMapDown
=
true
;
})
}
else
{
this
.
g_enableMapDown
=
true
;
}
})
})
...
...
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