Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cc_mz_write_02
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
cc_mz_write_02
Commits
80dcf92a
Commit
80dcf92a
authored
Nov 01, 2022
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
e4ce6dcc
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
604 additions
and
100 deletions
+604
-100
cc_mz_write_02.js
assets/cc_mz_write_02/scene/cc_mz_write_02.js
+577
-99
form.component.html
form/src/app/form/form.component.html
+16
-1
form.component.ts
form/src/app/form/form.component.ts
+11
-0
No files found.
assets/cc_mz_write_02/scene/cc_mz_write_02.js
View file @
80dcf92a
This diff is collapsed.
Click to expand it.
form/src/app/form/form.component.html
View file @
80dcf92a
...
@@ -144,7 +144,19 @@
...
@@ -144,7 +144,19 @@
<span>
服务端区域块:
</span>
<span>
服务端区域块:
</span>
<a
nz-dropdown
[
nzDropdownMenu
]="
menu2
"
>
<a
nz-dropdown
[
nzDropdownMenu
]="
menu2
"
>
{{hzItem.rectItem ? 'rect-item-' + hzItem.rectItem : 'select rect'}}
<label
*
ngIf=
"hzItem.rectNew"
>
{{'rect-new-' + hzItem.rectNew}}
</label>
<label
*
ngIf=
"!hzItem.rectNew && hzItem.rectItem"
>
{{'rect-item-' + hzItem.rectItem}}
</label>
<label
*
ngIf=
"!hzItem.rectNew && !hzItem.rectItem"
>
{{'select rect'}}
</label>
<i
nz-icon
nzType=
"down"
></i>
<i
nz-icon
nzType=
"down"
></i>
</a>
</a>
<nz-dropdown-menu
#
menu2=
"nzDropdownMenu"
>
<nz-dropdown-menu
#
menu2=
"nzDropdownMenu"
>
...
@@ -152,6 +164,9 @@
...
@@ -152,6 +164,9 @@
<div
*
ngFor=
"let temp of item.hotZoneItemArr2; let j = index"
(
click
)="
saveRectItem
(
hzItem
,
j
+
1
)"
>
<div
*
ngFor=
"let temp of item.hotZoneItemArr2; let j = index"
(
click
)="
saveRectItem
(
hzItem
,
j
+
1
)"
>
<li
*
ngIf=
"temp.gIdx == '1' "
nz-menu-item
>
rect-item-{{j+1}}
</li>
<li
*
ngIf=
"temp.gIdx == '1' "
nz-menu-item
>
rect-item-{{j+1}}
</li>
</div>
</div>
<div
*
ngFor=
"let temp of item.hotZoneItemArr2; let j = index"
(
click
)="
saveRectNew
(
hzItem
,
j
+
1
)"
>
<li
*
ngIf=
"temp.gIdx == '6' "
nz-menu-item
>
rect-new-{{j+1}}
</li>
</div>
</ul>
</ul>
</nz-dropdown-menu>
</nz-dropdown-menu>
</div>
</div>
...
...
form/src/app/form/form.component.ts
View file @
80dcf92a
...
@@ -121,6 +121,13 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy, AfterViewIni
...
@@ -121,6 +121,13 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy, AfterViewIni
rect
:
true
,
rect
:
true
,
label
:
'
参照文本
'
,
label
:
'
参照文本
'
,
},
},
{
name
:
'
书写区(新)
'
,
rect
:
true
,
label
:
'
字母
'
,
isCopy
:
true
,
},
]
]
audioTypeArr
=
[
audioTypeArr
=
[
...
@@ -219,6 +226,10 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy, AfterViewIni
...
@@ -219,6 +226,10 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy, AfterViewIni
hzItem
.
rectItem
=
rectItemId
;
hzItem
.
rectItem
=
rectItemId
;
this
.
save
();
this
.
save
();
}
}
saveRectNew
(
hzItem
,
rectItemId
)
{
hzItem
.
rectNew
=
rectItemId
;
this
.
save
();
}
...
...
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