layout.htm 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>橘力定制</title>
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <meta name="renderer" content="webkit">
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  9. <link rel="stylesheet" href="/www/lib/bootstrap/css/bootstrap.min.css" />
  10. <link rel="stylesheet" href="/www/lib/swiper/swiper.min.css" />
  11. <link rel="stylesheet" href="/www/css/style.css" />
  12. <script type="text/javascript" src="/www/js/jquery.min.js"></script>
  13. <script type="text/javascript" src="/www/js/jquery.form.js"></script>
  14. <script type="text/javascript" src="/www/lib/bootstrap/js/bootstrap.min.js"></script>
  15. <script type="text/javascript" src="/www/lib/swiper/swiper.jquery.min.js"></script>
  16. <body>
  17. <header class="mainhead">
  18. <div class="container clearfix">
  19. <h1 class="logo pull-left">
  20. <a href="/"><img src="/www/image/logo2.png" /></a>
  21. </h1>
  22. <div class="pull-right">
  23. <nav class="nav">
  24. <ul class="list-unstyled" id="top_menu">
  25. <li><a href="/">首页</a></li>
  26. <li><a href="/template">模板大全</a></li>
  27. <li>
  28. <a href="/shop/cart">
  29. 购物车
  30. ##if(exist("cart_number") && cart_number!=0){
  31. (${cart_number!})
  32. ##}
  33. </a>
  34. </li>
  35. <li>
  36. <a href="http://www.ubtob.com" class="item navbar-link" data-v-c2656ca8="">
  37. <span class="navbar-slogan" data-v-c2656ca8="">进入优软云</span>
  38. </a>
  39. </li>
  40. </ul>
  41. </nav>
  42. <div class="user-control">
  43. ##if(exist("user")){
  44. <a href="/user">
  45. <img src="${user.img_url!}" class="img-circle user-head" />
  46. <span class="user-name">${user.name!}</span>
  47. </a>
  48. <a href="/layout" class="layout">退出</a>
  49. ##}else{
  50. <a href="/login" class="btn btn-default">登陆</a>
  51. <a href="/login" class="btn btn-info register">注册</a>
  52. ##}
  53. </div>
  54. </div>
  55. </div>
  56. </header>
  57. ${layoutContent}
  58. <footer>
  59. <div class="container">
  60. <div class="footer-nav">
  61. <div class="col-sm-3">
  62. <h4>橘力定制</h4>
  63. <p><a href="/article?id=7" target="_blank">公司简介</a></p>
  64. <p><a href="/article?id=1" target="_blank">关于我们</a></p>
  65. <p><a href="/article?id=9" target="_blank">合作伙伴</a></p>
  66. </div>
  67. <div class="col-sm-3">
  68. <h4>设计制作帮助</h4>
  69. <p><a href="/article?id=4" target="_blank">新手指南</a></p>
  70. <p><a href="/article?id=5" target="_blank">帮助中心</a></p>
  71. <p><a href="/article?id=6" target="_blank">制作教程</a></p>
  72. </div>
  73. <div class="col-sm-3">
  74. <h4>企业服务</h4>
  75. <p><a href="/article?id=3" target="_blank">服务协议</a></p>
  76. <p><a href="/article?id=10" target="_blank">法律条款</a></p>
  77. </div>
  78. <div class="col-sm-3">
  79. <h4>联系我们</h4>
  80. <p><a href="/article?id=8" target="_blank">联系我们</a></p>
  81. <p><a href="/article?id=2" target="_blank">人才招聘</a></p>
  82. </div>
  83. <div style="clear: both;"></div>
  84. </div>
  85. <div style="margin-top: 25px;">
  86. <p class="text-center copyright" style="margin-bottom: 5px;">Copyright © 2017 中富集团版权所有</p>
  87. <p class="text-center">TEL:15136534654545</p>
  88. </div>
  89. </div>
  90. </footer>
  91. <div class="side-box">
  92. <div class="side-list">
  93. <div class="side-item index">
  94. <a href="/"></a>
  95. </div>
  96. <div class="side-item cart">
  97. <a href="/shop/cart">
  98. ##if(exist("cart_number") && cart_number!=0){
  99. <span class="tips">${cart_number!}</span>
  100. ##}
  101. </a>
  102. </div>
  103. <div class="side-item kefu">
  104. <a href="http://wpa.qq.com/msgrd?v=3&uin=2511251392&site=qq&menu=yes" target="_blank"></a>
  105. </div>
  106. </div>
  107. </div>
  108. <script>
  109. $(document).ready(function(){
  110. $("#top_menu").find("li").removeClass("active");
  111. $("#top_menu").find("a").each(function(){
  112. if($(this).attr("href")=="${url!}"){
  113. $(this).parent().addClass("active");
  114. }
  115. });
  116. });
  117. </script>
  118. </body>
  119. </html>