setCompileDir($compileDir);
$smarty->setTemplateDir(dirname(__DIR__) . '/resources/views/venix');
$smarty->assign('config', ['appName' => 'Venix Test', 'jump_delay' => 1000]);
$smarty->assign('cdn', '');
$smarty->assign('user', (object) ['user_name' => '演示用户']);
$smarty->assign('admin_can_manage', false);
$smarty->assign('ticket_navigation_enabled', true);
$smarty->assign('user_iso_enabled', false);
$preview = '用户页面预览
此处仅使用合成数据,公告打开前不请求公告接口。
'
. str_repeat('', 8);
$accountHtml = $smarty->fetch('string:{include file="user/layout_header.tpl" vu_title="账户设置" vu_active="edit"}')
. $preview . $smarty->fetch('string:{include file="user/layout_footer.tpl"}{include file="user/layout_scripts.tpl"}