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
acb6a9cc
Commit
acb6a9cc
authored
Mar 31, 2023
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加文字输入题型三个适配选项
parent
637ba10d
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
556 additions
and
454 deletions
+556
-454
main-es2015.js
form/main-es2015.js
+194
-173
main-es2015.js.map
form/main-es2015.js.map
+1
-1
main-es5.js
form/main-es5.js
+354
-279
main-es5.js.map
form/main-es5.js.map
+1
-1
form.component.html
form_angular/src/app/form/form.component.html
+3
-0
form.component.ts
form_angular/src/app/form/form.component.ts
+3
-0
No files found.
form/main-es2015.js
View file @
acb6a9cc
This diff is collapsed.
Click to expand it.
form/main-es2015.js.map
View file @
acb6a9cc
This diff is collapsed.
Click to expand it.
form/main-es5.js
View file @
acb6a9cc
This diff is collapsed.
Click to expand it.
form/main-es5.js.map
View file @
acb6a9cc
This diff is collapsed.
Click to expand it.
form_angular/src/app/form/form.component.html
View file @
acb6a9cc
...
...
@@ -461,8 +461,11 @@
<span
style=
"display: inline-block; text-align: right; width: 150px;"
>
正确文字:
</span>
<input
type=
"text"
nz-input
[(
ngModel
)]="
it
.
inputText
"
(
blur
)="
save
()"
style=
"display: inline-block; width: 300px;"
>
<label
nz-checkbox
[(
ngModel
)]="
it
.
keyWordMatch
"
(
ngModelChange
)="
save
()"
style=
"margin-left: 10px;"
>
关键词匹配
</label>
<label
nz-checkbox
[(
ngModel
)]="
it
.
keyWordMatchInOrder
"
(
ngModelChange
)="
save
()"
style=
"margin-left: 10px;"
>
有序关键词
</label>
<label
nz-checkbox
[(
ngModel
)]="
it
.
isCaseInsensitive
"
(
ngModelChange
)="
save
()"
style=
"margin-left: 10px;"
>
不区分大小写
</label>
<label
nz-checkbox
[(
ngModel
)]="
it
.
openAnswer
"
(
ngModelChange
)="
save
()"
style=
"margin-left: 10px;"
>
开放性答案
</label>
<label
nz-checkbox
[(
ngModel
)]="
it
.
capitalizedFirstLetter
"
(
ngModelChange
)="
save
()"
style=
"margin-left: 10px;"
>
首字母大写
</label>
<label
nz-checkbox
[(
ngModel
)]="
it
.
adaptContraction
"
(
ngModelChange
)="
save
()"
style=
"margin-left: 10px;"
>
适配缩略(比如:It's = It is)
</label>
</div>
<div
*
ngIf=
"it.hotZoneType != '' && it.hotZoneType != CROSSWORD_PUZZLE && it.hotZoneType != HOT_ZONE_RADIO && it.hotZoneType != HOT_ZONE_CHECKBOX && it.hotZoneType != CONNECTION && it.hotZoneType != TEXT_SELECT && it.hotZoneType != RIGHT_OR_WRONG"
style=
"margin: 10px 10px;"
>
...
...
form_angular/src/app/form/form.component.ts
View file @
acb6a9cc
...
...
@@ -125,6 +125,9 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy, AfterViewIni
isCaseInsensitive
:
true
,
openAnswer
:
false
,
useSelectOptionList
:
false
,
keyWordMatchInOrder
:
false
,
capitalizedFirstLetter
:
false
,
adaptContraction
:
false
,
selectOptionList
:
[
],
...
...
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