摘要:
$(function () { var u = navigator.userAgent, app = navigator.appVersion; var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1; //g var 阅读全文
摘要:
网页可见区域宽:document.body.clientWidth 网页可见区域高:document.body.clientHeight 网页可见区域宽:document.body.offsetWidth (包括边线的宽) 网页可见区域高:document.body.offsetHeight (包括 阅读全文
摘要:
https://code.angularjs.org/ 阅读全文
摘要:
$window.location.reload();依赖注入$window 阅读全文
摘要:
转载的 阅读全文
摘要:
下面就是ngclass的用法: 1: ng-class="row.point >=0?'style1':'style2'" //point>0的时候执行style1,否则style2 2: ng-class="{true: 'style1', false: 'style2'}[isActive]" 阅读全文
摘要:
1.首先打开phpstorm,找到File》Settings》Build,Execution,Deployment》Deployment 2.点击+按钮增加服务器,随便命名就可以(英文),然后点击ok 3.之后会进来一个页面点击connection,然后把图片中显示的红框内照着设置 4.之后点击旁边 阅读全文