tips.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. <template>
  2. <div class="aside">
  3. <div class="asidecon brightness">
  4. <div class="img">
  5. <img :src="require(`@/assets/images/digital/tips.jpg`)" alt="" />
  6. </div>
  7. <div class="atitle">
  8. <p class="qtitle">数字沙盘用户说明</p>
  9. <div class="qline">
  10. <img :src="require(`@/assets/images/icon/star.png`)" alt="" />
  11. </div>
  12. </div>
  13. <div class="intro">
  14. <span>点击可以查看对应医学中心或医疗区详情</span>
  15. <img :src="require(`@/assets/images/project/enter.png`)" alt="" />
  16. </div>
  17. </div>
  18. <img @click="$emit('close'), (active = 'star1_1')" class="close" :src="require('@/assets/images/project/cancel.png')" alt="" />
  19. </div>
  20. </template>
  21. <script>
  22. export default {
  23. data() {
  24. return {
  25. };
  26. },
  27. };
  28. </script>
  29. <style lang="less" scoped>
  30. @w: 895px;
  31. .aside {
  32. position: fixed;
  33. top: 0;
  34. left: 0;
  35. width: 100%;
  36. height: 100%;
  37. transition: 0.3s ease all;
  38. z-index: 999;
  39. color: #fff;
  40. .tabul {
  41. position: absolute;
  42. bottom: 74px;
  43. right: 50px;
  44. font-size: 0;
  45. z-index: 99999;
  46. > li {
  47. display: inline-block;
  48. min-width: 150px;
  49. height: 55px;
  50. line-height: 55px;
  51. margin: 0 auto;
  52. position: relative;
  53. padding: 0 20px;
  54. cursor: pointer;
  55. font-size: 18px;
  56. margin: 0 10px;
  57. background: rgba(255, 255, 255, 0.3);
  58. color: #fff;
  59. &.active {
  60. background: rgba(78, 86, 144, 1);
  61. }
  62. }
  63. }
  64. .asidecon {
  65. // background: linear-gradient(180deg, rgba(165, 177, 236, 0.7) 0%, rgba(134, 145, 199, 0.7) 100%);
  66. width: 100%;
  67. // clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  68. height: 100%;
  69. padding: 62px 78px;
  70. .atitle {
  71. margin: 45px auto 0;
  72. width: @w;
  73. .qtitle {
  74. width: 100%;
  75. height: 24px;
  76. font-size: 24px;
  77. display: inline-block;
  78. font-weight: bold;
  79. line-height: 38px;
  80. text-align: center;
  81. color: #fff;
  82. }
  83. .qline {
  84. width: 100%;
  85. height: 1px;
  86. margin: 26px 0;
  87. position: relative;
  88. background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #ffffff 48%, rgba(255, 255, 255, 0) 100%);
  89. > img {
  90. position: absolute;
  91. left: 50%;
  92. transform: translateX(-50%);
  93. width: 32px;
  94. top: -12px;
  95. }
  96. }
  97. }
  98. .img {
  99. width: 880px;
  100. margin: 20px auto;
  101. position: relative;
  102. min-height: 460px;
  103. max-height: 500px;
  104. overflow: hidden;
  105. > img {
  106. width: 100%;
  107. position: absolute;
  108. top: 50%;
  109. left: 50%;
  110. transform: translate(-50%, -50%);
  111. }
  112. }
  113. .desc {
  114. text-align: justify;
  115. width: @w;
  116. margin: 0 auto;
  117. > p {
  118. line-height: 1.8;
  119. font-size: 20px;
  120. max-height: 10vh;
  121. overflow-y: auto;
  122. padding-right: 10px;
  123. }
  124. }
  125. .intro {
  126. margin: 30px auto 0;
  127. background: rgba(65, 74, 199, 0.4);
  128. height: 66px;
  129. line-height: 66px;
  130. position: relative;
  131. display: inline-block;
  132. padding: 0 90px;
  133. cursor: pointer;
  134. > span {
  135. font-size: 24px;
  136. width: 100%;
  137. display: inline-block;
  138. }
  139. > img {
  140. position: absolute;
  141. top: 50%;
  142. transform: translateY(-50%);
  143. right: 20px;
  144. }
  145. }
  146. }
  147. .close {
  148. position: absolute;
  149. top: 45px;
  150. right: 50px;
  151. width: 54px;
  152. height: 54px;
  153. cursor: pointer;
  154. z-index: 9999999;
  155. }
  156. }
  157. </style>