CSS 超出部分显示省略号
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
/\D+/u
*正册表达式   /\d+/ 匹配纯数字 /^[a-zA-Z0-9]+/u匹配大小写字母和数字
*正则表达式   /\D+/u 匹配非数字   /[^x00-xffA-Z]+/u 匹配纯中文字符/[^x00-xff]+/u  //匹配双字节
/[\x{4e00}-\x{9fa5}]+/u  //仅仅匹配UTF8的汉字1.开启子域名及部署 /app/config.php
 // 域名部署
    'url_domain_deploy'      => true,
    // 域名根,如thinkphp.cn
    'url_domain_root'        => 'kinmor.com',
2.添加路由规则: /simplewind/cmf/behavior/InitHookBehavior.php
Route::domain('m','mobile');

配置成功:将m.kinmor.com 指向 mobile模块
<?php
echo date('Y-m-01', strtotime('+1 month'));
echo "<br/>";
echo date('Y-m-t', strtotime('+1 month'));
echo "<br/>";
?>
在body后添加
<body  oncontextmenu="return false" ondragstart="return false" onselectstart ="return false"  onselect="document.selection.empty()" oncopy="document.selection.empty()" onbeforecopy="return false"  onmouseup="document.selection.empty()"