mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
[更新]修改样式
This commit is contained in:
parent
cdce03cee5
commit
23f5eb6466
@ -14,7 +14,7 @@
|
||||
{if auth('config')}
|
||||
<div class="think-box-shadow margin-bottom-15">
|
||||
<span class="color-green font-w7">系统参数配置:</span>
|
||||
<a class="layui-btn layui-btn-sm layui-btn-primary" data-modal="{:url('config')}">修改系统配置</a>
|
||||
<a class="layui-btn layui-btn-sm" data-modal="{:url('config')}">修改系统配置</a>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -4,4 +4,4 @@
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit2078d92f7b7bb325fe9f8c9a5d00e122::getLoader();
|
||||
return ComposerAutoloaderInit09fb67115c1225dd8c791a62882d72d6::getLoader();
|
||||
|
14
vendor/composer/autoload_real.php
vendored
14
vendor/composer/autoload_real.php
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInit2078d92f7b7bb325fe9f8c9a5d00e122
|
||||
class ComposerAutoloaderInit09fb67115c1225dd8c791a62882d72d6
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -19,15 +19,15 @@ class ComposerAutoloaderInit2078d92f7b7bb325fe9f8c9a5d00e122
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit2078d92f7b7bb325fe9f8c9a5d00e122', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit09fb67115c1225dd8c791a62882d72d6', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit2078d92f7b7bb325fe9f8c9a5d00e122', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit09fb67115c1225dd8c791a62882d72d6', 'loadClassLoader'));
|
||||
|
||||
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
||||
if ($useStaticLoader) {
|
||||
require_once __DIR__ . '/autoload_static.php';
|
||||
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit2078d92f7b7bb325fe9f8c9a5d00e122::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit09fb67115c1225dd8c791a62882d72d6::getInitializer($loader));
|
||||
} else {
|
||||
$map = require __DIR__ . '/autoload_namespaces.php';
|
||||
foreach ($map as $namespace => $path) {
|
||||
@ -48,19 +48,19 @@ class ComposerAutoloaderInit2078d92f7b7bb325fe9f8c9a5d00e122
|
||||
$loader->register(true);
|
||||
|
||||
if ($useStaticLoader) {
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit2078d92f7b7bb325fe9f8c9a5d00e122::$files;
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit09fb67115c1225dd8c791a62882d72d6::$files;
|
||||
} else {
|
||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||
}
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequire2078d92f7b7bb325fe9f8c9a5d00e122($fileIdentifier, $file);
|
||||
composerRequire09fb67115c1225dd8c791a62882d72d6($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
}
|
||||
}
|
||||
|
||||
function composerRequire2078d92f7b7bb325fe9f8c9a5d00e122($fileIdentifier, $file)
|
||||
function composerRequire09fb67115c1225dd8c791a62882d72d6($fileIdentifier, $file)
|
||||
{
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
require $file;
|
||||
|
8
vendor/composer/autoload_static.php
vendored
8
vendor/composer/autoload_static.php
vendored
@ -4,7 +4,7 @@
|
||||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInit2078d92f7b7bb325fe9f8c9a5d00e122
|
||||
class ComposerStaticInit09fb67115c1225dd8c791a62882d72d6
|
||||
{
|
||||
public static $files = array (
|
||||
'841780ea2e1d6545ea3a253239d59c05' => __DIR__ . '/..' . '/qiniu/php-sdk/src/Qiniu/functions.php',
|
||||
@ -321,9 +321,9 @@ class ComposerStaticInit2078d92f7b7bb325fe9f8c9a5d00e122
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit2078d92f7b7bb325fe9f8c9a5d00e122::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit2078d92f7b7bb325fe9f8c9a5d00e122::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit2078d92f7b7bb325fe9f8c9a5d00e122::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit09fb67115c1225dd8c791a62882d72d6::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit09fb67115c1225dd8c791a62882d72d6::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit09fb67115c1225dd8c791a62882d72d6::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
12
vendor/composer/installed.json
vendored
12
vendor/composer/installed.json
vendored
@ -177,8 +177,8 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/options-resolver",
|
||||
"version": "v3.4.31",
|
||||
"version_normalized": "3.4.31.0",
|
||||
"version": "v3.4.32",
|
||||
"version_normalized": "3.4.32.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/options-resolver.git",
|
||||
@ -401,12 +401,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/zoujingli/ThinkLibrary.git",
|
||||
"reference": "a485ab5d1a04a87959e9d4402c1fa98290dcb3aa"
|
||||
"reference": "770c7466638da1910ccdd99aaf1b8747f7bf53ad"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/a485ab5d1a04a87959e9d4402c1fa98290dcb3aa",
|
||||
"reference": "a485ab5d1a04a87959e9d4402c1fa98290dcb3aa",
|
||||
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/770c7466638da1910ccdd99aaf1b8747f7bf53ad",
|
||||
"reference": "770c7466638da1910ccdd99aaf1b8747f7bf53ad",
|
||||
"shasum": "",
|
||||
"mirrors": [
|
||||
{
|
||||
@ -425,7 +425,7 @@
|
||||
"qiniu/php-sdk": "^7.2",
|
||||
"topthink/framework": "5.1.*"
|
||||
},
|
||||
"time": "2019-09-10T09:46:52+00:00",
|
||||
"time": "2019-10-08T03:10:52+00:00",
|
||||
"type": "library",
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
|
@ -30,9 +30,9 @@ class Csv
|
||||
public static function header($filename, array $headers)
|
||||
{
|
||||
header('Content-Type: application/octet-stream');
|
||||
header("Content-Disposition: attachment; filename=" . iconv('utf-8', 'gbk//TRANSLIT', $filename));
|
||||
header("Content-Disposition: attachment; filename=" . iconv('UTF-8', 'GB2312//IGNORE', $filename));
|
||||
$handle = fopen('php://output', 'w');
|
||||
foreach ($headers as $key => $value) $headers[$key] = iconv("utf-8", "gbk//TRANSLIT", $value);
|
||||
foreach ($headers as $key => $value) $headers[$key] = iconv("UTF-8", "GB2312//IGNORE", $value);
|
||||
fputcsv($handle, $headers);
|
||||
if (is_resource($handle)) fclose($handle);
|
||||
}
|
||||
@ -63,6 +63,6 @@ class Csv
|
||||
{
|
||||
list($temp, $attr) = [$data, explode('.', trim($rule, '.'))];
|
||||
while ($key = array_shift($attr)) $temp = isset($temp[$key]) ? $temp[$key] : $temp;
|
||||
return (is_string($temp) || is_numeric($temp)) ? @iconv('utf-8', 'gbk//TRANSLIT', "{$temp}") : '';
|
||||
return (is_string($temp) || is_numeric($temp)) ? @iconv('UTF-8', 'GB2312//IGNORE', "{$temp}") : '';
|
||||
}
|
||||
}
|
||||
|
@ -183,13 +183,13 @@ class Data
|
||||
/**
|
||||
* 文件大小显示转换
|
||||
* @param integer $size 文件大小
|
||||
* @param integer $dec
|
||||
* @param integer $deci 小数位数
|
||||
* @return string
|
||||
*/
|
||||
public static function toFileSize($size, $dec = 2)
|
||||
public static function toFileSize($size, $deci = 2)
|
||||
{
|
||||
list($pos, $map) = [0, ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB']];
|
||||
while ($size >= 1024 && $pos < 6) if (++$pos) $size /= 1024;
|
||||
return round($size, $dec) . ' ' . $map[$pos];
|
||||
return round($size, $deci) . ' ' . $map[$pos];
|
||||
}
|
||||
}
|
||||
|
@ -29,18 +29,13 @@ class Node
|
||||
* 忽略控制名的前缀
|
||||
* @var array
|
||||
*/
|
||||
private static $ignoreController = [
|
||||
'api.', 'wap.', 'web.',
|
||||
];
|
||||
private static $ignoreController = ['api.', 'wap.', 'web.'];
|
||||
|
||||
/**
|
||||
* 忽略控制的方法名
|
||||
* @var array
|
||||
*/
|
||||
private static $ignoreAction = [
|
||||
'_', 'redirect', 'assign', 'callback',
|
||||
'initialize', 'success', 'error', 'fetch',
|
||||
];
|
||||
private static $ignoreAction = ['_', 'redirect', 'assign', 'callback', 'initialize', 'success', 'error', 'fetch'];
|
||||
|
||||
/**
|
||||
* 获取标准访问节点
|
||||
|
Loading…
x
Reference in New Issue
Block a user