index.vue 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. <template>
  2. <page-size-limit>
  3. <div class="big-view-t1" v-if="showBool">
  4. <div
  5. class="bggif"
  6. :style="{
  7. background: `url('${
  8. [
  9. 'https://zfire-train.oss-cn-guangzhou.aliyuncs.com/train/pic/166997089127898d52ae7-87a5-49ca-b25b-ee1fe4f735ba.gif',
  10. 'https://fw.greeapps.com/zfdapi/img/get?key=uploads/20230417/860f5e3c02404eb4b638a92edcec47c9.gif',
  11. 'https://fw.greeapps.com/zfdapi/img/get?key=uploads/20230417/d30d030ca19c0cf0cb460e03acee5d8b.gif',
  12. 'https://fw.greeapps.com/zfdapi/img/get?key=uploads/20230417/16c6e3dad13c5ffe2725c42bd5e42183.gif',
  13. 'https://fw.greeapps.com/zfdapi/img/get?key=uploads/20230417/f6dfd70df6401871a35c255f38d5a862.gif'
  14. ][dayIndex]
  15. }')`
  16. }"
  17. />
  18. <zj-page-container>
  19. <div class="head-size"><head-view /></div>
  20. <zj-page-fill>
  21. <dataView1 />
  22. </zj-page-fill>
  23. <div
  24. @click="huishouye"
  25. :style="`position: fixed;right: 20px;bottom: 100px;background-image: url(${fanhuizhuye});background-size: 100%;width:30px;height: 30px;z-index: 9999;`"
  26. ></div>
  27. <div
  28. @click="shuxinyemian"
  29. :style="`position: fixed;right: 20px;bottom: 60px;background-image: url(${shuaxin});background-size: 100%;width:30px;height: 30px;z-index: 9999;`"
  30. ></div>
  31. <div
  32. :style="`position: fixed;right: 20px;bottom: 20px;background-image: url(${quanpin});background-size: 100%;width:30px;height: 30px;z-index: 9999;display: flex;justify-content: center;align-items: center;`"
  33. >
  34. <screenfull id="screenfull" :className="'hahahdkdjshakdhssk'" />
  35. </div>
  36. </zj-page-container>
  37. </div>
  38. </page-size-limit>
  39. </template>
  40. <script>
  41. import Screenfull from '@/components/Screenfull'
  42. import pageSizeLimit from '@/components/page-size-limit.vue'
  43. import headView from '@/components/head.vue'
  44. import { delayPerform } from 'js-perform-lock'
  45. import quanpin from '@/assets/全屏@2x.png'
  46. import shuaxin from '@/assets/刷新@2x.png'
  47. import fanhuizhuye from '@/assets/fanhuizhuye.png'
  48. var d
  49. import dataView1 from './dataView1/index.vue'
  50. export default {
  51. components: {
  52. headView,
  53. dataView1,
  54. pageSizeLimit,
  55. Screenfull
  56. },
  57. data() {
  58. return {
  59. quanpin,
  60. shuaxin,
  61. fanhuizhuye,
  62. dayIndex: (new Date().getDate() - 1) % 5,
  63. showBool: true
  64. }
  65. },
  66. mounted() {
  67. d = new delayPerform(250).refactor((/**可接收参数**/) => {
  68. this.re()
  69. })
  70. window.addEventListener('resize', d)
  71. },
  72. beforeUnmount() {
  73. window.removeEventListener('resize', d)
  74. },
  75. methods: {
  76. huishouye() {
  77. this.$router.push({
  78. name: 'home'
  79. })
  80. },
  81. shuxinyemian() {
  82. location.reload()
  83. },
  84. re() {
  85. this.showBool = false
  86. this.$nextTick(() => {
  87. this.showBool = true
  88. })
  89. }
  90. }
  91. }
  92. </script>
  93. <style lang="scss">
  94. .hahahdkdjshakdhssk {
  95. fill: #fff !important;
  96. color: #fff !important;
  97. }
  98. .el-carousel__arrow {
  99. top: 75% !important;
  100. }
  101. </style>
  102. <style scoped lang="scss">
  103. ::v-deep .el-carousel,
  104. ::v-deep .el-carousel__container {
  105. height: 100%;
  106. }
  107. .loginBG {
  108. width: 520px; //650px;
  109. height: 436px; //545px;
  110. background-size: 100% 100%;
  111. position: fixed;
  112. top: 50%;
  113. left: 50%;
  114. transform: translate(-50%, -50%);
  115. .loginBGform {
  116. width: 100%;
  117. height: 100%;
  118. position: relative;
  119. ::v-deep .el-input {
  120. background: rgba(0, 0, 0, 0) !important;
  121. border: none !important;
  122. box-shadow: none !important;
  123. .el-input__wrapper {
  124. background: rgba(0, 0, 0, 0) !important;
  125. box-shadow: none !important;
  126. border: none !important;
  127. }
  128. .el-input__inner {
  129. color: #fff;
  130. }
  131. }
  132. .username {
  133. width: 200px;
  134. height: 30px;
  135. position: absolute;
  136. top: 200px;
  137. left: 196px;
  138. cursor: pointer;
  139. }
  140. .mimasl {
  141. width: 200px;
  142. height: 30px;
  143. position: absolute;
  144. top: 272px;
  145. left: 196px;
  146. cursor: pointer;
  147. }
  148. .anniuyangs {
  149. width: 290px;
  150. height: 38px;
  151. position: absolute;
  152. top: 328px;
  153. left: 129px;
  154. cursor: pointer;
  155. }
  156. }
  157. }
  158. .big-view-t1 {
  159. width: 100%;
  160. height: 100%;
  161. box-sizing: border-box;
  162. background: #080c42;
  163. position: relative;
  164. .bggif {
  165. opacity: 0.5;
  166. position: absolute;
  167. top: 0;
  168. bottom: 0;
  169. left: 0;
  170. right: 0;
  171. z-index: 0;
  172. // background: url('https://zfire-train.oss-cn-guangzhou.aliyuncs.com/train/pic/166997089127898d52ae7-87a5-49ca-b25b-ee1fe4f735ba.gif');
  173. }
  174. .head-size {
  175. width: 100%;
  176. height: 60px;
  177. }
  178. }
  179. </style>