123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport"
- content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <link rel="stylesheet" href="/static/bootstrap-3.3.7/css/bootstrap.css">
- <script type="text/javascript" src="/static/jquery-2.2.4.min.js"></script>
- <script src="/static/swiper4.5/js/swiper.min.js"></script>
- <link rel="stylesheet" href="/repair/style.css">
- <link rel="stylesheet" href="/static/swiper4.5/css/swiper.min.css">
- <title>{$orgName}</title>
- </head>
- <body>
- <div class="container">
- <div class="header-box">{$orgName}管理系统 </div>
- <div class="swiper-box">
- <div class="swiper" id="swiper">
- <div class="swiper-wrapper">
- {volist name="banners" id="v"}
- <div class="swiper-slide">
- <img src="{$v.path}">
- </div>
- {/volist}
- </div>
- <div class="box-swiper-pagination" id="box-swiper-pagination"></div>
- </div>
- </div>
- <div class="phone-box">
- {if $orgPhone}
- <a href="tel:{$orgPhone}" style="text-decoration: none;color: #fff">
- <img src="/repair/img/callphone.png" alt="">
- <text>电话:{$orgPhone}</text>
- </a>
- {/if}
- </div>
- {if $isOff == 1}
- <div class="module-box">
- <div class="row">
- <div class="col-xs-4">
- <div class="module-info" onclick="goAdd(2)">
- <img src="/repair/img/baojie2.png" alt="">
- <div class="name">保洁</div>
- </div>
- </div>
- <div class="col-xs-4">
- <div class="module-info" onclick="goAdd(1)">
- <img src="/repair/img/weixiu2.png" alt="">
- <div class="name">维修</div>
- </div>
- </div>
- <div class="col-xs-4">
- <div class="module-info" onclick="goAdd(4)">
- <img src="/repair/img/yingji2.png" alt="">
- <div class="name">应急</div>
- </div>
- </div>
- <div class="col-xs-4">
- <div class="module-info" onclick="goAdd(0)">
- <img src="/repair/img/tousu2.png" alt="">
- <div class="name">投诉建议</div>
- </div>
- </div>
- <!-- <div class="col-xs-4">-->
- <!-- <div class="module-info" onclick="questionnaire()">-->
- <!-- <img src="/repair/img/manyidu.png" alt="">-->
- <!-- <div class="name">满意度评价</div>-->
- <!-- </div>-->
- <!-- </div>-->
- <div class="col-xs-4">
- <div class="module-info" onclick="goVideo()">
- <img src="/repair/img/weiketang2.png" alt="">
- <div class="name">微课堂</div>
- </div>
- </div>
- </div>
- </div>
- {else /}
- <div style="width: 100%;text-align: center;margin-top: 50px">此功能暂未开放</div>
- {/if}
- </div>
- </body>
- </html>
- <script>
- new Swiper ('#swiper', {
- loop: true, // 循环模式选项
- observer:true,//修改swiper自己或子元素时,自动初始化swiper
- observeParents:true,//修改swiper的父元素时,自动初始化swiper
- autoplay: {
- delay: 6000,
- stopOnLastSlide: false,
- disableOnInteraction: false,
- },
- // 如果需要分页器
- pagination: {
- el: '#box-swiper-pagination',
- clickable: true,
- },
- });
- function goAdd(mode){
- window.location.href = "{:url('repair/add')}?mode="+mode;
- }
- function questionnaire(){
- window.location.href = "{:url('repair/questionnaire')}";
- }
- function goVideo(){
- window.location.href = "{:url('repair/video')}";
- }
- // function callPhone(){
- // window.location.href = 'tel:'
- // }
- </script>
|