1 Star 0 Fork 0

blogofxyz/mine-clearance

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 1.60 KB
一键复制 编辑 原始数据 按行查看 历史
blogofxyz 提交于 2022-01-06 13:35 . update index.html.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="./扫雷.png">
<script src="vue.js"></script>
<title>扫雷</title>
<link href="./mine.css?time=new Date().getTime()" rel="stylesheet"></link>
</head>
<body >
<div id="app" >
<div id="sel">
<select v-model="termSelected">
<!-- 难度选择 -->
<option value=""></option>
<option value="normal" selected>一般</option>
<option value="middle">中等</option>
<option value="tough">困难</option>
</select>
<button @click="okBT">确定</button>
</div>
<br />
<div id="mainPanel" >
<!-- 中间模块 -->
<div class="columnDiv" v-for="(object,y) in rowAndColumn">
<!-- y -->
<div class="rowDiv" v-for="(o,x) in object" :key="y">
<!-- x -->
<span
@click.left="leftClick([x,y])"
@click.right="rightClick([x,y])"
:class="getClass([x,y])"
:key="x"
>{{getUpText([x,y])}}</span
>
</div>
</div>
</div>
<div id="score_panel">
步数:{{step}}<br>
标记数:{{marked}}/{{difValues[selectedDifValue].mine}}<br>
<!-- 时间:{{time}}s -->
</div>
</div>
<script src="mines.js?time=new Date().getTime()"></script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML/CSS
1
https://gitee.com/blogofxyz/mine-clearance.git
[email protected]:blogofxyz/mine-clearance.git
blogofxyz
mine-clearance
mine-clearance
master

搜索帮助