12345 |
- <!--power by mazephp--><?php $data['company/info.service']=Maze\Routing\Load::get('company/info.service') ?>
- <?php $data['company/info.park']=Maze\Routing\Load::get('company/info.park') ?>
- <?php $data['company/info.notice']=Maze\Routing\Load::get('company/info.notice') ?>
- <?php $data['main/data.mobile_menu']=Maze\Routing\Load::get('main/data.mobile_menu') ?>
- <!doctype html> <html> <head href="<?php echo Maze::url("index") ?>"><?php echo Maze::view("inc/head") ?></head> <body> <div class="header" style="<?php echo Maze::input("header") ? "display:none;" : "" ?>"> <ul class="nav clearfix"> <?php if(is_array($data['main/data.mobile_menu'])): ?><?php $t=count($data['main/data.mobile_menu'])-1 ?><?php $i=0 ?><?php foreach($data['main/data.mobile_menu'] as $k => $v): ?><li class="<?php echo Maze::last("no-bg", $i, $t) ?> <?php echo Maze::last(Maze::input("nav"), $i, $t) ?>"><a href="<?php echo $v['link'] ? $v['link'] : "javascript:;" ?>" title="" target="<?php echo $v['target'] ?>"><?php echo $v['name'] ?></a></li><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['main/data.mobile_menu'] ?><?php endif; ?> </ul> </div> <div class="container index" style="<?php echo Maze::input("header") ? (Maze::input("top") ? Maze::input("top") : "top:0;bottom:0") : Maze::input("top") ?>"> <h3 class="title" style="<?php echo Maze::input("header") ? "display:none;" : "" ?>">设备列表</h3> <?php if(is_array($data['company/info.service'])): ?><?php $t=count($data['company/info.service'])-1 ?><?php $i=0 ?><?php foreach($data['company/info.service'] as $k => $v): ?><div class="service-item index-<?php echo $v['key'] ?>" check="<?php echo Maze::load("company/info.check") ?>" style="display:none;" href="<?php echo $v['link'] ?>"><?php echo $v['name'] ?></div><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['company/info.service'] ?><?php endif; ?> <div class="device-list clearfix"> <?php if(is_array($data['company/info.park'])): ?><?php $t=count($data['company/info.park'])-1 ?><?php $i=0 ?><?php foreach($data['company/info.park'] as $k => $v): ?><a href="<?php echo Maze::load("company/info.park_url", $v) ?>" class="device-item <?php echo $v['type'] == 4 ? "index-two" : "index-three" ?>"><?php echo $v['name'] ?></a><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['company/info.park'] ?><?php endif; ?> </div> <a href="<?php echo Maze::url("question") ?>" class="index-question">常见问题</a> </div> <div class="footer clearfix" style="<?php echo Maze::input("header") ? "display:none;" : "" ?>"> <a href="<?php echo Maze::url("select") ?>">园区切换</a> <a href="<?php echo Maze::url("news") ?>">消息提示</a> <a href="<?php echo Maze::url("basic") ?>">园区概况</a> <a href="<?php echo Maze::url("index") ?>" class="active" style="<?php echo Maze::load("company/info.notice") ? "" : "border:0px;height:auto;" ?>">设备控制</a> </div> <script type="text/javascript" src="http://www.xinnongbaohe.com/assets/mobile/build/lib/zepto.min.js"></script> <script type="text/javascript"> </script> </body> </html>
|