Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
ns20_jsqj
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
ns20_jsqj
Commits
d5f8c342
Commit
d5f8c342
authored
Jan 10, 2023
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
显示位置修复
parent
fbb7cb17
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
259 additions
and
155 deletions
+259
-155
ns20_jsqj.fire
assets/ns20_jsqj/scene/ns20_jsqj.fire
+251
-154
speak_ns20_jsqj.ts
assets/ns20_jsqj/scene/speak_ns20_jsqj.ts
+8
-1
No files found.
assets/ns20_jsqj/scene/ns20_jsqj.fire
View file @
d5f8c342
This diff is collapsed.
Click to expand it.
assets/ns20_jsqj/scene/speak_ns20_jsqj.ts
View file @
d5f8c342
...
...
@@ -96,8 +96,15 @@ export default class SpeakRecord extends cc.Component {
updateBoard
()
{
let
text
=
pg
.
view
.
find
(
this
.
text_tip
,
"
text
"
);
let
img
=
pg
.
view
.
find
(
this
.
text_tip
,
"
img
"
);
let
img_big
=
pg
.
view
.
find
(
this
.
text_tip
,
"
img_big
"
);
let
ext
=
this
.
data
.
ext
;
pg
.
view
.
setNetImg
(
img
,
ext
.
img
,
{
w
:
550
,
h
:
270
})
pg
.
view
.
visible
(
img
,
!!
ext
.
tip
)
pg
.
view
.
visible
(
img_big
,
!
ext
.
tip
)
if
(
!
ext
.
tip
)
{
pg
.
view
.
setNetImg
(
img_big
,
ext
.
img
,
{
w
:
550
,
h
:
350
})
}
else
{
pg
.
view
.
setNetImg
(
img
,
ext
.
img
,
{
w
:
550
,
h
:
270
})
}
pg
.
view
.
setString
(
text
,
ext
.
tip
);
this
.
onTouchVoice
();
pg
.
view
.
touchOn
(
img
,
this
.
onTouchVoice
,
this
);
...
...
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