5 Star 0 Fork 0

利伟/九游

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
openBeta-list.html 2.90 KB
一键复制 编辑 原始数据 按行查看 历史
Luanmz0908 提交于 2021-02-22 09:03 . 合并分支luanmz
<!DOCTYPE html>
<html lang="cn">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./css/reset.css">
<link rel="stylesheet" href="./css/ob-beta.css">
<script src="./js/ob-data.js"></script>
<title>开测表</title>
</head>
<body>
<div class="main-content">
<div class="page-break">
<a href="#" class="">手机游戏</a>&gt;开测表
</div>
<div class="open-test-con">
<div class="open-test-tit">
<h2>即将开测</h2>
</div>
<table>
<tbody>
<tr>
<th class="timetr">时间</th>
<th class="nametr">游戏名称</th>
<th class="stattr">测试状态</th>
<th class="typetr">游戏分类</th>
<th class="btntr">游戏下载</th>
<th class="btntr">礼包领取</th>
<th class="btntr">开测提醒</th>
</tr>
</tbody>
</table>
<div class="des-tablebox">
<div class="des-table">
</div>
</div>
</div>
</div>
<script>
var desTable = document.querySelector('.des-table')
var str = '';
data.map(item => {
str += `<div class="data-break">${item.datas}</div>
<table>
`
item.tdinfo.map(item => {
str += `
<tbody>
<tr>
<td class="timetr"><span class="time">${item.times}</span></td>
<td class="nametr img-con">
<a href="#" class="img"><img src="${item.img_url}"></a>
<a href="#" class="name">${item.img_tit}</a>
<span class="android"></span>
</td>
<td class="stattr">${item.stat}</td>
<td class="typetr">${item.roles}</td>
<td class="btntr">
<a href="#" class="sbtn icon-down">游戏下载</a>
</td>
<td class="btntr">
<a href="#" class="sbtn icon-gift">礼包领取</a>
</td>
<td class="btntr">
<a href="#" class="sbtn icon-qq">开测提醒</a>
</td>
</tr>
</tbody>
</table>`
})
})
desTable.innerHTML = str;
</script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wang-li-wei/jiuyou.git
git@gitee.com:wang-li-wei/jiuyou.git
wang-li-wei
jiuyou
九游
master

搜索帮助