修改单词
This commit is contained in:
parent
0a2fb39840
commit
c30d9213ea
@ -1,87 +1,97 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||||
<meta name="renderer" content="webkit">
|
<meta name="renderer" content="webkit" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
<meta
|
||||||
<title>CEBG: CRYPTO ELITE‘S BATTLEGROUNDS</title>
|
name="viewport"
|
||||||
</head>
|
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
|
||||||
<body>
|
/>
|
||||||
<section class="main">
|
<title>CEBG: CRYPTO ELITE‘S BATTLEGROUNDS</title>
|
||||||
<section class="header">
|
</head>
|
||||||
<img src="img/applyother/amt.jpg" width="100%" />
|
<body>
|
||||||
<script>cur = 'activity'; sub='act1'</script>
|
<section class="main">
|
||||||
<%- include('../comp/desktopNav.html') %>
|
<section class="header">
|
||||||
</section>
|
<img src="img/applyother/amt.jpg" width="100%" />
|
||||||
<section class="main-con amb-con">
|
<script>
|
||||||
<div class="amb-scroll" id="ambScroll">
|
cur = "activity";
|
||||||
<div class="amb-item hide" id="sample">
|
sub = "act1";
|
||||||
<a href="ambassadorinfo.html" class="info_href">
|
</script>
|
||||||
<img class="portrait" src="img/applyother/am2.jpg" width="251" height="246"/>
|
<%- include('../comp/desktopNav.html') %>
|
||||||
</a>
|
</section>
|
||||||
<p>
|
<section class="main-con amb-con">
|
||||||
<span class="name">Kawabonga</span>
|
<div class="amb-scroll" id="ambScroll">
|
||||||
<span class="loc">Japan</span>
|
<div class="amb-item hide" id="sample">
|
||||||
<span class="commander">1023</span>
|
<a href="ambassadorinfo.html" class="info_href">
|
||||||
</p>
|
<img
|
||||||
</div>
|
class="portrait"
|
||||||
<div class="amb-inner" id="amb_container">
|
src="img/applyother/am2.jpg"
|
||||||
|
width="251"
|
||||||
</div>
|
height="246"
|
||||||
</div>
|
/>
|
||||||
</section>
|
</a>
|
||||||
<%- include('../comp/footer.html') %>
|
<p>
|
||||||
</section>
|
<span class="name">Kawabonga</span>
|
||||||
<%- include('../comp/walletModal.html') %> <%- include('../comp/jslib.html')
|
<span class="loc">Japan</span>
|
||||||
|
<span class="commander">1023</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="amb-inner" id="amb_container"></div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<%- include('../comp/footer.html') %>
|
||||||
|
</section>
|
||||||
|
<%- include('../comp/walletModal.html') %> <%- include('../comp/jslib.html')
|
||||||
%>
|
%>
|
||||||
<script>
|
<script>
|
||||||
const LIST_URL = 'https://invitation.cebggame.com/invitation/list_amb'
|
const LIST_URL = "https://invitation.cebggame.com/invitation/list_amb";
|
||||||
$(function () {
|
$(function () {
|
||||||
var showOne = (data) => {
|
var showOne = (data) => {
|
||||||
let dom = $('#sample').clone();
|
let dom = $("#sample").clone();
|
||||||
if (data.headpic) {
|
if (data.headpic) {
|
||||||
$('.portrait', dom).attr('src', data.headpic);
|
$(".portrait", dom).attr("src", data.headpic);
|
||||||
}
|
|
||||||
$('.info_href', dom).attr('href', `ambassadorinfo.html?amb=${data.account}`)
|
|
||||||
$('.name', dom).replaceWith(`<span>${data.name || '-'}</span>`)
|
|
||||||
$('.loc', dom).replaceWith(`<span>${data.comefrom || '-'}</span>`)
|
|
||||||
$('.commander', dom).replaceWith(`<span>${data.cache_a_num || '-'}</span>`)
|
|
||||||
dom.show().appendTo('#amb_container')
|
|
||||||
}
|
|
||||||
var retry = 0;
|
|
||||||
var headers = new Headers();
|
|
||||||
headers.append("Content-Type", "application/json");
|
|
||||||
let formData = {}
|
|
||||||
if (window.chain.logined) {
|
|
||||||
formData.token = window.chain.token;
|
|
||||||
}
|
}
|
||||||
var fetchDatas = async () => {
|
$(".info_href", dom).attr(
|
||||||
try {
|
"href",
|
||||||
let data = await fetch(
|
`ambassadorinfo.html?amb=${data.account}`
|
||||||
LIST_URL,
|
);
|
||||||
{
|
$(".name", dom).replaceWith(`<span>${data.name || "-"}</span>`);
|
||||||
method: 'POST',
|
$(".loc", dom).replaceWith(`<span>${data.comefrom || "-"}</span>`);
|
||||||
headers,
|
$(".commander", dom).replaceWith(
|
||||||
mode: 'cors',
|
`<span>${data.cache_a_num || "-"}</span>`
|
||||||
cache: 'no-cache',
|
);
|
||||||
body: JSON.stringify(formData)
|
dom.show().appendTo("#amb_container");
|
||||||
|
};
|
||||||
|
var retry = 0;
|
||||||
|
var headers = new Headers();
|
||||||
|
headers.append("Content-Type", "application/json");
|
||||||
|
let formData = {};
|
||||||
|
if (window.chain.logined) {
|
||||||
|
formData.token = window.chain.token;
|
||||||
|
}
|
||||||
|
var fetchDatas = async () => {
|
||||||
|
try {
|
||||||
|
let data = await fetch(LIST_URL, {
|
||||||
|
method: "POST",
|
||||||
|
headers,
|
||||||
|
mode: "cors",
|
||||||
|
cache: "no-cache",
|
||||||
|
body: JSON.stringify(formData),
|
||||||
|
}).then((res) => {
|
||||||
|
return res.json();
|
||||||
|
});
|
||||||
|
if (!data.errcode) {
|
||||||
|
for (let d of data.list) {
|
||||||
|
showOne(d);
|
||||||
}
|
}
|
||||||
)
|
}
|
||||||
.then(res => {
|
} catch (err) {
|
||||||
return res.json()
|
console.log("error get data");
|
||||||
})
|
}
|
||||||
if (!data.errcode) {
|
};
|
||||||
for (let d of data.list) {
|
fetchDatas();
|
||||||
showOne(d);
|
});
|
||||||
}
|
</script>
|
||||||
}
|
</body>
|
||||||
} catch (err) {
|
|
||||||
console.log('error get data');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
fetchDatas();
|
|
||||||
})
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
</html>
|
||||||
|
@ -74,7 +74,7 @@
|
|||||||
</p>
|
</p>
|
||||||
<p class="checkbox-wrap">
|
<p class="checkbox-wrap">
|
||||||
<input type="checkbox" class="checkbox" id="dis" name="dis" />
|
<input type="checkbox" class="checkbox" id="dis" name="dis" />
|
||||||
<label for="dis">Joined CEBG Discrod?</label>
|
<label for="dis">Joined CEBG Discord?</label>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="tac submit-btn">
|
<p class="tac submit-btn">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user