Commit dc97efb8 authored by 李维's avatar 李维

Bug fix

parent d088ed78
......@@ -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>
......
......@@ -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;
}
})
})
......
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