[更新]修改样式

This commit is contained in:
Anyon 2019-10-08 12:36:32 +08:00
parent cdce03cee5
commit 23f5eb6466
8 changed files with 27 additions and 32 deletions

View File

@ -14,7 +14,7 @@
{if auth('config')} {if auth('config')}
<div class="think-box-shadow margin-bottom-15"> <div class="think-box-shadow margin-bottom-15">
<span class="color-green font-w7">系统参数配置:</span> <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> </div>
{/if} {/if}

2
vendor/autoload.php vendored
View File

@ -4,4 +4,4 @@
require_once __DIR__ . '/composer/autoload_real.php'; require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit2078d92f7b7bb325fe9f8c9a5d00e122::getLoader(); return ComposerAutoloaderInit09fb67115c1225dd8c791a62882d72d6::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer // autoload_real.php @generated by Composer
class ComposerAutoloaderInit2078d92f7b7bb325fe9f8c9a5d00e122 class ComposerAutoloaderInit09fb67115c1225dd8c791a62882d72d6
{ {
private static $loader; private static $loader;
@ -19,15 +19,15 @@ class ComposerAutoloaderInit2078d92f7b7bb325fe9f8c9a5d00e122
return self::$loader; 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(); 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()); $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) { if ($useStaticLoader) {
require_once __DIR__ . '/autoload_static.php'; require_once __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit2078d92f7b7bb325fe9f8c9a5d00e122::getInitializer($loader)); call_user_func(\Composer\Autoload\ComposerStaticInit09fb67115c1225dd8c791a62882d72d6::getInitializer($loader));
} else { } else {
$map = require __DIR__ . '/autoload_namespaces.php'; $map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) { foreach ($map as $namespace => $path) {
@ -48,19 +48,19 @@ class ComposerAutoloaderInit2078d92f7b7bb325fe9f8c9a5d00e122
$loader->register(true); $loader->register(true);
if ($useStaticLoader) { if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInit2078d92f7b7bb325fe9f8c9a5d00e122::$files; $includeFiles = Composer\Autoload\ComposerStaticInit09fb67115c1225dd8c791a62882d72d6::$files;
} else { } else {
$includeFiles = require __DIR__ . '/autoload_files.php'; $includeFiles = require __DIR__ . '/autoload_files.php';
} }
foreach ($includeFiles as $fileIdentifier => $file) { foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire2078d92f7b7bb325fe9f8c9a5d00e122($fileIdentifier, $file); composerRequire09fb67115c1225dd8c791a62882d72d6($fileIdentifier, $file);
} }
return $loader; return $loader;
} }
} }
function composerRequire2078d92f7b7bb325fe9f8c9a5d00e122($fileIdentifier, $file) function composerRequire09fb67115c1225dd8c791a62882d72d6($fileIdentifier, $file)
{ {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file; require $file;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload; namespace Composer\Autoload;
class ComposerStaticInit2078d92f7b7bb325fe9f8c9a5d00e122 class ComposerStaticInit09fb67115c1225dd8c791a62882d72d6
{ {
public static $files = array ( public static $files = array (
'841780ea2e1d6545ea3a253239d59c05' => __DIR__ . '/..' . '/qiniu/php-sdk/src/Qiniu/functions.php', '841780ea2e1d6545ea3a253239d59c05' => __DIR__ . '/..' . '/qiniu/php-sdk/src/Qiniu/functions.php',
@ -321,9 +321,9 @@ class ComposerStaticInit2078d92f7b7bb325fe9f8c9a5d00e122
public static function getInitializer(ClassLoader $loader) public static function getInitializer(ClassLoader $loader)
{ {
return \Closure::bind(function () use ($loader) { return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit2078d92f7b7bb325fe9f8c9a5d00e122::$prefixLengthsPsr4; $loader->prefixLengthsPsr4 = ComposerStaticInit09fb67115c1225dd8c791a62882d72d6::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit2078d92f7b7bb325fe9f8c9a5d00e122::$prefixDirsPsr4; $loader->prefixDirsPsr4 = ComposerStaticInit09fb67115c1225dd8c791a62882d72d6::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit2078d92f7b7bb325fe9f8c9a5d00e122::$classMap; $loader->classMap = ComposerStaticInit09fb67115c1225dd8c791a62882d72d6::$classMap;
}, null, ClassLoader::class); }, null, ClassLoader::class);
} }

View File

@ -177,8 +177,8 @@
}, },
{ {
"name": "symfony/options-resolver", "name": "symfony/options-resolver",
"version": "v3.4.31", "version": "v3.4.32",
"version_normalized": "3.4.31.0", "version_normalized": "3.4.32.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/options-resolver.git", "url": "https://github.com/symfony/options-resolver.git",
@ -401,12 +401,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git", "url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "a485ab5d1a04a87959e9d4402c1fa98290dcb3aa" "reference": "770c7466638da1910ccdd99aaf1b8747f7bf53ad"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/a485ab5d1a04a87959e9d4402c1fa98290dcb3aa", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/770c7466638da1910ccdd99aaf1b8747f7bf53ad",
"reference": "a485ab5d1a04a87959e9d4402c1fa98290dcb3aa", "reference": "770c7466638da1910ccdd99aaf1b8747f7bf53ad",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -425,7 +425,7 @@
"qiniu/php-sdk": "^7.2", "qiniu/php-sdk": "^7.2",
"topthink/framework": "5.1.*" "topthink/framework": "5.1.*"
}, },
"time": "2019-09-10T09:46:52+00:00", "time": "2019-10-08T03:10:52+00:00",
"type": "library", "type": "library",
"installation-source": "dist", "installation-source": "dist",
"autoload": { "autoload": {

View File

@ -30,9 +30,9 @@ class Csv
public static function header($filename, array $headers) public static function header($filename, array $headers)
{ {
header('Content-Type: application/octet-stream'); 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'); $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); fputcsv($handle, $headers);
if (is_resource($handle)) fclose($handle); if (is_resource($handle)) fclose($handle);
} }
@ -63,6 +63,6 @@ class Csv
{ {
list($temp, $attr) = [$data, explode('.', trim($rule, '.'))]; list($temp, $attr) = [$data, explode('.', trim($rule, '.'))];
while ($key = array_shift($attr)) $temp = isset($temp[$key]) ? $temp[$key] : $temp; 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}") : '';
} }
} }

View File

@ -183,13 +183,13 @@ class Data
/** /**
* 文件大小显示转换 * 文件大小显示转换
* @param integer $size 文件大小 * @param integer $size 文件大小
* @param integer $dec * @param integer $deci 小数位数
* @return string * @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']]; list($pos, $map) = [0, ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB']];
while ($size >= 1024 && $pos < 6) if (++$pos) $size /= 1024; while ($size >= 1024 && $pos < 6) if (++$pos) $size /= 1024;
return round($size, $dec) . ' ' . $map[$pos]; return round($size, $deci) . ' ' . $map[$pos];
} }
} }

View File

@ -29,18 +29,13 @@ class Node
* 忽略控制名的前缀 * 忽略控制名的前缀
* @var array * @var array
*/ */
private static $ignoreController = [ private static $ignoreController = ['api.', 'wap.', 'web.'];
'api.', 'wap.', 'web.',
];
/** /**
* 忽略控制的方法名 * 忽略控制的方法名
* @var array * @var array
*/ */
private static $ignoreAction = [ private static $ignoreAction = ['_', 'redirect', 'assign', 'callback', 'initialize', 'success', 'error', 'fetch'];
'_', 'redirect', 'assign', 'callback',
'initialize', 'success', 'error', 'fetch',
];
/** /**
* 获取标准访问节点 * 获取标准访问节点