Commit 1c20f821 authored by zhangjinzhou's avatar zhangjinzhou

0630版本ui小调整

parent 3c3b6aa2
{
"compile-hero.disable-compile-files-on-did-save-code": false
}
\ No newline at end of file
...@@ -44,11 +44,11 @@ ...@@ -44,11 +44,11 @@
<script src="scripts/svga.egret.min2.js"></script> <script src="scripts/svga.egret.min2.js"></script>
<script src="libs/physics.min.js"></script> <script src="libs/physics.min.js"></script>
<script src="output.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> <script>
var vConsole = new VConsole(); var vConsole = new VConsole();
console.log('Hello world'); console.log('Hello world');
</script> </script> -->
<script> <script>
window['taskUi'] = { window['taskUi'] = {
......
...@@ -287,6 +287,8 @@ class ShopItem extends Component { ...@@ -287,6 +287,8 @@ class ShopItem extends Component {
let showtip = showtiparr.indexOf(data.key)!=-1; let showtip = showtiparr.indexOf(data.key)!=-1;
console.error("shotip==>",showtip,data.key); console.error("shotip==>",showtip,data.key);
this.tipImg.visible = showtip//(data.key == 'wheat'); this.tipImg.visible = showtip//(data.key == 'wheat');
this.tipImg.visible = false;
this.nameTxt.text = data.name; this.nameTxt.text = data.name;
this.tipTxt.text = `购买价格:${data.price}欢趣豆`; this.tipTxt.text = `购买价格:${data.price}欢趣豆`;
this.setNum(0); this.setNum(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment