tp的模板引擎也下載了 就是個函數不能用 因為什么 新手求解答{:url('Index/index')}
url()是topthink\framework自帶的,你要自己寫一個
http://www.wtbis.cn/doc/webman/view.html