Compare commits
12 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
6d09b40b89 | 8 years ago |
|
|
6ceb361392 | 8 years ago |
|
|
d2592ed0d0 | 8 years ago |
|
|
7d8014907c | 8 years ago |
|
|
379c5a8f1e | 8 years ago |
|
|
17172e7554 | 8 years ago |
|
|
f399c539ef | 8 years ago |
|
|
1b0928e536 | 8 years ago |
|
|
5133efd13c | 8 years ago |
|
|
a73065cb5e | 8 years ago |
|
|
ac3f8e33ed | 8 years ago |
|
|
dc8364825d | 8 years ago |
@ -1,84 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Controllers;
|
||||
|
||||
use App\Models\InviteCode;
|
||||
use App\Models\User;
|
||||
use App\Models\Code;
|
||||
use App\Models\Payback;
|
||||
use App\Models\Paylist;
|
||||
use App\Services\Auth;
|
||||
use App\Services\Config;
|
||||
use App\Services\Payment;
|
||||
use App\Utils\AliPay;
|
||||
use App\Utils\Tools;
|
||||
use App\Utils\Telegram;
|
||||
use App\Utils\Tuling;
|
||||
use App\Utils\TelegramSessionManager;
|
||||
use App\Utils\QRcode;
|
||||
use App\Utils\Pay;
|
||||
use App\Utils\TelegramProcess;
|
||||
use App\Utils\Spay_tool;
|
||||
use App\Utils\Geetest;
|
||||
|
||||
class VueController extends BaseController {
|
||||
|
||||
private $user;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->user = Auth::getUser();
|
||||
}
|
||||
|
||||
public function getGlobalConfig($request, $response, $args) {
|
||||
$GtSdk = null;
|
||||
$recaptcha_sitekey = null;
|
||||
$user = $this->user;
|
||||
if (Config::get('captcha_provider') != ''){
|
||||
switch(Config::get('captcha_provider'))
|
||||
{
|
||||
case 'recaptcha':
|
||||
$recaptcha_sitekey = Config::get('recaptcha_sitekey');
|
||||
break;
|
||||
case 'geetest':
|
||||
$uid = time().rand(1, 10000) ;
|
||||
$GtSdk = Geetest::get($uid);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (Config::get('enable_telegram') == 'true') {
|
||||
$login_text = TelegramSessionManager::add_login_session();
|
||||
$login = explode("|", $login_text);
|
||||
$login_token = $login[0];
|
||||
$login_number = $login[1];
|
||||
} else {
|
||||
$login_token = '';
|
||||
$login_number = '';
|
||||
}
|
||||
|
||||
$res['globalConfig'] = array(
|
||||
"geetest_html" => $GtSdk,
|
||||
"login_token" => $login_token,
|
||||
"login_number" => $login_number,
|
||||
"telegram_bot" => Config::get('telegram_bot'),
|
||||
"enable_logincaptcha" => Config::get('enable_login_captcha'),
|
||||
"enable_regcaptcha" => Config::get('enable_reg_captcha'),
|
||||
"base_url" => Config::get('baseUrl'),
|
||||
"recaptcha_sitekey" => $recaptcha_sitekey,
|
||||
"captcha_provider" => Config::get('captcha_provider'),
|
||||
"jump_delay" => Config::get('jump_delay'),
|
||||
"register_mode" => Config::get('register_mode'),
|
||||
"enable_email_verify" => Config::get('enable_email_verify'),
|
||||
"appName" => Config::get('appName'),
|
||||
"dateY" => date("Y"),
|
||||
"isLogin" => $user->isLogin,
|
||||
"enable_telegram" => Config::get('enable_telegram'),
|
||||
);
|
||||
|
||||
$res['ret'] = 1;
|
||||
|
||||
return $response->getBody()->write(json_encode($res));
|
||||
}
|
||||
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 198 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 11 KiB |
@ -1,579 +0,0 @@
|
||||
@import url(https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css);
|
||||
|
||||
body {
|
||||
background-color: #1D1D1D;
|
||||
color: white;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.flex {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.space-around {
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.align-center {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.wrap {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
[v-cloak] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nav,
|
||||
.main,
|
||||
.footer {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
|
||||
.loading {
|
||||
position: fixed;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
justify-content: center;
|
||||
font-size: 4rem;
|
||||
}
|
||||
|
||||
.button-round.active {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.logo-sm,
|
||||
.auth-sm {
|
||||
padding: 1rem 1rem;
|
||||
}
|
||||
|
||||
.auth-sm {
|
||||
text-align: right;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.auth-sm a {
|
||||
min-width: 80px;
|
||||
}
|
||||
|
||||
.logo-sm .logo {
|
||||
height: 48px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.logo-sm>a {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.logo-sm .logo {
|
||||
margin-right: .5rem;
|
||||
}
|
||||
|
||||
.logo-bg .logo {
|
||||
height: 160px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sign {
|
||||
font-size: .5rem;
|
||||
margin-top: 2px;
|
||||
color: #858585;
|
||||
}
|
||||
|
||||
.main {
|
||||
text-align: center;
|
||||
min-height: 80vh;
|
||||
}
|
||||
|
||||
.title,
|
||||
.auth {
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 80%;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.title-left {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.title-left a {
|
||||
margin-right: .5rem;
|
||||
margin-bottom: .5rem;
|
||||
}
|
||||
|
||||
.title h1 {
|
||||
font-size: 2.5rem;
|
||||
margin: 0;
|
||||
display: inline-block;
|
||||
border-bottom: 2px solid currentColor;
|
||||
}
|
||||
|
||||
.title span {
|
||||
font-size: 1.5rem;
|
||||
display: block;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.button-index {
|
||||
font-size: 1rem;
|
||||
padding: .5rem 1.5rem;
|
||||
display: inline-block;
|
||||
border: 2px solid currentColor;
|
||||
min-width: 120px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.button-index:hover,
|
||||
.button-index:focus {
|
||||
color: rgb(142, 142, 142);
|
||||
border: 2px solid currentColor;
|
||||
}
|
||||
|
||||
.footer {
|
||||
padding: 0 3rem;
|
||||
}
|
||||
|
||||
.staff,
|
||||
.time {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.staff {
|
||||
color: rgba(120, 120, 120, 1);
|
||||
}
|
||||
|
||||
.staff a {
|
||||
color: #D1335B;
|
||||
}
|
||||
|
||||
.staff a,
|
||||
.input-control input,
|
||||
.auth-submit,
|
||||
.button-round,
|
||||
.button-index,
|
||||
input.checkbox {
|
||||
transition: all .3s;
|
||||
}
|
||||
|
||||
.staff a:hover,
|
||||
.staff a:focus {
|
||||
color: #13c2c2
|
||||
}
|
||||
|
||||
.input-control input {
|
||||
border: none;
|
||||
border-bottom: 2px solid white;
|
||||
background: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.input-control input:focus {
|
||||
border-color: #adadad;
|
||||
}
|
||||
|
||||
.auth-submit {
|
||||
border-radius: 3px;
|
||||
color: #D1335B;
|
||||
background: white;
|
||||
outline: none;
|
||||
border: 1px solid transparent;
|
||||
min-height: 46px;
|
||||
margin-top: 1rem;
|
||||
width: 32%;
|
||||
}
|
||||
|
||||
.auth-submit:hover,
|
||||
.auth-submit:focus {
|
||||
background-color: #d6d6d6;
|
||||
border-color: #d6d6d6;
|
||||
}
|
||||
|
||||
.auth,
|
||||
.user,
|
||||
.pw {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.auth h1 {
|
||||
font-size: 3.5rem;
|
||||
margin-top: 0;
|
||||
}
|
||||
.auth h3 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.page-auth,
|
||||
.page-user,
|
||||
.page-pw {
|
||||
text-align: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.input-control {
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.input-control-inner {
|
||||
flex-wrap: wrap;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.input-control>label,
|
||||
.input-control>input,
|
||||
.input-control>select {
|
||||
flex-basis: 80%;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.input-control-inner>label,
|
||||
.input-control-inner>input {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
|
||||
.twin {
|
||||
justify-content: space-around;
|
||||
align-items: flex-end;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.twin>* {
|
||||
flex-basis: 100%%;
|
||||
}
|
||||
|
||||
.input-control>input {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.reg {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.reg .input-control {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
|
||||
input[name] {
|
||||
height: 46px;
|
||||
}
|
||||
|
||||
select {
|
||||
color: black;
|
||||
height: 36px;
|
||||
}
|
||||
|
||||
.button-round {
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
margin-bottom: 1rem;
|
||||
color: white;
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
.button-round:hover,
|
||||
.button-round:focus {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.icon-round {
|
||||
background: white;
|
||||
color: black;
|
||||
border-radius: 50%;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
display: inline-block;
|
||||
margin-right: .75rem;
|
||||
}
|
||||
|
||||
.fa {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.icon-round .fa-pencil {
|
||||
top: .25rem;
|
||||
left: .05rem
|
||||
}
|
||||
|
||||
.icon-round .fa-plus {
|
||||
top: .35em;
|
||||
}
|
||||
|
||||
.icon-round .fa-gear {
|
||||
top: .3rem;
|
||||
}
|
||||
|
||||
#embed-captcha-reg {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.title-back {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: 5rem;
|
||||
user-select: none;
|
||||
z-index: -1;
|
||||
color: #2e2e2e;
|
||||
justify-content: center;
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
.basis-max .input-control {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.basis-max .auth-submit {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
#code_number,
|
||||
.tg-timeout {
|
||||
padding: .6rem 1rem;
|
||||
width: 100%;
|
||||
font-size: 1.3em;
|
||||
}
|
||||
|
||||
.tg-timeout {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.qr-center img {
|
||||
width: 70%;
|
||||
height: 70%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media screen and (min-width:35.5em) {
|
||||
.auth-sm a {
|
||||
min-width: 120px;
|
||||
}
|
||||
|
||||
.footer {
|
||||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
.title-left a {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.logo-sm,
|
||||
.auth-sm {
|
||||
padding: 1rem 3rem;
|
||||
margin-top: .8rem;
|
||||
}
|
||||
|
||||
.title h1 {
|
||||
font-size: 4rem;
|
||||
}
|
||||
|
||||
.staff {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.time {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.auth-links {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.auth-links a {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
|
||||
.title-back {
|
||||
font-size: 8.5rem;
|
||||
}
|
||||
|
||||
.auth>div:first-of-type {
|
||||
padding: 0 0 0 5%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width:48em) {
|
||||
.title h1 {
|
||||
font-size: 5rem;
|
||||
}
|
||||
|
||||
#register {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.twin {
|
||||
justify-content: space-around;
|
||||
align-items: flex-end;
|
||||
padding: 0 2.5%;
|
||||
}
|
||||
|
||||
.twin>* {
|
||||
flex-basis: 39%;
|
||||
}
|
||||
|
||||
.input-control {
|
||||
width: 41%;
|
||||
}
|
||||
|
||||
.reg .input-control {
|
||||
flex-basis: 48%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width:64em) {
|
||||
|
||||
.title {
|
||||
width: 75%;
|
||||
padding-left: 5%;
|
||||
}
|
||||
|
||||
.auth {
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
.title-back {
|
||||
font-size: 12rem;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (min-width:80em) {
|
||||
.title h1 {
|
||||
padding-right: 4rem;
|
||||
}
|
||||
|
||||
.title-left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.logo-bg .logo {
|
||||
display: unset;
|
||||
margin-left: 10rem;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width:35.5em) {
|
||||
.hide-sm {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* 组件 */
|
||||
/* messager */
|
||||
.uim-messager {
|
||||
position: fixed;
|
||||
top: 6rem;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
border-radius: 3px;
|
||||
z-index: 10;
|
||||
padding: 7px 10px;
|
||||
color: black;
|
||||
background: white;
|
||||
width: 200px;
|
||||
min-height: 36px;
|
||||
box-shadow: 0px 0px 5px 1px gray;
|
||||
}
|
||||
|
||||
.uim-messager span {
|
||||
margin-left: .6rem;
|
||||
}
|
||||
|
||||
/* checkbox */
|
||||
input[type=checkbox].uim-checkbox {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
opacity: 0;
|
||||
position: relative;
|
||||
bottom: .1rem;
|
||||
}
|
||||
|
||||
.uim-check-content {
|
||||
font-size: .9rem;
|
||||
position: relative;
|
||||
left: .2rem;
|
||||
top: 1px;
|
||||
}
|
||||
|
||||
.uim-checkbox-icon {
|
||||
position: absolute;
|
||||
bottom: 1px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.uim-check {
|
||||
position: relative;
|
||||
top: 1px;
|
||||
height: 14px;
|
||||
width: 15px;
|
||||
background: aliceblue;
|
||||
transition: all .3s;
|
||||
}
|
||||
|
||||
.uimchecked {
|
||||
background: #D1335B;
|
||||
box-shadow: 0 0 5px 1px gray;
|
||||
}
|
||||
|
||||
/* loading 动画 */
|
||||
.spinner {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
background-color: #fff;
|
||||
|
||||
margin: 100px auto;
|
||||
-webkit-animation: rotateplane 1.2s infinite ease-in-out;
|
||||
animation: rotateplane 1.2s infinite ease-in-out;
|
||||
}
|
||||
|
||||
@-webkit-keyframes rotateplane {
|
||||
0% {
|
||||
-webkit-transform: perspective(120px)
|
||||
}
|
||||
|
||||
50% {
|
||||
-webkit-transform: perspective(120px) rotateY(180deg)
|
||||
}
|
||||
|
||||
100% {
|
||||
-webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes rotateplane {
|
||||
0% {
|
||||
transform: perspective(120px) rotateX(0deg) rotateY(0deg);
|
||||
-webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
|
||||
}
|
||||
|
||||
50% {
|
||||
transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
|
||||
-webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
|
||||
-webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@ -1,201 +0,0 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!--
|
||||
Dimension by HTML5 UP
|
||||
html5up.net | @ajlkn
|
||||
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
-->
|
||||
{if $config['appName'] == '跑路'}
|
||||
<script>window.location.href='{$config["baseUrl"]}/paolu.html';</script>
|
||||
{/if}
|
||||
<html>
|
||||
<head>
|
||||
<title>{$config["appName"]}</title>
|
||||
<meta name="keywords" content=""/>
|
||||
<meta name="description" content=""/>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="shortcut icon" href="/favicon.ico"/>
|
||||
<link rel="bookmark" href="/favicon.ico"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>
|
||||
<link rel="stylesheet" href="/assets/css/main.css"/>
|
||||
<noscript><link rel="stylesheet" href="/assets/css/noscript.css" /></noscript>
|
||||
<link href="//unpkg.com/nprogress@0.2.0/nprogress.css" rel="stylesheet" />
|
||||
<script src="//unpkg.com/nprogress@0.2.0/nprogress.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
<!--首页开始-->
|
||||
<header id="header">
|
||||
<div class="logo">
|
||||
<span class="icon fa-rocket"></span>
|
||||
</div>
|
||||
{if $user->isLogin}
|
||||
<div class="content">
|
||||
<div class="inner">
|
||||
<p>用户:<code>{$user->user_name}</code>
|
||||
等级:{if $user->class!=0}
|
||||
<code>VIP{$user->class}</code>
|
||||
{else}
|
||||
<code>免费</code>
|
||||
{/if}
|
||||
过期时间:{if $user->class_expire!="1989-06-04 00:05:00"}
|
||||
<code>{$user->class_expire}</code>
|
||||
{else}
|
||||
<code>不过期</code>
|
||||
{/if}</p>
|
||||
<p>总流量:<code>{$user->enableTraffic()}</code>
|
||||
已用流量:<code>{$user->usedTraffic()}</code>
|
||||
剩余流量:<code>{$user->unusedTraffic()}</code></p>
|
||||
</div>
|
||||
</div>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#1">简介</a></li>
|
||||
<li><a href="/user">用户中心</a></li>
|
||||
<li><a href="/user/logout">退出登录</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
{else}
|
||||
<div class="content">
|
||||
<div class="inner">
|
||||
<h1>{$config["appName"]}</h1>
|
||||
<!--
|
||||
如果想自定义文本请删除下面这段script代码,格式为
|
||||
<p>自定义文本</p>
|
||||
-->
|
||||
<div id="lwlhitokoto"></div>
|
||||
</div>
|
||||
</div>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#1">简介</a></li>
|
||||
<li><a href="/auth/login">登录</a></li>
|
||||
<li><a href="/auth/register">注册</a></li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
{/if}
|
||||
|
||||
</header>
|
||||
<!--首页结束-->
|
||||
<div id="main">
|
||||
<!--标签1开始-->
|
||||
<article id="1">
|
||||
<h2 class="major">简介</h2>
|
||||
<p>「ホワイトアルバムの季節」が、また、やってきた。</p></article>
|
||||
<!--
|
||||
简介修改示例:
|
||||
<p> 123</p>
|
||||
一个 <p> 123</p> 为一行,请不要删除 </article>
|
||||
-->
|
||||
<!--标签4开始-->
|
||||
<article id="4">
|
||||
<h2 class="major">联系我们</h2>
|
||||
<ul class="icons">
|
||||
<p>此处填写联系方式</p>
|
||||
<li>
|
||||
<a target="_blank" href="#" class="icon fa-facebook">
|
||||
<!-- 请在fontawesome.com寻找替换图标 href替换链接 -->
|
||||
<span class="label">Facebook</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</article>
|
||||
<article id="login">
|
||||
|
||||
<h2 class="major">登录</h2>
|
||||
<form method="post" action="javascript:void(0);">
|
||||
<div class="field half first">
|
||||
<label for="email2">邮箱</label>
|
||||
<input type="text" name="Email" id="email2" />
|
||||
</div>
|
||||
<div class="field half">
|
||||
<label for="passwd">密码</label>
|
||||
<input type="password" name="Password" id="passwd" />
|
||||
</div>
|
||||
|
||||
<ul class="actions">
|
||||
<li><input id="login" type="submit" value="登录" class="special" /></li>
|
||||
<li><input type="reset" value="清空" /></li>
|
||||
</ul>
|
||||
</form>
|
||||
|
||||
|
||||
<div class="field half">
|
||||
<input value="week" id="remember_me" name="remember_me" type="checkbox" checked>
|
||||
<label for="remember_me">记住我</label>
|
||||
</div>
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
<div id="result" role="dialog" >
|
||||
<p color class="h5 margin-top-sm text-black-hint" id="msg"></p>
|
||||
</div>
|
||||
</article>
|
||||
<!--全部标签结束-->
|
||||
|
||||
</div>
|
||||
<!-- 版权底部 -->
|
||||
<footer id="footer">
|
||||
<p class="copyright">©{date("Y")} {$config["appName"]}</p>
|
||||
</footer>
|
||||
<!-- 版权结束 -->
|
||||
</div>
|
||||
<!-- BG -->
|
||||
<div id="bg"></div>
|
||||
<!-- Scripts -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@1.11.3"></script>
|
||||
<script src="https://cdn.jsdelivr.net/gh/ajlkn/skel@3.0.1/dist/skel.min.js"></script>
|
||||
<script src="/assets/js/util.js"></script>
|
||||
<script src="/assets/js/main.js"></script>
|
||||
<script language="javascript">
|
||||
try{
|
||||
if(window.console&&window.console.log){
|
||||
|
||||
console.log("%c{$config["appName"]}"," text-shadow: 0 1px 0 #ccc,0 2px 0 #c9c9c9,0 3px 0 #bbb,0 4px 0 #b9b9b9,0 5px 0 #aaa,0 6px 1px rgba(0,0,0,.1),0 0 5px rgba(0,0,0,.1),0 1px 3px rgba(0,0,0,.3),0 3px 5px rgba(0,0,0,.2),0 5px 10px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.2),0 20px 20px rgba(0,0,0,.15);font-size:5em");
|
||||
console.log("%chttps://github.com/NimaQu/ss-panel-v3-mod_Uim","background: rgba(252,234,187,1);background: -moz-linear-gradient(left, rgba(252,234,187,1) 0%, rgba(175,250,77,1) 12%, rgba(0,247,49,1) 28%, rgba(0,210,247,1) 39%,rgba(0,189,247,1) 51%, rgba(133,108,217,1) 64%, rgba(177,0,247,1) 78%, rgba(247,0,189,1) 87%, rgba(245,22,52,1) 100%);background: -webkit-gradient(left top, right top, color-stop(0%, rgba(252,234,187,1)), color-stop(12%, rgba(175,250,77,1)), color-stop(28%, rgba(0,247,49,1)), color-stop(39%, rgba(0,210,247,1)), color-stop(51%, rgba(0,189,247,1)), color-stop(64%, rgba(133,108,217,1)), color-stop(78%, rgba(177,0,247,1)), color-stop(87%, rgba(247,0,189,1)), color-stop(100%, rgba(245,22,52,1)));background: -webkit-linear-gradient(left, rgba(252,234,187,1) 0%, rgba(175,250,77,1) 12%, rgba(0,247,49,1) 28%, rgba(0,210,247,1) 39%, rgba(0,189,247,1) 51%, rgba(133,108,217,1) 64%, rgba(177,0,247,1) 78%, rgba(247,0,189,1) 87%, rgba(245,22,52,1) 100%);background: -o-linear-gradient(left, rgba(252,234,187,1) 0%, rgba(175,250,77,1) 12%, rgba(0,247,49,1) 28%, rgba(0,210,247,1) 39%, rgba(0,189,247,1) 51%, rgba(133,108,217,1) 64%, rgba(177,0,247,1) 78%, rgba(247,0,189,1) 87%, rgba(245,22,52,1) 100%);background: -ms-linear-gradient(left, rgba(252,234,187,1) 0%, rgba(175,250,77,1) 12%, rgba(0,247,49,1) 28%, rgba(0,210,247,1) 39%, rgba(0,189,247,1) 51%, rgba(133,108,217,1) 64%, rgba(177,0,247,1) 78%, rgba(247,0,189,1) 87%, rgba(245,22,52,1) 100%);background: linear-gradient(to right, rgba(252,234,187,1) 0%, rgba(175,250,77,1) 12%, rgba(0,247,49,1) 28%, rgba(0,210,247,1) 39%, rgba(0,189,247,1) 51%, rgba(133,108,217,1) 64%, rgba(177,0,247,1) 78%, rgba(247,0,189,1) 87%, rgba(245,22,52,1) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#f51634', GradientType=1 );font-size:3em");
|
||||
}
|
||||
}catch(e){
|
||||
};
|
||||
|
||||
</script>
|
||||
<!-- 進度條 -->
|
||||
<script>
|
||||
$(function() {
|
||||
$(window).load(function(){
|
||||
NProgress.done();
|
||||
});
|
||||
NProgress.set(0.0);
|
||||
NProgress.configure({ showSpinner: false });
|
||||
NProgress.configure({ minimum: 0.4 });
|
||||
NProgress.configure({ easing: 'ease', speed: 1200 });
|
||||
NProgress.configure({ trickleSpeed: 200 });
|
||||
NProgress.configure({ trickleRate: 0.2, trickleSpeed: 1200 });
|
||||
NProgress.inc();
|
||||
$(window).ready(function(){
|
||||
NProgress.start();
|
||||
});
|
||||
})
|
||||
|
||||
window.addEventListener('load',()=>{
|
||||
fetch('https://api.lwl12.com/hitokoto/v1?encode=realjson',{
|
||||
method: 'GET',
|
||||
}).then((response)=>{
|
||||
return response.json();
|
||||
}).then((r)=>{
|
||||
insertHitokoto(r);
|
||||
})
|
||||
});
|
||||
|
||||
function insertHitokoto(data) {
|
||||
let hitokoto = document.getElementById('lwlhitokoto');
|
||||
if (data.author || data.source) {
|
||||
hitokoto.innerHTML = `${ldelim}data.text{rdelim} —— ${ldelim}data.author{rdelim} ${ldelim}data.source{rdelim}`;
|
||||
} else {
|
||||
hitokoto.innerHTML = `${ldelim}data.text{rdelim}`;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in New Issue