index.html 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport"
  6. content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  7. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  8. <link rel="stylesheet" href="/static/bootstrap-3.3.7/css/bootstrap.css">
  9. <script type="text/javascript" src="/static/jquery-2.2.4.min.js"></script>
  10. <script src="/static/swiper4.5/js/swiper.min.js"></script>
  11. <link rel="stylesheet" href="/repair/style.css">
  12. <link rel="stylesheet" href="/static/swiper4.5/css/swiper.min.css">
  13. <title>{$orgName}</title>
  14. </head>
  15. <body>
  16. <div class="container">
  17. <div class="header-box">{$orgName}管理系统 </div>
  18. <div class="swiper-box">
  19. <div class="swiper" id="swiper">
  20. <div class="swiper-wrapper">
  21. <div class="swiper-slide">
  22. <img src="/repair/img/banner.png">
  23. </div>
  24. </div>
  25. <div class="box-swiper-pagination" id="box-swiper-pagination"></div>
  26. </div>
  27. </div>
  28. <div class="phone-box">
  29. {if $orgPhone}
  30. <a href="tel:{$orgPhone}" style="text-decoration: none;color: #fff">
  31. <img src="/repair/img/callphone.png" alt="">
  32. <text>电话:{$orgPhone}</text>
  33. </a>
  34. {/if}
  35. </div>
  36. <div class="module-box">
  37. <div class="row">
  38. <div class="col-xs-4">
  39. <div class="module-info" onclick="goAdd(2)">
  40. <img src="/repair/img/baojie.png" alt="">
  41. <div class="name">保洁</div>
  42. </div>
  43. </div>
  44. <div class="col-xs-4">
  45. <div class="module-info" onclick="goAdd(1)">
  46. <img src="/repair/img/weixiu.png" alt="">
  47. <div class="name">维修</div>
  48. </div>
  49. </div>
  50. <div class="col-xs-4">
  51. <div class="module-info" onclick="goAdd(4)">
  52. <img src="/repair/img/yingji.png" alt="">
  53. <div class="name">安保</div>
  54. </div>
  55. </div>
  56. <div class="col-xs-4">
  57. <div class="module-info" onclick="goAdd(0)">
  58. <img src="/repair/img/tousu.png" alt="">
  59. <div class="name">投诉建议</div>
  60. </div>
  61. </div>
  62. <!-- <div class="col-xs-4">-->
  63. <!-- <div class="module-info" onclick="questionnaire()">-->
  64. <!-- <img src="/repair/img/manyidu.png" alt="">-->
  65. <!-- <div class="name">满意度评价</div>-->
  66. <!-- </div>-->
  67. <!-- </div>-->
  68. <div class="col-xs-4">
  69. <div class="module-info" onclick="goVideo()">
  70. <img src="/repair/img/weiketang.png" alt="">
  71. <div class="name">微课堂</div>
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. </body>
  78. </html>
  79. <script>
  80. new Swiper ('#swiper', {
  81. loop: true, // 循环模式选项
  82. observer:true,//修改swiper自己或子元素时,自动初始化swiper
  83. observeParents:true,//修改swiper的父元素时,自动初始化swiper
  84. autoplay: {
  85. delay: 6000,
  86. stopOnLastSlide: false,
  87. disableOnInteraction: false,
  88. },
  89. // 如果需要分页器
  90. pagination: {
  91. el: '#box-swiper-pagination',
  92. clickable: true,
  93. },
  94. });
  95. function goAdd(mode){
  96. window.location.href = "{:url('repair/add')}?mode="+mode;
  97. }
  98. function questionnaire(){
  99. window.location.href = "{:url('repair/questionnaire')}";
  100. }
  101. function goVideo(){
  102. window.location.href = "{:url('repair/video')}";
  103. }
  104. // function callPhone(){
  105. // window.location.href = 'tel:'
  106. // }
  107. </script>