1.在simplewindcmfcommon.php 里找到“获取当前主题名”添加
if(cmf_is_mobile()){
$theme = config('cmf_mobile_default_theme');
}else{
$theme = config('cmf_default_theme');
}
2. appconfig.php 里添加
'cmf_mobile_theme_path' => 'public/themes/', //(public视情况而定加)
'cmf_mobile_default_theme' => 'mobile', //(mobile为手机版文件名)
-------------------------------------------------自己项目--------------------------------------------------------------------------------
--------------------------------------模板开发之列表分页-------------------------------------------------