Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cc_mz_write_01
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_01
Commits
ee5b4849
Commit
ee5b4849
authored
Apr 01, 2022
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 重新优化调整,增加偏移量,参考物定位
parent
3247a897
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
319 additions
and
37 deletions
+319
-37
cc_mz_write_01.js
assets/cc_mz_write_01/scene/cc_mz_write_01.js
+294
-35
form.component.html
form/src/app/form/form.component.html
+17
-0
form.component.ts
form/src/app/form/form.component.ts
+8
-2
No files found.
assets/cc_mz_write_01/scene/cc_mz_write_01.js
View file @
ee5b4849
This diff is collapsed.
Click to expand it.
form/src/app/form/form.component.html
View file @
ee5b4849
...
@@ -55,10 +55,27 @@
...
@@ -55,10 +55,27 @@
</div>
</div>
<div
style=
"margin-top: 10px; width: 200px; height: 50px; border: 1px solid #ccc ; border-radius: 5px; display: flex; align-items: center; justify-content: center;"
>
<div
style=
"margin-top: 10px; width: 200px; height: 50px; border: 1px solid #ccc ; border-radius: 5px; display: flex; align-items: center; justify-content: center;"
>
<label
nz-checkbox
[(
ngModel
)]="
item
.
isDebug
"
(
ngModelChange
)="
save
()"
>
调试模式
</label>
<label
nz-checkbox
[(
ngModel
)]="
item
.
isDebug
"
(
ngModelChange
)="
save
()"
>
调试模式
</label>
</div>
</div>
<div
style=
"margin-top: 20px; margin-bottom: 20px; border: 2px solid #ccc; border-radius: 10px; width: 400px;"
>
<div
style=
"width: 90%; display:flex; align-items: center; margin: 10px;"
>
<span
style=
"width: 200px"
>
纵向缩放偏移量:
</span><input
[
disabled
]="!
item
.
isDebug
"
type=
"text"
nz-input
[(
ngModel
)]="
item
.
scaleOffY
"
(
blur
)="
save
()"
>
</div>
<div
style=
"width: 90%; display:flex; align-items: center; margin: 10px;"
>
<span
style=
"width: 200px"
>
纵向位置偏移量:
</span><input
[
disabled
]="!
item
.
isDebug
"
type=
"text"
nz-input
[(
ngModel
)]="
item
.
positionOffY
"
(
blur
)="
save
()"
>
</div>
</div>
</div>
</div>
...
...
form/src/app/form/form.component.ts
View file @
ee5b4849
This diff is collapsed.
Click to expand it.
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