| | |
| | | </div>
|
| | | <div data-role="content">
|
| | | <div class="home-search-input-container">
|
| | | <input type="text" data-type="search" name="search" id="searchInput" placeholder="搜索机房名称关键字..." autofocus="autofocus">
|
| | | <input type="text" data-type="search" name="search" id="searchInput" placeholder="请输入机房名称关键字..." autofocus="autofocus">
|
| | | </div>
|
| | | <div id="battList"></div>
|
| | | </div>
|
| | |
| | | setTimeout(function() {
|
| | | findHome(); // 查询所有的机房
|
| | | }, 10);
|
| | | |
| | | //固定块
|
| | | layui.util.fixbar({
|
| | | css: {right: 10, bottom: 10}
|
| | | ,showHeight: 100
|
| | | ,bgcolor: '#393D49'
|
| | | ,click: function(type){
|
| | | if(type === 'bar1'){
|
| | | layer.msg('icon是可以随便换的')
|
| | | } else if(type === 'bar2') {
|
| | | layer.msg('两个bar都可以设定是否开启')
|
| | | }
|
| | | }
|
| | | });
|
| | | });
|
| | |
|
| | | // 点击机房事件
|