ThinkPHP? ?? ?? PHP ??????? ?? ?? ?? ?? ????? ? ?????. ???? ? ?????? ???? ??? ???? ? ??? ? ????. ??? ThinkPHP? ??? ? CSS ??? ?? ????? ??? ?? ??? ????. ??? ThinkPHP5?? ?? ????? ?? CSS ??? ??? ??? ? ?????
1. ?? ???? ?? ?? ??? ?????.
ThinkPHP5? ?? ?? config.php?? ?? ??? ?? ? ????.
'view_replace_str'?=>?[ ????'__PUBLIC__'=>'/public', ????'__STATIC__'=>'/static', ????'__ROOT__'?=>?'', ],
view_replace_str? ?? ???? ??? ?????? ?? ?? ??? ?????. ?? . ? ? __PUBLIC__? CSS, JS ?? ?? ??? ??? ??? ? ?? ?? ?? ????? ?? ????? ?? ??? ?????. __STATIC__? ?? ?? ?? ????? ??? ? ??? ROOT? ???? ?? ??? ?????.
?? ?? ??? ??? ? ??? ?? ??? ??? ?? ??? ???? ?? ??? ? ????.
<link rel="stylesheet" type="text/css" href="__STATIC__/css/style.css">
2. ?????? ?? ?? ??? ?????.
?????? ??? ??? ?? ????. ?? ?? ??, ???? ?? ??? ????? ??? ???? ??? ???? ????. ??? ??? ????.
public?function?_initialize()?{ ????parent::_initialize(); ????$this->assign('public',?'/public'); ????$this->assign('custom',?'/custom');?//?自定義目錄 }
? ?? ?? PUBLIC ? CUSTOM? ??? ???? ?? ??? ???? ?????. ?????? ??. ????? ?? ??? ??? ? ?? ??? ??? ? ????. ?:
<link rel="stylesheet" type="text/css" href="{$public}/css/bootstrap.css"> <link rel="stylesheet" type="text/css" href="{$custom}/css/style.css">
?? ?? ?????? ?? ?? ?? ?? ??? ???? ?? ?? ? ?????? ??? ??? ? ????.
3. ?? ??? ?? ??? ?????
?? ??? ?????? ??? ???? ? ??? ??? ???? ?? ??? ?? ??? ??? ?? ????. ???? ??? ????? ThinkPHP? ???? ??() ???? ???? ?? ??? ???? ????. ?:
<link rel="stylesheet" type="text/css" href="{:asset('css/style.css')}">
??? ???? ??? ??? ??? ?? ?? ?? ?? ??? ???? ?????. ?? ? ??? ????? ???? ????? ?? ??? ??? ?? ???? ?????.
??
?? ThinkPHP5? ??? ????? ?? CSS ??? ???? ?????. ?? ??, ???? ?? ?? ????? ?? ??? ???? ?? ??? ??? ?? ???? ??? ? ????.
? ??? ThinkPHP5? ??? ????? ?? CSS ??? ???? ??? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)