1
0

Create index.hml

This commit is contained in:
tzx 2021-06-17 08:44:22 +08:00 committed by GitHub
parent 296531f3c4
commit dffcee2394
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

23
index.hml Normal file
View File

@ -0,0 +1,23 @@
<div class="container">
<text class="best">
Best:{{best}}
</text>
<text class="score">
Score:{{score}}
</text>
<stack class="stack">
<div class="tile-wrap" onswipe="onSwipe">
<div class="tile" for="{{tiles}}" style="background-color:#000000">
<text class="text" style="color:#FFFFFF">
{{$item.text}}
</text>
</div>
</div>
<div class="subcontainer" show="{{isShow}}">
<text class="gameover">
Gameover!
</text>
</div>
</stack>
<input class="btn" type="button" value="Restart!" onclick="onInit" ></input>
</div>