12345678 |
- <!--power by mazephp--><?php Maze::setInput("menu", "0") ?>
- <?php Maze::setInput("item", "business-item") ?>
- <?php Maze::setInput("top", "") ?>
- <?php $data['company/info.device_data_url']=Maze\Routing\Load::get('company/info.device_data_url') ?>
- <?php $data['company/info.device_data_html']=Maze\Routing\Load::get('company/info.device_data_html') ?>
- <?php $data['company/info.device_button_list']=Maze\Routing\Load::get('company/info.device_button_list') ?>
- <?php $data['company/info.park_menu']=Maze\Routing\Load::get('company/info.park_menu') ?>
- <!doctype html> <html> <head><?php echo Maze::view("inc/head") ?></head> <body> <div class="header" style="<?php echo Maze::input("header") ? "display:none;" : "" ?>"> <ul class="nav clearfix"> <li class="active"><a href="#" title=""><?php echo Maze::load("company/info.park_info#name") ?></a></li> </ul> <a href="<?php echo Maze::url("index?farm=" . Maze::input("farm")) ?>" class="back"></a> </div> <div class="container equip business" style="<?php echo Maze::input("header") ? (Maze::input("top") ? Maze::input("top") : "top:0;bottom:0") : Maze::input("top") ?>"> <div class="title" style="<?php echo Maze::input("header") ? (Maze::input("title") ? "" : "display:none;") : "" ?>">温室监控</div> <div id="playerShow" style="display:none;"><div style="height:250px;" id="player"><?php echo Maze::load("video/show.init", "mobile") ?></div></div> <div id="device_data" data-url="<?php if(is_array($data['company/info.device_data_url'])): ?><?php $t=count($data['company/info.device_data_url'])-1 ?><?php $i=0 ?><?php foreach($data['company/info.device_data_url'] as $k => $v): ?><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['company/info.device_data_url'] ?><?php endif; ?>" style="<?php echo Maze::input("header") ? "margin-top:20px" : "" ?>"> <div class="business-data business-list clearfix" style="z-index:99999"><?php if(is_array($data['company/info.device_data_html'])): ?><?php $t=count($data['company/info.device_data_html'])-1 ?><?php $i=0 ?><?php foreach($data['company/info.device_data_html'] as $k => $v): ?><?php echo $v ?><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['company/info.device_data_html'] ?><?php endif; ?></div> <div class="equip-info business-list clearfix" id="J_equipInfo" style="z-index:99999"><?php echo $data['company/info.device_button_list']['info'] ?></div> </div> </div> <div class="footer clearfix image" style="<?php echo Maze::input("header") ? "display:none;" : "" ?>"> <?php if(is_array($data['company/info.park_menu'])): ?><?php $t=count($data['company/info.park_menu'])-1 ?><?php $i=0 ?><?php foreach($data['company/info.park_menu'] as $k => $v): ?><a href="<?php echo $v['link'] ?><?php echo Maze::input("header") ? "&header=false" : "" ?>" class="item <?php echo $v['class'] ?>"><?php echo $v['name'] ?></a><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['company/info.park_menu'] ?><?php endif; ?> </div> <div class="show-box" id="J_showBox"> <div class="mark"></div> <div class="box"> <div class="title" id="J_title">确认关闭设备</div> <div class="btn sure box_sure" id="J_sure">确认</div> <div class="btn cancel box_cancel" id="J_cancel">取消</div> </div> </div> <div id="video"></div> <script> var basePath = 'http://www.xinnongbaohe.com/assets/pc/lib/'; var retcode = '0'; var des = '服务器异常'; </script> <script type="text/javascript" src="http://www.xinnongbaohe.com/assets/mobile/js/device.js"></script> <script type="text/javascript" src="http://www.xinnongbaohe.com/assets/mobile/build/lib/jquery-1.11.3.min.js"></script> <script type="text/javascript"> var device = { '#J_equipInfo .item' : ['.name', '.state'] }; Maze_Device.Init(device); </script> </body> </html>
|