Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
db-game-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
崔立强
db-game-template
Commits
1c20f821
Commit
1c20f821
authored
Jun 30, 2021
by
zhangjinzhou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0630版本ui小调整
parent
3c3b6aa2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
settings.json
.vscode/settings.json
+3
-0
index.html
egret/index.html
+2
-2
shop_bg.png
egret/resource/assets/exchange/shop_bg.png
+0
-0
ShopPanel.ts
egret/src/Panels/ShopPanel.ts
+2
-0
No files found.
.vscode/settings.json
0 → 100644
View file @
1c20f821
{
"compile-hero.disable-compile-files-on-did-save-code"
:
false
}
\ No newline at end of file
egret/index.html
View file @
1c20f821
...
...
@@ -44,11 +44,11 @@
<script
src=
"scripts/svga.egret.min2.js"
></script>
<script
src=
"libs/physics.min.js"
></script>
<script
src=
"output.js"
></script>
<script
src=
"https://yun.duiba.com.cn/db_games/debug/vconsole.min.js"
></script>
<
!-- <
script src="https://yun.duiba.com.cn/db_games/debug/vconsole.min.js"></script>
<script>
var vConsole = new VConsole();
console.log('Hello world');
</script>
</script>
-->
<script>
window
[
'taskUi'
]
=
{
...
...
egret/resource/assets/exchange/shop_bg.png
View replaced file @
3c3b6aa2
View file @
1c20f821
This diff is collapsed.
Click to expand it.
egret/src/Panels/ShopPanel.ts
View file @
1c20f821
...
...
@@ -287,6 +287,8 @@ class ShopItem extends Component {
let
showtip
=
showtiparr
.
indexOf
(
data
.
key
)
!=-
1
;
console
.
error
(
"shotip==>"
,
showtip
,
data
.
key
);
this
.
tipImg
.
visible
=
showtip
//(data.key == 'wheat');
this
.
tipImg
.
visible
=
false
;
this
.
nameTxt
.
text
=
data
.
name
;
this
.
tipTxt
.
text
=
`购买价格:
${
data
.
price
}
欢趣豆`
;
this
.
setNum
(
0
);
...
...
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