参考网址http://www.php.cn/php-weizijiaocheng-405981.html
1.\application\index\view 中 新建两个文件夹放置手机端网页跟pc端网页
2.\application\config.php 中 ‘view_path’设置为常量 VIEW_PATH
3.找到入口文件\thinkphp\start.php 中插入以下代码
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: caiyt <1067