1 Star 0 Fork 0

刘绅士_ / lianliankan

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.html 1.08 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
刘绅士_ 提交于 2019-08-22 18:22 . init
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>连连看</title>
<link rel="stylesheet" href="style/style.css">
</head>
<body>
<div id="chessboard">
<div class="panel">
总分:{{scoreTotal}} <br>
连击:{{scoreAward/scoreSerial}} <br>
奖励分:{{scoreAward}} <br>
剩余时间: {{countDown}} <br>
<button
@click="resetGame"
>重置</button>
<br>
<button
@click="startGame"
>开始游戏</button>
</div>
<div class="chess-container">
<div class="tr"
v-for="items in chess"
>
<div class="td"
v-for="item in items"
@click="click(item.type, item.position)"
v-bind:class="item.className"
>
<div
class="bg"
v-bind:style="{ backgroundImage: 'url('+item.backgroundImage+')' }"
></div>
</div>
</div>
</div>
</div>
<script src="script/utils.js"></script>
<script src="script/vue.js"></script>
<script src="script/jq.js"></script>
<script src="script/lian.js"></script>
<script src="script/main.js"></script>
</body>
</html>
1
https://gitee.com/leo_howl/lianliankan.git
git@gitee.com:leo_howl/lianliankan.git
leo_howl
lianliankan
lianliankan
master

搜索帮助

14c37bed 8189591 565d56ea 8189591