正则表达式处理地址栏URL

1
new RegExp("login$").test(location.href)

CSS布局策略(100%)

1
2
3
4
5
6
7
8
9
<html style="height:100%;">
<body style="height:100%;">
<div class="container" style="height:100%;">
<div class="row" style="height:100%;">

</div>
</div>
</body>
</html>