Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
DG_FAF
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
DG_FAF
Commits
9678c8be
Commit
9678c8be
authored
Feb 19, 2023
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成热区配置
parent
ab64f8b3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
form.component.html
form_angular/src/app/form/form.component.html
+8
-8
No files found.
form_angular/src/app/form/form.component.html
View file @
9678c8be
...
...
@@ -14,14 +14,7 @@
<h2
style=
"margin-top: 10px;"
>
热区内容配置:
</h2>
<div
style=
"font-size: 16px; border: 2px solid #ccc; border-radius: 10px; padding: 10px;"
>
<div
*
ngFor=
"let it of item.hotZoneConfigArr; let i = index"
style=
"border: 2px dashed #ddd; border-radius: 5px; padding: 10px; margin-bottom: 10px; position: relative;"
>
<span
style=
"position: absolute; right: 50px; top: 10px; font-size: 64px;"
>
{{i + 1}}
</span>
<div
style=
"margin: 10px 10px;"
>
<span
style=
"display: inline-block; text-align: right; width: 100px;"
>
关联热区:
</span>
<nz-select
[(
ngModel
)]="
it
.
linkHotZoneIndex
"
style=
"width: 50px;"
(
ngModelChange
)="
save
()"
>
<nz-option
*
ngFor=
"let itOption of item.hotZoneItemArr"
[
nzValue
]="
itOption
.
index
"
[
nzLabel
]="
itOption
.
index
+
1
"
></nz-option>
</nz-select>
<span
style=
"margin-left: 10px;"
>
热区名:{{item.hotZoneItemArr
&&
item.hotZoneItemArr[it.linkHotZoneIndex] ? item.hotZoneItemArr[it.linkHotZoneIndex].itemName : "未配置"}}
</span>
</div>
<span
style=
"position: absolute; right: 50px; top: 0px; font-size: 42px; font-weight: bold;"
>
{{i + 1}}
</span>
<div
style=
"margin: 10px 10px;"
>
<span
style=
"display: inline-block; text-align: right; width: 100px;"
>
热区内容:
</span>
<nz-select
[(
ngModel
)]="
it
.
hotZoneType
"
style=
"width: 100px;"
(
ngModelChange
)="
save
()"
>
...
...
@@ -113,6 +106,13 @@
<span
style=
"display: inline-block; text-align: right; width: 100px;"
>
正确文字:
</span>
<input
type=
"text"
nz-input
[(
ngModel
)]="
it
.
inputText
"
(
blur
)="
save
"
style=
"display: inline-block; width: 300px;"
>
</div>
<div
*
ngIf=
"it.hotZoneType != '3'"
style=
"margin: 10px 10px;"
>
<span
style=
"display: inline-block; text-align: right; width: 100px;"
>
关联热区:
</span>
<nz-select
[(
ngModel
)]="
it
.
linkHotZoneIndex
"
style=
"width: 50px;"
(
ngModelChange
)="
save
()"
>
<nz-option
*
ngFor=
"let itOption of item.hotZoneItemArr"
[
nzValue
]="
itOption
.
index
"
[
nzLabel
]="
itOption
.
index
+
1
"
></nz-option>
</nz-select>
<span
style=
"margin-left: 10px;"
>
热区名:{{item.hotZoneItemArr
&&
item.hotZoneItemArr[it.linkHotZoneIndex] ? item.hotZoneItemArr[it.linkHotZoneIndex].itemName : "未配置"}}
</span>
</div>
<div
style=
"margin: 10px 10px;"
>
<span
style=
"display: inline-block; text-align: right; width: 100px;"
>
分数:
</span>
<input
type=
"text"
nz-input
[(
ngModel
)]="
it
.
score
"
(
blur
)="
save
"
style=
"display: inline-block; width: 150px;"
>
...
...
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