Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dg_dictation_menu
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_dictation_menu
Commits
addf828e
Commit
addf828e
authored
Apr 23, 2023
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
9d5ac9dc
Changes
20
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
1317 additions
and
769 deletions
+1317
-769
dg_dictation_menu.fire
assets/dg_dictation_menu/scene/dg_dictation_menu.fire
+1146
-712
dg_dictation_menu.js
assets/dg_dictation_menu/scene/dg_dictation_menu.js
+23
-17
booK_1_6.png
assets/dg_dictation_menu/texture/book/booK_1_6.png
+0
-0
booK_1_6.png.meta
assets/dg_dictation_menu/texture/book/booK_1_6.png.meta
+10
-10
book_1.png
assets/dg_dictation_menu/texture/book/book_1.png
+0
-0
book_1.png.meta
assets/dg_dictation_menu/texture/book/book_1.png.meta
+10
-10
book_2.png
assets/dg_dictation_menu/texture/book/book_2.png
+0
-0
book_2.png.meta
assets/dg_dictation_menu/texture/book/book_2.png.meta
+10
-10
book_3.png
assets/dg_dictation_menu/texture/book/book_3.png
+0
-0
book_3.png.meta
assets/dg_dictation_menu/texture/book/book_3.png.meta
+10
-10
book_4.png
assets/dg_dictation_menu/texture/book/book_4.png
+0
-0
book_4.png.meta
assets/dg_dictation_menu/texture/book/book_4.png.meta
+36
-0
book_5.png
assets/dg_dictation_menu/texture/book/book_5.png
+0
-0
book_5.png.meta
assets/dg_dictation_menu/texture/book/book_5.png.meta
+36
-0
book_6.png
assets/dg_dictation_menu/texture/book/book_6.png
+0
-0
book_6.png.meta
assets/dg_dictation_menu/texture/book/book_6.png.meta
+36
-0
book_ljb.png
assets/dg_dictation_menu/texture/book/book_ljb.png
+0
-0
book_rjb.png
assets/dg_dictation_menu/texture/book/book_rjb.png
+0
-0
book_wyb.png
assets/dg_dictation_menu/texture/book/book_wyb.png
+0
-0
book_xqb.png
assets/dg_dictation_menu/texture/book/book_xqb.png
+0
-0
No files found.
assets/dg_dictation_menu/scene/dg_dictation_menu.fire
View file @
addf828e
This diff is collapsed.
Click to expand it.
assets/dg_dictation_menu/scene/dg_dictation_menu.js
View file @
addf828e
...
@@ -366,21 +366,21 @@ cc.Class({
...
@@ -366,21 +366,21 @@ cc.Class({
this
.
viewArr
=
[];
this
.
viewArr
=
[];
this
.
teachingMaterialArr
=
[
this
.
teachingMaterialArr
=
[
{
key
:
"
人教版
"
,
name
:
"
人 教 版
"
,
res
:
'
book_rjb
'
},
{
key
:
"
人教版
"
,
name
:
"
人 教 版
"
},
{
key
:
"
外研版
"
,
name
:
"
外 研 版
"
,
res
:
'
book_wyb
'
},
{
key
:
"
外研版
"
,
name
:
"
外 研 版
"
},
{
key
:
"
沪教版
"
,
name
:
"
沪 教 版
"
,
res
:
'
book_ljb
'
},
{
key
:
"
沪教版
"
,
name
:
"
沪 教 版
"
},
{
key
:
"
学前班
"
,
name
:
"
学 前 班
"
,
res
:
'
book_xqb
'
},
{
key
:
"
学前班
"
,
name
:
"
学 前 班
"
},
{
key
:
"
冀教版
"
,
name
:
"
冀 教 版
"
,
res
:
'
book_xqb
'
},
{
key
:
"
冀教版
"
,
name
:
"
冀 教 版
"
},
{
key
:
"
湘教版
"
,
name
:
"
湘 教 版
"
,
res
:
'
book_xqb
'
},
{
key
:
"
湘教版
"
,
name
:
"
湘 教 版
"
},
{
key
:
"
译林版
"
,
name
:
"
译 林 版
"
,
res
:
'
book_xqb
'
},
{
key
:
"
译林版
"
,
name
:
"
译 林 版
"
},
{
key
:
"
Level 1
"
,
name
:
"
迪格 Level 1
"
,
res
:
'
dg
_1
'
},
{
key
:
"
Level 1
"
,
name
:
"
迪格 Level 1
"
,
res
:
'
home/book/book
_1
'
},
{
key
:
"
Level 2
"
,
name
:
"
迪格 Level 2
"
,
res
:
'
dg
_2
'
},
{
key
:
"
Level 2
"
,
name
:
"
迪格 Level 2
"
,
res
:
'
home/book/book
_2
'
},
{
key
:
"
Level 3
"
,
name
:
"
迪格 Level 3
"
,
res
:
'
dg
_3
'
},
{
key
:
"
Level 3
"
,
name
:
"
迪格 Level 3
"
,
res
:
'
home/book/book
_3
'
},
{
key
:
"
Level 4
"
,
name
:
"
迪格 Level 4
"
,
res
:
'
dg
_4
'
},
{
key
:
"
Level 4
"
,
name
:
"
迪格 Level 4
"
,
res
:
'
home/book/book
_4
'
},
{
key
:
"
Level 5
"
,
name
:
"
迪格 Level 5
"
,
res
:
'
dg
_5
'
},
{
key
:
"
Level 5
"
,
name
:
"
迪格 Level 5
"
,
res
:
'
home/book/book
_5
'
},
{
key
:
"
Level 6
"
,
name
:
"
迪格 Level 6
"
,
res
:
'
dg
_6
'
},
{
key
:
"
Level 6
"
,
name
:
"
迪格 Level 6
"
,
res
:
'
home/book/book
_6
'
},
];
];
...
@@ -1662,11 +1662,13 @@ cc.Class({
...
@@ -1662,11 +1662,13 @@ cc.Class({
// // resName = curBookData.res;
// // resName = curBookData.res;
// // }
// // }
// if (!data || !curBookData || !curBookData.res) {
let
isShowBookName
=
true
;
if
(
!
data
||
!
curBookData
||
!
curBookData
.
res
)
{
resName
=
'
home/book_
'
+
index
%
4
;
resName
=
'
home/book_
'
+
index
%
4
;
// } else {
}
else
{
// resName = curBookData.res;
resName
=
curBookData
.
res
;
// }
isShowBookName
=
false
;
}
// data.text_en = curBookData.key;
// data.text_en = curBookData.key;
...
@@ -1733,6 +1735,10 @@ cc.Class({
...
@@ -1733,6 +1735,10 @@ cc.Class({
const
label
=
labelNode
.
getComponent
(
cc
.
Label
);
const
label
=
labelNode
.
getComponent
(
cc
.
Label
);
label
.
isBold
=
true
;
label
.
isBold
=
true
;
if
(
!
isShowBookName
)
{
labelBg
.
active
=
false
;
}
return
node
;
return
node
;
},
},
...
...
assets/dg_dictation_menu/texture/book/booK_1_6.png
0 → 100644
View file @
addf828e
63.1 KB
assets/dg_dictation_menu/texture/book/boo
k_wyb
.png.meta
→
assets/dg_dictation_menu/texture/book/boo
K_1_6
.png.meta
View file @
addf828e
{
{
"ver": "2.3.5",
"ver": "2.3.5",
"uuid": "
a96f66e6-432a-4371-96f1-bf01b26a459
d",
"uuid": "
e2a6e367-3b0f-4b66-8761-d0cf565b138
d",
"type": "sprite",
"type": "sprite",
"wrapMode": "clamp",
"wrapMode": "clamp",
"filterMode": "bilinear",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"premultiplyAlpha": false,
"genMipmaps": false,
"genMipmaps": false,
"packable": true,
"packable": true,
"width": 3
83
,
"width": 3
94
,
"height":
424
,
"height":
500
,
"platformSettings": {},
"platformSettings": {},
"subMetas": {
"subMetas": {
"boo
k_wyb
": {
"boo
K_1_6
": {
"ver": "1.0.4",
"ver": "1.0.4",
"uuid": "
df53d75e-03fc-41a9-a5b0-f9b43cba0e89
",
"uuid": "
e2ee04b2-8e98-4274-89fa-4de784c4d657
",
"rawTextureUuid": "
a96f66e6-432a-4371-96f1-bf01b26a459
d",
"rawTextureUuid": "
e2a6e367-3b0f-4b66-8761-d0cf565b138
d",
"trimType": "auto",
"trimType": "auto",
"trimThreshold": 1,
"trimThreshold": 1,
"rotated": false,
"rotated": false,
...
@@ -22,10 +22,10 @@
...
@@ -22,10 +22,10 @@
"offsetY": 0,
"offsetY": 0,
"trimX": 0,
"trimX": 0,
"trimY": 0,
"trimY": 0,
"width": 3
83
,
"width": 3
94
,
"height":
424
,
"height":
500
,
"rawWidth": 3
83
,
"rawWidth": 3
94
,
"rawHeight":
424
,
"rawHeight":
500
,
"borderTop": 0,
"borderTop": 0,
"borderBottom": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderLeft": 0,
...
...
assets/dg_dictation_menu/texture/book/book_1.png
0 → 100644
View file @
addf828e
67 KB
assets/dg_dictation_menu/texture/book/book_
ljb
.png.meta
→
assets/dg_dictation_menu/texture/book/book_
1
.png.meta
View file @
addf828e
{
{
"ver": "2.3.5",
"ver": "2.3.5",
"uuid": "
301fccd2-65e2-4319-8250-a54d994f87fb
",
"uuid": "
a10c02e5-115c-4d27-a832-932e3b893ee3
",
"type": "sprite",
"type": "sprite",
"wrapMode": "clamp",
"wrapMode": "clamp",
"filterMode": "bilinear",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"premultiplyAlpha": false,
"genMipmaps": false,
"genMipmaps": false,
"packable": true,
"packable": true,
"width": 3
83
,
"width": 3
94
,
"height":
424
,
"height":
500
,
"platformSettings": {},
"platformSettings": {},
"subMetas": {
"subMetas": {
"book_
ljb
": {
"book_
1
": {
"ver": "1.0.4",
"ver": "1.0.4",
"uuid": "
44441b13-a4f4-4ef8-a3fe-91eff4dcd9c2
",
"uuid": "
bb2d367e-3607-47a3-840c-26f5f56b56f4
",
"rawTextureUuid": "
301fccd2-65e2-4319-8250-a54d994f87fb
",
"rawTextureUuid": "
a10c02e5-115c-4d27-a832-932e3b893ee3
",
"trimType": "auto",
"trimType": "auto",
"trimThreshold": 1,
"trimThreshold": 1,
"rotated": false,
"rotated": false,
...
@@ -22,10 +22,10 @@
...
@@ -22,10 +22,10 @@
"offsetY": 0,
"offsetY": 0,
"trimX": 0,
"trimX": 0,
"trimY": 0,
"trimY": 0,
"width": 3
83
,
"width": 3
94
,
"height":
424
,
"height":
500
,
"rawWidth": 3
83
,
"rawWidth": 3
94
,
"rawHeight":
424
,
"rawHeight":
500
,
"borderTop": 0,
"borderTop": 0,
"borderBottom": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderLeft": 0,
...
...
assets/dg_dictation_menu/texture/book/book_2.png
0 → 100644
View file @
addf828e
64.4 KB
assets/dg_dictation_menu/texture/book/book_
xqb
.png.meta
→
assets/dg_dictation_menu/texture/book/book_
2
.png.meta
View file @
addf828e
{
{
"ver": "2.3.5",
"ver": "2.3.5",
"uuid": "
441d433f-5a3c-4925-9851-e47c0e28c75c
",
"uuid": "
cb3164b6-aa1d-45e4-9901-7e45ab37d89f
",
"type": "sprite",
"type": "sprite",
"wrapMode": "clamp",
"wrapMode": "clamp",
"filterMode": "bilinear",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"premultiplyAlpha": false,
"genMipmaps": false,
"genMipmaps": false,
"packable": true,
"packable": true,
"width": 3
83
,
"width": 3
94
,
"height":
424
,
"height":
500
,
"platformSettings": {},
"platformSettings": {},
"subMetas": {
"subMetas": {
"book_
xqb
": {
"book_
2
": {
"ver": "1.0.4",
"ver": "1.0.4",
"uuid": "
b559a82d-f85b-4cb8-b7a9-7dea09ad1a68
",
"uuid": "
84064f10-327a-418e-bcdd-19c6b61e8979
",
"rawTextureUuid": "
441d433f-5a3c-4925-9851-e47c0e28c75c
",
"rawTextureUuid": "
cb3164b6-aa1d-45e4-9901-7e45ab37d89f
",
"trimType": "auto",
"trimType": "auto",
"trimThreshold": 1,
"trimThreshold": 1,
"rotated": false,
"rotated": false,
...
@@ -22,10 +22,10 @@
...
@@ -22,10 +22,10 @@
"offsetY": 0,
"offsetY": 0,
"trimX": 0,
"trimX": 0,
"trimY": 0,
"trimY": 0,
"width": 3
83
,
"width": 3
94
,
"height":
424
,
"height":
500
,
"rawWidth": 3
83
,
"rawWidth": 3
94
,
"rawHeight":
424
,
"rawHeight":
500
,
"borderTop": 0,
"borderTop": 0,
"borderBottom": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderLeft": 0,
...
...
assets/dg_dictation_menu/texture/book/book_3.png
0 → 100644
View file @
addf828e
58.1 KB
assets/dg_dictation_menu/texture/book/book_
rjb
.png.meta
→
assets/dg_dictation_menu/texture/book/book_
3
.png.meta
View file @
addf828e
{
{
"ver": "2.3.5",
"ver": "2.3.5",
"uuid": "
9e7f9e79-9bcb-4f8e-a56a-ebf70a63769e
",
"uuid": "
37938b9b-989c-49d6-9e82-b682fa3939c3
",
"type": "sprite",
"type": "sprite",
"wrapMode": "clamp",
"wrapMode": "clamp",
"filterMode": "bilinear",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"premultiplyAlpha": false,
"genMipmaps": false,
"genMipmaps": false,
"packable": true,
"packable": true,
"width": 3
83
,
"width": 3
94
,
"height":
424
,
"height":
500
,
"platformSettings": {},
"platformSettings": {},
"subMetas": {
"subMetas": {
"book_
rjb
": {
"book_
3
": {
"ver": "1.0.4",
"ver": "1.0.4",
"uuid": "
8bf41c05-9edf-4b52-9593-e6e02a2ed5d8
",
"uuid": "
ad1462f7-9b09-4929-80cd-de829f604253
",
"rawTextureUuid": "
9e7f9e79-9bcb-4f8e-a56a-ebf70a63769e
",
"rawTextureUuid": "
37938b9b-989c-49d6-9e82-b682fa3939c3
",
"trimType": "auto",
"trimType": "auto",
"trimThreshold": 1,
"trimThreshold": 1,
"rotated": false,
"rotated": false,
...
@@ -22,10 +22,10 @@
...
@@ -22,10 +22,10 @@
"offsetY": 0,
"offsetY": 0,
"trimX": 0,
"trimX": 0,
"trimY": 0,
"trimY": 0,
"width": 3
83
,
"width": 3
94
,
"height":
424
,
"height":
500
,
"rawWidth": 3
83
,
"rawWidth": 3
94
,
"rawHeight":
424
,
"rawHeight":
500
,
"borderTop": 0,
"borderTop": 0,
"borderBottom": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderLeft": 0,
...
...
assets/dg_dictation_menu/texture/book/book_4.png
0 → 100644
View file @
addf828e
62.1 KB
assets/dg_dictation_menu/texture/book/book_4.png.meta
0 → 100644
View file @
addf828e
{
"ver": "2.3.5",
"uuid": "bc4304fe-2434-41cf-bfbb-5ad3ef08ecbf",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 394,
"height": 500,
"platformSettings": {},
"subMetas": {
"book_4": {
"ver": "1.0.4",
"uuid": "293d8c98-2e0b-4359-874d-432879be70e2",
"rawTextureUuid": "bc4304fe-2434-41cf-bfbb-5ad3ef08ecbf",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 394,
"height": 500,
"rawWidth": 394,
"rawHeight": 500,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/dg_dictation_menu/texture/book/book_5.png
0 → 100644
View file @
addf828e
61.1 KB
assets/dg_dictation_menu/texture/book/book_5.png.meta
0 → 100644
View file @
addf828e
{
"ver": "2.3.5",
"uuid": "8bcd3613-c7e4-47f4-9481-68a1a2f5187c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 394,
"height": 500,
"platformSettings": {},
"subMetas": {
"book_5": {
"ver": "1.0.4",
"uuid": "a9ca45e3-7239-4a5d-999d-b3ad100c3c11",
"rawTextureUuid": "8bcd3613-c7e4-47f4-9481-68a1a2f5187c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 394,
"height": 500,
"rawWidth": 394,
"rawHeight": 500,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/dg_dictation_menu/texture/book/book_6.png
0 → 100644
View file @
addf828e
62.2 KB
assets/dg_dictation_menu/texture/book/book_6.png.meta
0 → 100644
View file @
addf828e
{
"ver": "2.3.5",
"uuid": "de349624-46b9-4e51-b48a-d5ec3a1de120",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 394,
"height": 500,
"platformSettings": {},
"subMetas": {
"book_6": {
"ver": "1.0.4",
"uuid": "5c1fbadf-201e-4c0e-aad9-ee88e6d2705f",
"rawTextureUuid": "de349624-46b9-4e51-b48a-d5ec3a1de120",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 394,
"height": 500,
"rawWidth": 394,
"rawHeight": 500,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/dg_dictation_menu/texture/book/book_ljb.png
deleted
100644 → 0
View file @
9d5ac9dc
146 KB
assets/dg_dictation_menu/texture/book/book_rjb.png
deleted
100644 → 0
View file @
9d5ac9dc
135 KB
assets/dg_dictation_menu/texture/book/book_wyb.png
deleted
100644 → 0
View file @
9d5ac9dc
140 KB
assets/dg_dictation_menu/texture/book/book_xqb.png
deleted
100644 → 0
View file @
9d5ac9dc
170 KB
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