Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
APP02005
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
APP02005
Commits
9545e3c9
Commit
9545e3c9
authored
Jun 22, 2022
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成效果增加
parent
30ce9f16
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
166 additions
and
30 deletions
+166
-30
APP02005.fire
assets/APP02005/scene/APP02005.fire
+127
-30
page3.ts
assets/APP02005/scene/page3.ts
+2
-0
defaultData.ts
assets/APP02005/script/defaultData.ts
+1
-0
icon_done.png
assets/APP02005/textures/app/page3/icon_done.png
+0
-0
icon_done.png.meta
assets/APP02005/textures/app/page3/icon_done.png.meta
+36
-0
No files found.
assets/APP02005/scene/APP02005.fire
View file @
9545e3c9
...
@@ -81,13 +81,13 @@
...
@@ -81,13 +81,13 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
49
"__id__":
51
},
},
{
{
"__id__": 5
0
"__id__": 5
2
},
},
{
{
"__id__": 5
1
"__id__": 5
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -772,16 +772,16 @@
...
@@ -772,16 +772,16 @@
"__id__": 22
"__id__": 22
},
},
{
{
"__id__":
39
"__id__":
41
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
7
"__id__": 4
9
},
},
{
{
"__id__":
48
"__id__":
50
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1107,13 +1107,16 @@
...
@@ -1107,13 +1107,16 @@
"__id__": 33
"__id__": 33
},
},
{
{
"__id__": 36
"__id__": 35
},
{
"__id__": 38
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
38
"__id__":
40
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1636,7 +1639,7 @@
...
@@ -1636,7 +1639,7 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
titl
e",
"_name": "
don
e",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 22
"__id__": 22
...
@@ -1646,9 +1649,103 @@
...
@@ -1646,9 +1649,103 @@
"_components": [
"_components": [
{
{
"__id__": 34
"__id__": 34
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 107,
"height": 53
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
124.693,
147.595,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "3eb5JGrxxFZ68pC4oTwpaA"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "48632a2c-b01a-4727-bd03-d1d9e748659d"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "acF2N0E9RNHqHPgYTN/+w7"
},
{
"__type__": "cc.Node",
"_name": "title",
"_objFlags": 0,
"_parent": {
"__id__": 22
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 36
},
},
{
{
"__id__": 3
5
"__id__": 3
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1704,7 +1801,7 @@
...
@@ -1704,7 +1801,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
3
"__id__": 3
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1739,7 +1836,7 @@
...
@@ -1739,7 +1836,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
3
"__id__": 3
5
},
},
"_enabled": true,
"_enabled": true,
"_color": {
"_color": {
...
@@ -1763,7 +1860,7 @@
...
@@ -1763,7 +1860,7 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 3
7
"__id__": 3
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1819,7 +1916,7 @@
...
@@ -1819,7 +1916,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 3
6
"__id__": 3
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -1925,16 +2022,16 @@
...
@@ -1925,16 +2022,16 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 4
0
"__id__": 4
2
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
5
"__id__": 4
7
},
},
{
{
"__id__": 4
6
"__id__": 4
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1990,20 +2087,20 @@
...
@@ -1990,20 +2087,20 @@
"_name": "view",
"_name": "view",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
39
"__id__":
41
},
},
"_children": [
"_children": [
{
{
"__id__": 4
1
"__id__": 4
3
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
3
"__id__": 4
5
},
},
{
{
"__id__": 4
4
"__id__": 4
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2059,13 +2156,13 @@
...
@@ -2059,13 +2156,13 @@
"_name": "content",
"_name": "content",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 4
0
"__id__": 4
2
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 4
2
"__id__": 4
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2121,7 +2218,7 @@
...
@@ -2121,7 +2218,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
1
"__id__": 4
3
},
},
"_enabled": true,
"_enabled": true,
"_layoutSize": {
"_layoutSize": {
...
@@ -2153,7 +2250,7 @@
...
@@ -2153,7 +2250,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
0
"__id__": 4
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2173,7 +2270,7 @@
...
@@ -2173,7 +2270,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 4
0
"__id__": 4
2
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
@@ -2200,7 +2297,7 @@
...
@@ -2200,7 +2297,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
39
"__id__":
41
},
},
"_enabled": true,
"_enabled": true,
"horizontal": true,
"horizontal": true,
...
@@ -2212,10 +2309,10 @@
...
@@ -2212,10 +2309,10 @@
"scrollEvents": [],
"scrollEvents": [],
"cancelInnerEvents": true,
"cancelInnerEvents": true,
"_N$content": {
"_N$content": {
"__id__": 4
1
"__id__": 4
3
},
},
"content": {
"content": {
"__id__": 4
1
"__id__": 4
3
},
},
"_N$horizontalScrollBar": null,
"_N$horizontalScrollBar": null,
"_N$verticalScrollBar": null,
"_N$verticalScrollBar": null,
...
@@ -2226,7 +2323,7 @@
...
@@ -2226,7 +2323,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
39
"__id__":
41
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
...
...
assets/APP02005/scene/page3.ts
View file @
9545e3c9
...
@@ -61,12 +61,14 @@ export default class NewClass extends cc.Component {
...
@@ -61,12 +61,14 @@ export default class NewClass extends cc.Component {
let
bg_1
=
item
.
getChildByName
(
"
bg_1
"
)
let
bg_1
=
item
.
getChildByName
(
"
bg_1
"
)
let
bg_2
=
item
.
getChildByName
(
"
bg_2
"
)
let
bg_2
=
item
.
getChildByName
(
"
bg_2
"
)
let
lock
=
item
.
getChildByName
(
'
lock
'
)
let
lock
=
item
.
getChildByName
(
'
lock
'
)
let
done
=
item
.
getChildByName
(
'
done
'
)
this
.
setNetImg
(
icon
,
data
.
img
,
{
w
:
263
,
h
:
183
})
this
.
setNetImg
(
icon
,
data
.
img
,
{
w
:
263
,
h
:
183
})
title
.
getComponent
(
cc
.
Label
).
string
=
data
.
name
;
title
.
getComponent
(
cc
.
Label
).
string
=
data
.
name
;
bg_0
.
active
=
index
%
3
==
0
bg_0
.
active
=
index
%
3
==
0
bg_1
.
active
=
index
%
3
==
1
bg_1
.
active
=
index
%
3
==
1
bg_2
.
active
=
index
%
3
==
2
bg_2
.
active
=
index
%
3
==
2
lock
.
active
=
data
.
locked
;
lock
.
active
=
data
.
locked
;
done
.
active
=
data
.
totalIcon
>=
0
;
item
.
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
this
.
onTouchItem
,
this
);
item
.
on
(
cc
.
Node
.
EventType
.
TOUCH_END
,
this
.
onTouchItem
,
this
);
}
}
...
...
assets/APP02005/script/defaultData.ts
View file @
9545e3c9
...
@@ -57,6 +57,7 @@ export const defaultData = {
...
@@ -57,6 +57,7 @@ export const defaultData = {
name
:
'
小红帽历险记5
'
,
name
:
'
小红帽历险记5
'
,
locked
:
false
,
locked
:
false
,
id
:
1235
,
id
:
1235
,
totalIcon
:
100
,
}],
}],
}
}
assets/APP02005/textures/app/page3/icon_done.png
0 → 100644
View file @
9545e3c9
4.5 KB
assets/APP02005/textures/app/page3/icon_done.png.meta
0 → 100644
View file @
9545e3c9
{
"ver": "2.3.5",
"uuid": "0c4739c4-3739-4e2b-bb8b-10cd6a91b5b8",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 107,
"height": 53,
"platformSettings": {},
"subMetas": {
"icon_done": {
"ver": "1.0.4",
"uuid": "48632a2c-b01a-4727-bd03-d1d9e748659d",
"rawTextureUuid": "0c4739c4-3739-4e2b-bb8b-10cd6a91b5b8",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 107,
"height": 53,
"rawWidth": 107,
"rawHeight": 53,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
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