Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
Sbx_Pronunciation
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
Sbx_Pronunciation
Commits
9613e171
Commit
9613e171
authored
Dec 08, 2020
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev commit
parent
1bd9f9b8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
12 deletions
+7
-12
form.component.html
form/src/app/form/form.component.html
+5
-5
cloud.mp4
play/assets/tmpGame/audios/cloud.mp4
+0
-0
cloud.mp4.meta
play/assets/tmpGame/audios/cloud.mp4.meta
+0
-5
GameLogic.js
play/assets/tmpGame/script/GameLogic.js
+2
-2
No files found.
form/src/app/form/form.component.html
View file @
9613e171
...
@@ -14,8 +14,8 @@
...
@@ -14,8 +14,8 @@
<nz-form-control
[
nzSpan
]="
6
"
>
<nz-form-control
[
nzSpan
]="
6
"
>
<nz-select
[(
ngModel
)]="
contentObj
.
theme
"
(
ngModelChange
)="
saveItem
()"
style=
"width: 70%;"
>
<nz-select
[(
ngModel
)]="
contentObj
.
theme
"
(
ngModelChange
)="
saveItem
()"
style=
"width: 70%;"
>
<nz-option
nzValue=
"A"
nzLabel=
"A"
></nz-option>
<nz-option
nzValue=
"A"
nzLabel=
"A"
></nz-option>
<
nz-option
nzValue=
"B"
nzLabel=
"B"
></nz-option
>
<
!-- <nz-option nzValue="B" nzLabel="B"></nz-option> --
>
<
nz-option
nzValue=
"C"
nzLabel=
"C"
></nz-option
>
<
!-- <nz-option nzValue="C" nzLabel="C"></nz-option> --
>
<nz-option
nzValue=
"D"
nzLabel=
"自定义"
></nz-option>
<nz-option
nzValue=
"D"
nzLabel=
"自定义"
></nz-option>
</nz-select>
</nz-select>
</nz-form-control>
</nz-form-control>
...
@@ -28,21 +28,21 @@
...
@@ -28,21 +28,21 @@
<div
style=
"flex: 1; display: flex; padding: 0 5px;"
>
<div
style=
"flex: 1; display: flex; padding: 0 5px;"
>
<div
style=
"flex:1"
>
外框
</div>
<div
style=
"flex:1"
>
外框
</div>
<div
style=
"flex:5"
>
<div
style=
"flex:5"
>
<app-upload-image-with-preview
style=
"width: 100%;"
[
picUrl
]="
contentObj
.
border_image_url
"
(
imageUploaded
)="
onImageUploadSuccessByItem
($
event
,
item
,
'
border_image_url
')"
></app-upload-image-with-preview>
<app-upload-image-with-preview
style=
"width: 100%;"
[
picUrl
]="
contentObj
.
border_image_url
"
(
imageUploaded
)="
onImageUploadSuccessByItem
($
event
,
contentObj
,
'
border_image_url
')"
></app-upload-image-with-preview>
</div>
</div>
</div>
</div>
<div
style=
"flex: 1; display: flex; padding: 0 5px;"
>
<div
style=
"flex: 1; display: flex; padding: 0 5px;"
>
<div
style=
"flex:1"
>
视频背景
</div>
<div
style=
"flex:1"
>
视频背景
</div>
<div
style=
"flex:5"
>
<div
style=
"flex:5"
>
<app-upload-image-with-preview
style=
"width: 100%;"
[
picUrl
]="
contentObj
.
video_image_url
"
(
imageUploaded
)="
onImageUploadSuccessByItem
($
event
,
item
,
'
video_image_url
')"
></app-upload-image-with-preview>
<app-upload-image-with-preview
style=
"width: 100%;"
[
picUrl
]="
contentObj
.
video_image_url
"
(
imageUploaded
)="
onImageUploadSuccessByItem
($
event
,
contentObj
,
'
video_image_url
')"
></app-upload-image-with-preview>
</div>
</div>
</div>
</div>
<div
style=
"flex: 1; display: flex; padding: 0 5px;"
>
<div
style=
"flex: 1; display: flex; padding: 0 5px;"
>
<div
style=
"flex:1"
>
文字背景
</div>
<div
style=
"flex:1"
>
文字背景
</div>
<div
style=
"flex:5"
>
<div
style=
"flex:5"
>
<app-upload-image-with-preview
style=
"width: 100%;"
[
picUrl
]="
contentObj
.
text_image_url
"
(
imageUploaded
)="
onImageUploadSuccessByItem
($
event
,
item
,
'
text_image_url
')"
></app-upload-image-with-preview>
<app-upload-image-with-preview
style=
"width: 100%;"
[
picUrl
]="
contentObj
.
text_image_url
"
(
imageUploaded
)="
onImageUploadSuccessByItem
($
event
,
contentObj
,
'
text_image_url
')"
></app-upload-image-with-preview>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
play/assets/tmpGame/audios/cloud.mp4
deleted
100644 → 0
View file @
1bd9f9b8
File deleted
play/assets/tmpGame/audios/cloud.mp4.meta
deleted
100644 → 0
View file @
1bd9f9b8
{
"ver": "1.0.1",
"uuid": "015a6ea2-d63c-48eb-9f92-dcb9eea6e754",
"subMetas": {}
}
\ No newline at end of file
play/assets/tmpGame/script/GameLogic.js
View file @
9613e171
...
@@ -79,7 +79,7 @@ export default class GameLogic {
...
@@ -79,7 +79,7 @@ export default class GameLogic {
initBg
()
{
initBg
()
{
console
.
log
(
this
.
g_formData
.
theme
)
console
.
log
(
this
.
g_formData
.
theme
)
const
bgNode_A
=
cc
.
find
(
'
Canvas/bgMain/bg_A
'
);
const
bgNode_A
=
cc
.
find
(
'
Canvas/bgMain/bg_A
'
);
bgNode_A
.
scale
=
this
.
g_systemOption
.
mapScaleM
ax
;
bgNode_A
.
scale
=
this
.
g_systemOption
.
mapScaleM
in
;
if
(
this
.
g_formData
.
theme
==
"
A
"
)
{
if
(
this
.
g_formData
.
theme
==
"
A
"
)
{
bgNode_A
.
active
=
true
;
bgNode_A
.
active
=
true
;
}
else
{
}
else
{
...
@@ -87,7 +87,7 @@ export default class GameLogic {
...
@@ -87,7 +87,7 @@ export default class GameLogic {
}
}
const
bgNode_D
=
cc
.
find
(
'
Canvas/bgMain/bg_D
'
);
const
bgNode_D
=
cc
.
find
(
'
Canvas/bgMain/bg_D
'
);
bgNode_D
.
scale
=
this
.
g_systemOption
.
mapScaleM
ax
;
bgNode_D
.
scale
=
this
.
g_systemOption
.
mapScaleM
in
;
if
(
this
.
g_formData
.
theme
==
"
A
"
)
{
if
(
this
.
g_formData
.
theme
==
"
A
"
)
{
bgNode_D
.
active
=
true
;
bgNode_D
.
active
=
true
;
}
else
{
}
else
{
...
...
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