function __construct($scriptPath = "") { parent::__construct($scriptPath); //这里默认设置一些数据 //包括 Header Title Css CharSet //其他一些数据等... }