开放平台
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

87 lines
2.0 KiB

  1. <template>
  2. <div class="index-banner-box">
  3. <div class="banner-title">成为智莺云开发者,共享千万商机</div>
  4. <div class="banner-content">提供适应多场景的api接口,为应用服务提供多样化的解决方案</div>
  5. <div class="banner-bottom"><span>成为开发者</span></div>
  6. </div>
  7. </template>
  8. <script>
  9. export default {
  10. name: "page-banner",
  11. }
  12. </script>
  13. <style lang="scss" scoped>
  14. .index-banner-box {
  15. width: 100vw;
  16. height: 440px;
  17. box-sizing: border-box;
  18. overflow: hidden;
  19. background-image: url('../../static/img/index-bar.png');
  20. background-size: 100% 100%;
  21. background-repeat: no-repeat;
  22. display: flex;
  23. flex-flow: column;
  24. align-items: center;
  25. .banner-title {
  26. color: #FFF;
  27. margin: 110px 0 17px;
  28. color: #FFF;
  29. font-size: 45px;
  30. font-weight: bold;
  31. }
  32. .banner-content {
  33. color: #FFF;
  34. font-size: 22px;
  35. }
  36. .banner-bottom{
  37. width: 308px;
  38. height: 64px;
  39. background: #FFFFFF;
  40. box-shadow: 0px 10px 20px 0px rgba(0, 60, 201, 0.3);
  41. border-radius: 32px;
  42. color: #2590FF;
  43. font-size: 22px;
  44. line-height: 64px;
  45. text-align: center;
  46. margin-top: 50px;
  47. cursor: pointer;
  48. }
  49. .banner-bottom> span {
  50. -webkit-line-clamp: 2;
  51. background-image: -webkit-linear-gradient(left, #2f71ff, rgb(224, 130, 96));
  52. -webkit-background-clip: text;
  53. -webkit-text-fill-color: transparent;
  54. font-weight: bold;
  55. display: inline-block;
  56. }
  57. .banner-bottom:active > span {
  58. transform: scale(0.98);
  59. }
  60. .banner-bottom:hover > span {
  61. background-image: -webkit-linear-gradient(left, #2f71ff, rgb(224, 130, 96));
  62. animation: move 2s linear infinite;
  63. }
  64. @keyframes move {
  65. 0% {
  66. }
  67. 100% {
  68. background-position: 200px 100px;
  69. }
  70. }
  71. }
  72. </style>