抖音账号估价 - 免费查询抖音号权重
<!DOCTYPE HTML>
<html style='padding-bottom: 60px;'>
<head>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<title>抖音账号估价 - 免费查询抖音号权重</title>
<link rel='shortcut icon' type='image/x-icon' href='https://lf1-cdn-tos.bytegoofy.com/goofy/ies/douyin_web/public/favicon.ico'>
<link rel='stylesheet' href='index.css'>
<style>
body::before {
content: '无涯工作室';
opacity: 0.3;
font-size: 2em;
color: #ccc;
position: fixed;
top: 60%;
left: 50%;
transform: translate(-50%, -50%) rotate(0deg);
z-index: -1;
}
<pre><code> .newtons-cradle {
--uib-size: 50px;
--uib-speed: 1.2s;
--uib-color: #474554;
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: var(--uib-size);
height: var(--uib-size);
}
.newtons-cradle__dot {
position: relative;
display: flex;
align-items: center;
height: 100%;
width: 25%;
transform-origin: center top;
}
.newtons-cradle__dot::after {
content: '';
display: block;
width: 100%;
height: 25%;
border-radius: 50%;
background-color: var(--uib-color);
}
.newtons-cradle__dot:first-child {
animation: swing var(--uib-speed) linear infinite;
}
.newtons-cradle__dot:last-child {
animation: swing2 var(--uib-speed) linear infinite;
}
@keyframes swing {
0% {
transform: rotate(0deg);
animation-timing-function: ease-out;
}
25% {
transform: rotate(70deg);
animation-timing-function: ease-in;
}
50% {
transform: rotate(0deg);
animation-timing-function: linear;
}
}
@keyframes swing2 {
0% {
transform: rotate(0deg);
animation-timing-function: linear;
}
50% {
transform: rotate(0deg);
animation-timing-function: ease-out;
}
75% {
transform: rotate(-70deg);
animation-timing-function: ease-in;
}
}
/* added styles */
.qz-top {
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
position: relative;
z-index: 1;
}
.header-wrapper {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
padding: 10px;
}
.header-left img {
width: 150px;
}
.input {
display: flex;
justify-content: center;
align-items: center;
margin-top: 50px;
}
input[type='text'] {
width: 500px;
height: 50px;
padding: 10px 20px;
font-size: 16px;
border: none;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.search {
display: flex;
justify-content: center;
align-items: center;
width: 150px;
height: 50px;
margin-top: 30px;
background-color: #ff4c4c;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.search span {
color: #fff;
font-size: 20px;
font-weight: bold;
}
footer {
background-color: #f3f3f3;
padding: 20px 0;
text-align: center;
}
.footer-size {
max-width: 1200px;
margin: 0 auto;
}
.footer-size span {
font-size: 14px;
color: #666;
}
.footer-size a {
font-size: 14px;
color: #666;
text-decoration: none;
font-weight: bold;
}
</style>
</code></pre>
</head>
<body>
<div class='qz-top'>
<div class='header-wrapper'>
<div class='header-left'><img src='logo.png' /></div>
<div class='header-middle'></div>
<div class='header-right'>
<div class='header-right-but'></div>
<div class='header-right-button'>
<a href='/' style='font-size: 13px;' target='_blank'>首页</a>
</div>
</div>
</div>
</div>
<div class='container'>
<form>
<div class='input'>
<input type='text' placeholder='请粘贴抖音主页分享链接' value='' autocomplete='off' id='input-link'>
</div>
</form>
<button onclick='checkWeight()'>
<div class='search'>
<span>查权重</span>
</div>
</button>
</div>
<footer>
<div class='footer-wrapper'>
<div class='footer-size'>
<span>如侵权请联系微信ziyuan2319 </span><br>
<!-- <span>版权所有 © 2020-2023 </span><a href='/' target='_blank'>无涯工作室</a> -->
</div>
</div>
</footer>
<script>
function checkWeight() {
var maxAttempts = 3;
var today = new Date();
today.setHours(0, 0, 0, 0);
var expires = new Date(today.getTime() + (24 * 60 * 60 * 1000));
<pre><code> var attempts = getCookie('attempts');
if (attempts === null) {
attempts = 0;
}
if (attempts >= maxAttempts) {
alert('免费用户只能查询' + maxAttempts + '次,请明天再来,或者找管理员赞助吧');
return;
}
var url = document.getElementById('input-link').value.trim();
var pattern = /^.*?(https://.*)$/; // 优化正则表达式,提高匹配效率
var match = url.match(pattern);
if (match !== null) {
var newUrl = 'https://dy.wygzs.top/dy/api.php?url=' + match[1];
location.href = newUrl;
setCookie('attempts', ++attempts, expires);
} else {
alert('输入的链接格式不正确,请重新输入。');
}
}
function getCookie(name) {
var pattern = new RegExp('(?:(?:^|.*;)\s*' + name + '\s*\=\s*([^;]*).*$)|^.*$');
return decodeURIComponent(document.cookie.replace(pattern, '$1')) || null;
}
function setCookie(name, value, expires) {
document.cookie = name + '=' + encodeURIComponent(value) + '; expires=' + expires.toUTCString() + '; path=/';
}
</script>
</code></pre>
</body>
</html>
原文地址: https://www.cveoy.top/t/topic/mkhZ 著作权归作者所有。请勿转载和采集!