siqing.vue 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <template>
  2. <router-view v-slot="{ Component }">
  3. <keep-alive>
  4. <component :is=" Component" v-if="$route.meta.keepAlive" />
  5. </keep-alive>
  6. <component :is="Component" v-if="!$route.meta.keepAlive" />
  7. </router-view>
  8. <router-link to="/home/siqing">
  9. <div class="layerButtoncq" @click="layerIsShow"></div>
  10. </router-link>
  11. <router-link to="/home/siqing/miaoqing">
  12. <div class="layerButtonmq" @click="layerIsShow"></div>
  13. </router-link>
  14. <router-link to="/home/siqing/turang">
  15. <div class="layerButtontr" @click="layerIsShow"></div>
  16. </router-link>
  17. <router-link to="/home/siqing/qixiang">
  18. <div class="layerButtonqx" @click="layerIsShow"></div>
  19. </router-link>
  20. </template>
  21. <script>
  22. export default {
  23. data() {
  24. return {
  25. }
  26. },
  27. methods: {
  28. layerIsShow() {
  29. }
  30. },
  31. mounted() {
  32. }
  33. }
  34. </script>
  35. <style scoped>
  36. .layerButtoncq {
  37. background: url('@/assets/images/siqing/cq.png') no-repeat;
  38. background-size: 100% 100%;
  39. font-family: "TTTGB-Medium", sans-serif !important;
  40. position: fixed;
  41. left: 750rem;
  42. bottom: 40rem;
  43. width: 80rem;
  44. height: 90rem;
  45. /* background-color: rgba(255,255,255,0.5); */
  46. color: #000;
  47. line-height: 40rem;
  48. cursor: pointer;
  49. z-index: 11;
  50. user-select: none;
  51. }
  52. .layerButtonmq {
  53. background: url('@/assets/images/siqing/mq.png') no-repeat;
  54. background-size: 100% 100%;
  55. font-family: "TTTGB-Medium", sans-serif !important;
  56. position: fixed;
  57. left: 950rem;
  58. bottom: 40rem;
  59. width: 80rem;
  60. height: 90rem;
  61. /* background-color: rgba(255,255,255,0.5); */
  62. color: #000;
  63. line-height: 40rem;
  64. cursor: pointer;
  65. z-index: 11;
  66. user-select: none;
  67. }
  68. .layerButtontr {
  69. background: url('@/assets/images/siqing/tr.png') no-repeat;
  70. background-size: 100% 100%;
  71. font-family: "TTTGB-Medium", sans-serif !important;
  72. position: fixed;
  73. left: 1150rem;
  74. bottom: 40rem;
  75. width: 80rem;
  76. height: 90rem;
  77. /* background-color: rgba(255,255,255,0.5); */
  78. color: #000;
  79. line-height: 40rem;
  80. cursor: pointer;
  81. z-index: 11;
  82. user-select: none;
  83. }
  84. .layerButtonqx {
  85. background: url('@/assets/images/siqing/qx.png') no-repeat;
  86. background-size: 100% 100%;
  87. font-family: "TTTGB-Medium", sans-serif !important;
  88. position: fixed;
  89. left: 1350rem;
  90. bottom: 40rem;
  91. width: 80rem;
  92. height: 90rem;
  93. /* background-color: rgba(255,255,255,0.5); */
  94. color: #000;
  95. line-height: 40rem;
  96. cursor: pointer;
  97. z-index: 11;
  98. user-select: none;
  99. }
  100. </style>