1 Star 3 Fork 2

legoshilv / 羊了个羊

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.php 7.49 KB
一键复制 编辑 原始数据 按行查看 历史
legoshilv 提交于 2022-09-20 12:21 . Update V2.0
<?php
// +----------------------------------------------------------------------
// | CloudSInk [ 我们依旧可以抱着所有幻想,继续走下去 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2018-2022 http://www.cloudsink.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 云影 <3502914536@qq.com>
// +----------------------------------------------------------------------
include("function.php");
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0" name="viewport">
<title>羊了个羊小工具-云影工作室</title>
<link href="./css/bootstrap.css" rel="stylesheet" type="text/css">
<style>
* {
padding: 0;
margin: 0
}
body {
background-color: #75c473;
padding-bottom: 2rem;
}
body > .container {
width: 800px;
background: url("./images/ddfbf58e0d70d.jpeg") no-repeat top;
background-size: 100%
}
.box {
background-color: #fff;
border-radius: 2rem;
height: 100%;
top: 15rem;
position: relative;
padding: 2rem;
box-shadow: 0 .4rem 1rem .1rem rgb(0 0 0 / 20%)
}
.box .form-control {
border-radius: 1rem
}
.box .form-control:focus {
border-color: #75c473;
box-shadow: 0 0 0 .1rem #75c473
}
.box .alert-success {
border-radius: 1rem
}
.box button {
border-radius: 1rem;
height: calc(3.5rem + 2px);
line-height: 1.25;
}
.box .btn-success {
background-color: #75c473;
color: #fff;
border-color: #75c473
}
.box #jiaocheng .btn svg {
margin-top: -2px
}
.box #jiaocheng .btn3 {
margin-top: 1rem
}
.box #jiaocheng .btn3 a {
display: inline-flex;
font-size: .8rem;
background-color: #75c473;
color: #fff;
border-radius: .25rem;
margin-bottom: .2rem;
padding: .5rem .5rem
}
.box .uid .form-floating {
float: left;
}
.box .uid .form-floating .form-control {
float: left;
}
.box .uid .btn-secondary {
float: left;
border-radius: 0 1rem 1rem 0
}
.box .uid #uid {
border-radius: 1rem 0 0 1rem;
}
.box .uid .btn-success {
float: right;
}
@media screen and (max-width: 800px) {
body > .container {
width: 100%
}
}
@media screen and (max-width: 500px) {
.box {
top: 8rem;
}
.box .uid .form-floating {
width: 70%;
}
.box .uid .btn-secondary {
width: 30%;
}
.box .uid .btn-success {
width: 100%;
margin-top: 1rem;
}
}
@media screen and (max-width: 400px) {
.box {
top: 10rem
}
}
</style>
<script src="./js/jquery.min.js"></script>
<script src="./js/vue.min.js"></script>
<script src="./js/main.js"></script>
<script src="./layer/layer.js"></script>
</head>
<body>
<div class="container" id="vue-page">
<div class="box col-12">
<div class="text-center alert alert-success mb-3" role="alert">
本工具仅供学习交流使用,并不作为实际行动的实用工具,<br/>
使用者与开发者并不承担相关法律责任!<br/>
如果出现一直转圈然后提示失败的情况,请等待一会或者联系群主<br/>
上述情况是由于羊了个羊官方服务器堵塞而造成的<br/>
刷一次需要1S 单次提交不建议提交10次以上<br/>
群里还有微信公众号发布消息使用<br/>
开发作者:云影工作室-云影 QQ:3502914536<br/>
QQ交流群一群(已满):817339037 二群:787529326,欢迎大家前来学习与技术交流。群主偶尔会直播教学<br/>
</div>
<div class="text-center alert alert-success mb-3" role="alert" id="content">
在上方输入自己的ID,输入要刷取的通关次数,开始刷取<br>
获取token速度由羊了个羊官方服务器决定,慢的话多获取几遍<br>
</div>
<div class="form-inline uid mb-3 clearfix">
<div class="form-floating col-9">
<input class="form-control" v-model="info.uid" placeholder="输入UID获取token">
<label for="uid">输入UID获取token</label>
</div>
<button class="btn btn-secondary col-3 btn3"
onclick="layer.alert('打开羊了个羊小程序,<br/>点击俺的名片,<br/>把ID记下来,填进这里')">怎么查看
</button>
<!-- <button class="btn btn-success col-3" @click="getToken()">点击获取 token</button>-->
</div>
<div class="form-floating mb-3">
<input class="form-control" id="number" v-model="info.number"
placeholder="请输入通关次数">
<label for="number">通关次数(单次限制10次)</label>
</div>
<div class="form-floating mb-5">
<input class="form-control" id="number" v-model="info.number_topic"
placeholder="请输入话题排行榜次数">
<label for="number">话题排行榜次数(单次限制10次)</label>
</div>
<button class="btn btn-success col-12 mb-4" @click="getSubmit()">提交</button>
<div class="mb-3">
<div class="text-center">
<div class=" mb-1 btn3">
<div>版权所有: <a class="nav-link" href="http://www.cloudsink.cn" target="_blank">云影工作室</a></div>
</div>
</div>
</div>
</div>
</div>
<script>
new Vue({
el: '#vue-page',
data: {
info: {
token: '',
number: 1,
number_topic:1,
uid: ''
}
},
methods: {
getSubmit: function () {
var vue = this;
CloudSink.ajax("/ajax.php?action=submit", vue.info, function (data) {
if (data.status === 1) {
layer.alert(data.message);
} else {
layer.msg(data.message);
}
})
},
getToken: function () {
var vue = this;
CloudSink.ajax("ajax.php?action=token", vue.info, function (data) {
if (data.status === 1) {
vue.info.token = data.token;
layer.msg(data.message);
} else {
layer.msg(data.message);
}
})
}
}
})
</script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/legoshilv0904/ylgy.git
git@gitee.com:legoshilv0904/ylgy.git
legoshilv0904
ylgy
羊了个羊
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891