team.vue 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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" 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. import AbountHeader from "~/components/about/banner";
  26. export default {
  27. data() {
  28. return {
  29. title: "专家团队",
  30. bgImage: require("~/assets/images/about/about_team.png"),
  31. expertList: [
  32. {
  33. imgUrl: require("~/assets/images/about/expert_01.png"),
  34. },
  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. };
  49. },
  50. components: {
  51. AbountHeader,
  52. },
  53. methods: {},
  54. };
  55. </script>
  56. <style lang="scss" scoped>
  57. @import "~static/common/style.sass";
  58. .title-zh {
  59. height: 81px;
  60. line-height: 81px;
  61. font-size: 58px;
  62. font-family: PingFangSC-Semibold, PingFang SC;
  63. font-weight: 600;
  64. color: #000000;
  65. letter-spacing: 1px;
  66. text-align: center;
  67. }
  68. .expert {
  69. padding: 195px 0 350px;
  70. .e-content {
  71. display: flex;
  72. flex-wrap: wrap;
  73. // justify-content: space-between;
  74. align-items: center;
  75. margin-top: 150px;
  76. }
  77. .e-title {
  78. text-align: center;
  79. }
  80. .expert-item {
  81. position: relative;
  82. margin-bottom: 26px;
  83. margin-right: 40px;
  84. border-radius: 10px 10px 0px 0px;
  85. &:nth-child(3n) {
  86. margin-right: 0;
  87. }
  88. &:hover {
  89. .mask {
  90. display: block;
  91. background:rgba(0,0,0,0.5);
  92. }
  93. }
  94. .line {
  95. width: 100%;
  96. position: absolute;
  97. bottom: 0;
  98. height: 8px;
  99. background: rgba(131, 171, 249, 1);
  100. z-index: 66;
  101. }
  102. .mask {
  103. display: none;
  104. position: absolute;
  105. border-radius: 10px;
  106. top: 0;
  107. bottom: 0;
  108. left: 0;
  109. right: 0;
  110. transition: all .5s;
  111. -webkit-transition: all .5s;
  112. color: #ffffff;
  113. .intro {
  114. font-size:16px;
  115. font-family:PingFangSC-Regular,PingFang SC;
  116. font-weight:400;
  117. padding: 0 46px;
  118. margin-top: 162px;
  119. }
  120. .content {
  121. font-size: 14px;
  122. font-family: PingFangSC-Regular,PingFang SC;
  123. font-weight: 400;
  124. padding: 0 46px;
  125. line-height:28px;
  126. }
  127. .name {
  128. font-family: PingFangSC-Semibold,PingFang SC;
  129. font-weight: 600;
  130. font-size:45px;
  131. color: #ffffff;
  132. margin-top: 62px;
  133. line-height: 62px;
  134. letter-spacing:1px;
  135. padding: 0 16px;
  136. }
  137. .info {
  138. font-size:20px;
  139. font-family:PingFangSC-Regular,PingFang SC;
  140. font-weight:400;
  141. padding: 0 16px;
  142. margin-top: 6px;
  143. }
  144. }
  145. }
  146. }
  147. </style>