1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
| <template>
| <div class="banner">
| <el-carousel
| trigger="click"
| height="546px"
| :autoplay="false"
| arrow="never"
| ref="banner"
| >
| <el-carousel-item v-for="item in 4" :key="item">
| <div class="banner_content">
| <div class="banner_text">
| <div class="banner_title_en">SmartAI</div>
| <div class="banner_title_zh">人工智能操作系统</div>
| <div class="banner_des">为行业客户量身打造的企业级AI操作系统</div>
| </div>
| </div>
| </el-carousel-item>
| </el-carousel>
| </div>
| </template>
|
| <script>
| export default {
| name: "Banner",
| methods: {
| toggleBanner(i) {
| this.$refs["banner"].setActiveItem(i);
| },
| },
| };
| </script>
|
| <style lang="scss" scoped>
| .banner {
| position: relative;
| height: 546px;
| width: 100%;
| min-width: 1280px;
| z-index: -1;
| top: -62px;
| .banner_content {
| height: 100%;
| background-image: url("/images/index/banner.png");
| padding: 183px 0 0 0;
|
| .banner_text {
| margin: 0 auto;
| width: 1280px;
| color: #fff;
|
| .banner_title_en {
| font-size: 24px;
| line-height: 60px;
| }
|
| .banner_title_zh {
| font-size: 36px;
| font-weight: 700;
| line-height: 48px;
| }
|
| .banner_des {
| font-size: 14px;
| line-height: 60px;
| }
| }
| }
|
| ::v-deep .el-carousel__indicators {
| display: none;
| }
| }
| </style>
|
|