a4ca59f428261461b9398650a15f9facfab27388.svn-base 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <template>
  2. <div id="userLayout" :class="['user-layout-wrapper', device]">
  3. <div class="container">
  4. <div class="top">
  5. <div class="header">
  6. <a href="/">
  7. <img src="~@/assets/logo.png" class="logo" alt="logo">
  8. <span class="title">德州市河湖岸线监管</span>
  9. <!-- <span class="title">德州市河湖岸线数字化监管平台</span>-->
  10. </a>
  11. </div>
  12. <div class="desc">
  13. </div>
  14. </div>
  15. <route-view></route-view>
  16. <div class="footer">
  17. <!--<div class="links">
  18. <a href="http://doc.jeecg.com" target="_blank">帮助</a>
  19. <a href="https://github.com/zhangdaiscott/jeecg-boot" target="_blank">隐私</a>
  20. <a href="https://github.com/zhangdaiscott/jeecg-boot/blob/master/LICENSE" target="_blank">条款</a>
  21. </div>-->
  22. <div class="copyright">
  23. Copyright &copy; 2021 <a href="http://www.sdjintian.com" target="_blank">金田产业发展(山东)集团有限公司</a> 出品
  24. </div>
  25. </div>
  26. </div>
  27. </div>
  28. </template>
  29. <script>
  30. import RouteView from "@/components/layouts/RouteView"
  31. import { mixinDevice } from '@/utils/mixin.js'
  32. export default {
  33. name: "UserLayout",
  34. components: { RouteView },
  35. mixins: [mixinDevice],
  36. data () {
  37. return {}
  38. },
  39. mounted () {
  40. document.body.classList.add('userLayout')
  41. },
  42. beforeDestroy () {
  43. document.body.classList.remove('userLayout')
  44. },
  45. }
  46. </script>
  47. <style lang="less" scoped>
  48. #userLayout.user-layout-wrapper {
  49. height: 100%;
  50. &.mobile {
  51. .container {
  52. .main {
  53. max-width: 368px;
  54. width: 98%;
  55. }
  56. }
  57. }
  58. .container {
  59. width: 100%;
  60. min-height: 100%;
  61. background: #f0f2f5 url(~@/assets/bg.jpeg) no-repeat 50%;
  62. background-size:100% 100%;
  63. padding: 110px 0 144px;
  64. position: relative;
  65. a {
  66. text-decoration: none;
  67. }
  68. .top {
  69. text-align: center;
  70. .header {
  71. height: 44px;
  72. line-height: 44px;
  73. .badge {
  74. position: absolute;
  75. display: inline-block;
  76. line-height: 1;
  77. vertical-align: middle;
  78. margin-left: -12px;
  79. margin-top: -10px;
  80. opacity: 0.8;
  81. }
  82. .logo {
  83. height: 44px;
  84. vertical-align: top;
  85. margin-right: 16px;
  86. border-style: none;
  87. }
  88. .title {
  89. font-size: 33px;
  90. color: rgba(0, 0, 0, .85);
  91. font-family: "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  92. font-weight: 600;
  93. position: relative;
  94. top: 2px;
  95. }
  96. }
  97. .desc {
  98. font-size: 14px;
  99. color: rgba(0, 0, 0, 0.45);
  100. margin-top: 12px;
  101. margin-bottom: 40px;
  102. }
  103. }
  104. .main {
  105. min-width: 260px;
  106. width: 368px;
  107. margin: 0 auto;
  108. }
  109. .footer {
  110. position: absolute;
  111. width: 100%;
  112. bottom: 0;
  113. padding: 0 16px;
  114. margin: 48px 0 24px;
  115. text-align: center;
  116. .links {
  117. margin-bottom: 8px;
  118. font-size: 14px;
  119. a {
  120. color: rgba(0, 0, 0, 0.45);
  121. transition: all 0.3s;
  122. &:not(:last-child) {
  123. margin-right: 40px;
  124. }
  125. }
  126. }
  127. .copyright {
  128. color: rgba(0, 0, 0, 0.45);
  129. font-size: 14px;
  130. }
  131. }
  132. }
  133. }
  134. </style>