|
- <template>
- <div class="index-banner-box">
- <div class="banner-title">成为智莺云开发者,共享千万商机</div>
- <div class="banner-content">提供适应多场景的api接口,为应用服务提供多样化的解决方案</div>
- <div class="banner-bottom"><span>成为开发者</span></div>
- </div>
- </template>
-
- <script>
- export default {
- name: "page-banner",
-
- }
- </script>
-
- <style lang="scss" scoped>
-
- .index-banner-box {
- width: 100vw;
- height: 440px;
- box-sizing: border-box;
- overflow: hidden;
- background-image: url('../../static/img/index-bar.png');
- background-size: 100% 100%;
- background-repeat: no-repeat;
- display: flex;
- flex-flow: column;
- align-items: center;
- .banner-title {
- color: #FFF;
- margin: 110px 0 17px;
- color: #FFF;
- font-size: 45px;
- font-weight: bold;
- }
-
- .banner-content {
- color: #FFF;
- font-size: 22px;
- }
-
- .banner-bottom{
- width: 308px;
- height: 64px;
- background: #FFFFFF;
- box-shadow: 0px 10px 20px 0px rgba(0, 60, 201, 0.3);
- border-radius: 32px;
- color: #2590FF;
- font-size: 22px;
- line-height: 64px;
- text-align: center;
- margin-top: 50px;
- cursor: pointer;
- }
-
-
- .banner-bottom> span {
- -webkit-line-clamp: 2;
- background-image: -webkit-linear-gradient(left, #2f71ff, rgb(224, 130, 96));
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- font-weight: bold;
- display: inline-block;
- }
-
- .banner-bottom:active > span {
- transform: scale(0.98);
- }
-
- .banner-bottom:hover > span {
- background-image: -webkit-linear-gradient(left, #2f71ff, rgb(224, 130, 96));
- animation: move 2s linear infinite;
- }
-
- @keyframes move {
- 0% {
- }
- 100% {
- background-position: 200px 100px;
- }
- }
-
-
- }
-
-
- </style>
|