ParticipationUnits.vue 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <template>
  2. <transition
  3. appear
  4. name="animate__animated animate__move"
  5. enter-active-class="animate__slideInLeft"
  6. leave-active-class="animate__slideOutLeft"
  7. >
  8. <div class="widget-ParticipationUnits">
  9. <div class="head">
  10. <div class="title">
  11. <div class="icon"></div>
  12. <span class="site-info">参建单位</span>
  13. </div>
  14. </div>
  15. <div class="content-info"></div>
  16. </div>
  17. </transition>
  18. </template>
  19. <script lang="ts">
  20. import { Vue, Component, Prop, Watch } from 'vue-property-decorator'
  21. //参建单位模块
  22. @Component({ name: 'ParticipationUnits' })
  23. export default class ParticipationUnits extends Vue {}
  24. </script>
  25. <style lang='scss' scoped>
  26. .animate__slideInLeft,
  27. .animate__slideOutLeft {
  28. animation-duration: 3s; //动画持续时间
  29. animation-delay: 0s; //动画延迟时间
  30. }
  31. .widget-ParticipationUnits {
  32. $size10: 0.052083rem /* 10/192 */;
  33. $size20: 0.104167rem /* 20/192 */;
  34. z-index: 2;
  35. //position
  36. top: 2.197917rem /* 422/192 */;
  37. bottom: 1.5625rem /* 300/192 */;
  38. margin-left: $size20 /* 20/192 */;
  39. left: 0rem /* 0/192 */;
  40. position: absolute;
  41. //size
  42. height: calc(100% - 3.489583rem /* 670/192 */);
  43. width: 2.083333rem /* 400/192 */;
  44. color: #eee;
  45. .head {
  46. height: 0.166667rem /* 32/192 */;
  47. width: 100%;
  48. background: linear-gradient(-90deg, rgba(43, 167, 255, 0.2) 0%, rgba(43, 167, 255, 0.08) 100%);
  49. font-family: Source Han Sans CN-HEAVY;
  50. .title {
  51. width: 100%;
  52. height: 100%;
  53. display: flex;
  54. font-weight: 400;
  55. align-items: center;
  56. .icon {
  57. height: 0.166667rem /* 32/192 */;
  58. width: 0.34375rem /* 66/192 */;
  59. background: url('~@/views/groupPage/images/模块图标/参建单位.png') no-repeat center center;
  60. background-size: 100% 100%;
  61. }
  62. span {
  63. flex: 1;
  64. font-weight: bold;
  65. font-size: 0.083333rem /* 16/192 */;
  66. color: #ffffff;
  67. padding: 0.041667rem /* 8/192 */;
  68. background: linear-gradient(0deg, #9bd2fa 0%, #ffffff 100%);
  69. background-clip: text;
  70. -webkit-text-fill-color: transparent;
  71. }
  72. }
  73. }
  74. .content-info {
  75. width: 100%;
  76. height: calc(100% - 0.166667rem);
  77. overflow: hidden;
  78. display: flex;
  79. flex-flow: row wrap;
  80. }
  81. }
  82. </style>