1
0
This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
2048-HarmonyOS-Lite/index.hml
2021-06-17 08:44:22 +08:00

24 lines
701 B
Plaintext

<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>