初始化

This commit is contained in:
liut
2021-10-12 11:06:24 +08:00
commit ff0b4d5b12
1270 changed files with 405680 additions and 0 deletions
+310
View File
@@ -0,0 +1,310 @@
<!DOCTYPE html>
<html>
<head>
<script>
//遮罩层
if (window != top) {
try {
var index = parent.layer.getFrameIndex(window.name);
parent.layer.close(index);
}
catch (err) {
//在此处理错误
}
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<title>文件管理 - {$Think.config.basic.site_title}</title>
<link href="__STATIC__/css/bootstrap.min.css" rel="stylesheet">
<link href="__STATIC__/css/userapp.css" rel="stylesheet">
<link href="__STATIC__/icon/icon.css" rel="stylesheet">
<link href="__STATIC__/css/home.css" rel="stylesheet">
<link href="__STATIC__/css/elementui.css" rel="stylesheet">
<link href="__STATIC__/css/list.css" rel="stylesheet"> <!-- 放在最后 -->
<script src="__STATIC__/js/jquery.js"></script>
<script src="__STATIC__/js/bootstrap.min.js"></script>
<script src="__STATIC__/js/common.js"></script>
<link href="__STATIC__/css/file.css" rel="stylesheet">
<link href="__STATIC__/css/bootstrap-table.min.css" rel="stylesheet">
<link href="__STATIC__/css/bootstrap-table-fixed-columns.css" rel="stylesheet">
<link href="__STATIC__/css/bootstrap-editable.css" rel="stylesheet">
<script src="__STATIC__/js/bootstrap-table.min.js" type="text/javascript"></script>
<script src="__STATIC__/js/bootstrap-table-fixed-columns.js" type="text/javascript"></script>
<script src="__STATIC__/js/bootstrap-editable.js" type="text/javascript"></script>
<script src="__STATIC__/js/lay/modules/layer.js"></script>
<script type="text/javascript" src="__STATIC__/viewer/viewer.min.js"></script>
<link rel="stylesheet" href="__STATIC__/viewer/viewer.min.css">
<style>
.el-menu-item a{
display: block;
text-decoration: none;
color: #7e8c8d;
}
.el-menu-item.select a{
color: #09AAFF;
}
@media (max-width:890px) {
.pub-header .logo{
width: 100px !important;
}
.pub-header .head-box .text{
display: none;
}
.el-menu-item{
padding: 0;
}
.el-container{
flex-direction: column;
}
.el-aside{
width: 100%;
overflow:inherit
}
.el-menu-item{
display: inline-block;
width: 30.33333%;
text-align: center;
margin: .5%;
}
.top-item em{
display: none;
}
.top-item .text {
margin-left: 0;
width: 28px;
}
.top-right input{
width: 80%;
}
.filename {
display: inline-block;
width: 100px;
overflow: hidden;
}
.col-sm-1{
display: inline-block;
padding-right:0 !important;
margin-left: 0 !important;
}
.col-sm-1:nth-child(2){
padding-left:0;
}
.col-sm-3{
display: inline-block;
margin-left: 0;
}
.switch {
width: 48px;
height: 26px;
}
.slider:before {
height: 17px;
width: 15px ;
}
}
</style>
</head>
<body>
<div class="app">
<div class="header">
<section class="el-container is-vertical">
<header class="el-header" style="height: 60px;">
<div class="pub-header space-between">
<a href="/"><img src="{$Think.config.basic.site_logo}" class="logo"
style="width: 130px;height: 40px;"></a>
<div class="pub-right flex">
<span>
<div class="head-box align-center el-popover__reference tan"
aria-describedby="el-popover-2040" tabindex="0"
{eq name="$vip_info.is_vip" value="0"}tan="VIP到期时间:未开通">{/eq}
{eq name="$vip_info.is_vip" value="1"}tan="VIP到期时间:{$vip_info.expire_time}">{/eq}
<img src="{:getUserHead($info.avatar)}" alt=""class="head-img">
<p class="text" {eq name="$vip_info.is_vip" value="1"}style="color: red;"{/eq}>
{$info.nickname} ({$group.group_name})
</p>
<p class="line"></p>
</div>
</span>
<div class="pub-header1 align-center"><img
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAQCAYAAADJViUEAAABCUlEQVQokZXTvyvEYRwH8Nc9sbrtDJLVdl05qfMPKFaJzHSDwUJmZTEwCBnFJgOZUYorq8l2AxtXFkoZvs+Xb9e5H+/l8/S83+/n86PPkyuVSpowjTxOcIp5LKCBy6wwZM6DkZzATbwbiPEWk7iKOtAXYx5nWEWtuRTUsY4KzjGFRpp5D2v/GLO4wwb207LH8RaJbnCND5QDlrDbpTHFDpYDhvDco/kJIwGfPRpThOBv4q2w2Yb7Cm1IuO+U+QXDHR5pxijqAUeS5egFKzgMeEABY10aK5KNrKU9V7GNYgdjGVtR/zvpBuYkLTziAK8ZUyGWWsRs1Mu1+JIzWJT8qG/04x3HuMgKfwBDXy+/tOYcjQAAAABJRU5ErkJggg=="
alt="" class="tc">
<p class="text">
<a href="{:url('user/logout')}" class="js-ajax-btn" style="color:#313131">退出登录</a>
</p>
</div>
</div>
</div>
</header>
<section class="el-container">
<aside class="el-aside">
<div class="el-col el-col el-col-24">
<ul id="menubar" class="el-menu-vertical-demo el-menu"
style="background-color: rgb(247, 247, 247);margin-top: 8px;">
<li role="menuitem" class="el-menu-item g-button-right {eq name="url_path" value="user/index"}select{/eq}">
<a href="{:url('user/index')}">
<em class="icon icon-disk"></em>
<span>全部文件</span>
</a>
</li>
<li role="menuitem" class="el-menu-item g-button-right {eq name="url_path" value="recycle/index"}select{/eq}">
<a href="{:url('recycle/index')}">
<em class="icon icon-delete"></em>
<span>回收站</span>
</a>
</li>
{php}
if($url_path == 'share/index' || $url_path == 'share/record' || $url_path == 'share/withdraw'){
$share_active = 1;
}else{
$share_active = 0;
}
{/php}
<li role="menuitem" class="el-menu-item g-button-right {eq name="$share_active" value="1"}select{/eq}">
<a href="{:url('share/index')}">
<em class="icon icon-my-share"></em>
<span>分享赚钱</span>
</a>
</li>
</ul>
</div>
</aside>
<main class="el-main">
{block name="main"}{/block}
</main>
</section>
</section>
<div class="el-dialog__wrapper" style="display: none;">
<div role="dialog" aria-modal="true" aria-label="更换手机号" class="el-dialog"
style="margin-top: 15vh; width: 404px;">
<div class="el-dialog__header"><span class="el-dialog__title">更换手机号</span><button type="button"
aria-label="Close" class="el-dialog__headerbtn"><i
class="el-dialog__close el-icon el-icon-close"></i></button></div>
<!---->
<!---->
</div>
</div>
<div class="el-dialog__wrapper" style="display: none;">
<div role="dialog" aria-modal="true" aria-label="修改密码" class="el-dialog"
style="margin-top: 15vh; width: 404px;">
<div class="el-dialog__header"><span class="el-dialog__title">修改密码</span><button type="button"
aria-label="Close" class="el-dialog__headerbtn"><i
class="el-dialog__close el-icon el-icon-close"></i></button></div>
<!---->
<!---->
</div>
</div>
</div>
</div>
<script type="text/javascript">
//全局变量
var GV = {
ROOT: "/",
WEB_ROOT: "/",
JS_ROOT: "./assets/js/",
APP: ''/*当前应用名*/
};
function isMobile(){
return /Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent);
}
function vip() {
let w = window.screen.width < 768 ? '95%' : '723px';
let h = window.screen.width < 768 ? '95%' : '520px';
if (isMobile()) {
layer.open({
type: 2,
shadeClose: true,
closeBtn: 0,
title: false,
offset: 'b',
anim: 2,
area: ['100%', '620px'], // 宽高
content: "/user/vip?layer=1",
end: function () {
},
});
}else{
layer.open({
type: 2,
shadeClose: true,
title: "VIP中心",
area: [w, h], // 宽高
content: "/user/vip",
end: function () {
//location.reload();
},
});
}
}
function userinfo() {
let w = window.screen.width < 768 ? '95%' : '723px';
let h = window.screen.width < 768 ? '95%' : '620px';
layer.open({
type: 2,
shadeClose: true,
title: "个人中心",
area: [w, h], // 宽高
content: "/user/info",
end: function () {
//location.reload();
},
});
}
function vipOk() {
layer.alert('恭喜您开通VIP成功~ 感谢您的支持!',
{
icon: 1,
end: function () {
location.reload();
},
});
}
$(".head-box").click(
function () {
userinfo();
}
);
$('.tan').on({
mouseenter: function () {
var nei = $(this).attr("tan");
if (nei) {
var that = $(this);
tips = layer.tips("<span style='color:#000;font-size:17px;'>" + nei + "</span>", that, { tips: [2, '#fff'], time: 0, area: 'auto', maxWidth: 700 });
}
},
mouseleave: function () {
layer.close(tips);
}
});
</script>
<script src="__STATIC__/js/wind.js"></script>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>