diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..938af1c --- /dev/null +++ b/.htaccess @@ -0,0 +1,4 @@ +RewriteEngine On +RewriteRule '^click\/(.*)$' /index.php?c=click&id=$1 [L] +RewriteRule '^api\/(.*)?(.*)$' /index.php?c=api&method=$1&$2 [L] +RewriteRule login /index.php?c=login [NC,L] \ No newline at end of file diff --git a/templates/admin/static/style.css b/templates/admin/static/style.css index f4b49fe..0f9a092 100644 --- a/templates/admin/static/style.css +++ b/templates/admin/static/style.css @@ -50,4 +50,14 @@ } .item i{ font-size: 1em; +} +/* msg弹窗提醒 */ +.msg{ + width:auto; + line-height: 16px; + position: fixed; + top:2em; + border: 1px #009933 solid; + border-radius: 3px; + display: none; } \ No newline at end of file diff --git a/templates/default/index.php b/templates/default/index.php index 9fc66b3..1454e42 100644 --- a/templates/default/index.php +++ b/templates/default/index.php @@ -115,7 +115,7 @@ //var_dump($link); ?> -