team.vue 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. <template>
  2. <div class="container">
  3. <abount-header :title="title" :bgImage="bgImage"></abount-header>
  4. <!-- 专家团队 -->
  5. <div class="expert w1200">
  6. <div class="e-title title-zh">专家团队</div>
  7. <div class="e-content">
  8. <div :class="['expert-item wow animate__animated', index % 3 === 0 ? 'animate__lightSpeedInLeft' : (index + 1) % 3 === 0 ? 'animate__lightSpeedInRight' : '' ]" v-for="(item, index) in expertList" :key="index">
  9. <img :src="item.imgUrl" alt="">
  10. <div class="line"></div>
  11. <div class="mask">
  12. <div class="intro">简历介绍</div>
  13. <div class="content">
  14. 简历介绍简历介绍简历介绍简历介绍简历介绍 简历介绍简历介绍简历介绍简历介绍简历介绍 简历介绍简历介绍简历介绍简历介绍简历介绍 简历介绍简历介绍简历介绍简历介绍简历介绍 简历介绍简历介绍简历介绍
  15. </div>
  16. <div class="name">多丽丝</div>
  17. <div class="info">职称/学历/所在公司</div>
  18. </div>
  19. </div>
  20. </div>
  21. </div>
  22. </div>
  23. </template>
  24. <script>
  25. if (process.browser) {
  26. var {WOW} = require('wowjs')
  27. }
  28. import AbountHeader from "~/components/about/banner";
  29. export default {
  30. data() {
  31. return {
  32. title: "专家团队",
  33. bgImage: require("~/assets/images/about/about_team.png"),
  34. expertList: [
  35. {
  36. imgUrl: require("~/assets/images/about/expert_01.png"),
  37. },
  38. {
  39. imgUrl: require("~/assets/images/about/expert_01.png"),
  40. },
  41. {
  42. imgUrl: require("~/assets/images/about/expert_01.png"),
  43. },
  44. {
  45. imgUrl: require("~/assets/images/about/expert_01.png"),
  46. },
  47. {
  48. imgUrl: require("~/assets/images/about/expert_01.png"),
  49. },
  50. ],
  51. };
  52. },
  53. mounted () {
  54. if (process.browser) {
  55. new WOW({
  56. offset: 0,
  57. live: true
  58. }).init()
  59. }
  60. },
  61. components: {
  62. AbountHeader,
  63. },
  64. methods: {},
  65. };
  66. </script>
  67. <style lang="scss" scoped>
  68. @import "~static/common/style.sass";
  69. .title-zh {
  70. height: 81px;
  71. line-height: 81px;
  72. font-size: 58px;
  73. font-family: PingFangSC-Semibold, PingFang SC;
  74. font-weight: 600;
  75. color: #000000;
  76. letter-spacing: 1px;
  77. text-align: center;
  78. }
  79. .expert {
  80. padding: 195px 0 350px;
  81. .e-content {
  82. display: flex;
  83. flex-wrap: wrap;
  84. // justify-content: space-between;
  85. align-items: center;
  86. margin-top: 150px;
  87. }
  88. .e-title {
  89. text-align: center;
  90. }
  91. .expert-item {
  92. position: relative;
  93. margin-bottom: 26px;
  94. margin-right: 40px;
  95. border-radius: 10px 10px 0px 0px;
  96. &:nth-child(3n) {
  97. margin-right: 0;
  98. }
  99. &:hover {
  100. .mask {
  101. display: block;
  102. background:rgba(0,0,0,0.5);
  103. }
  104. }
  105. .line {
  106. width: 100%;
  107. position: absolute;
  108. bottom: 0;
  109. height: 8px;
  110. background: rgba(131, 171, 249, 1);
  111. z-index: 66;
  112. }
  113. .mask {
  114. display: none;
  115. position: absolute;
  116. border-radius: 10px;
  117. top: 0;
  118. bottom: 0;
  119. left: 0;
  120. right: 0;
  121. transition: all .5s;
  122. -webkit-transition: all .5s;
  123. color: #ffffff;
  124. .intro {
  125. font-size:16px;
  126. font-family:PingFangSC-Regular,PingFang SC;
  127. font-weight:400;
  128. padding: 0 46px;
  129. margin-top: 162px;
  130. }
  131. .content {
  132. font-size: 14px;
  133. font-family: PingFangSC-Regular,PingFang SC;
  134. font-weight: 400;
  135. padding: 0 46px;
  136. line-height:28px;
  137. }
  138. .name {
  139. font-family: PingFangSC-Semibold,PingFang SC;
  140. font-weight: 600;
  141. font-size:45px;
  142. color: #ffffff;
  143. margin-top: 62px;
  144. line-height: 62px;
  145. letter-spacing:1px;
  146. padding: 0 16px;
  147. }
  148. .info {
  149. font-size:20px;
  150. font-family:PingFangSC-Regular,PingFang SC;
  151. font-weight:400;
  152. padding: 0 16px;
  153. margin-top: 6px;
  154. }
  155. }
  156. }
  157. }
  158. </style>