Model.vue
1.27 KB
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
<!--
* @Description:
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-02-20 16:39:06
-->
<template>
<div class="model-box">
<div class="model-title">{{ modelTitle }}</div>
<div class="model-line">
<img src="@/assets/images/car/line.png" />
</div>
<div class="model-body">
<img src="@/assets/images/car/road.png" alt="" />
</div>
</div>
</template>
<script>
import { modelTitle } from './data'
export default {
name: 'Model',
data() {
return { modelTitle }
},
created() {},
methods: {}
}
</script>
<style lang="scss" scoped>
.model-box {
position: absolute;
top: 137px;
right: 70px;
z-index: 0;
.model-title {
font-weight: 700;
font-size: 24px;
color: #77e9ff;
letter-spacing: 0;
text-align: center;
width: 804.82px;
margin-left: calc(100% - 800px);
background: linear-gradient(to right, #01a4f9, #6df5f9);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.model-line {
margin: 5px 0px 0px calc(100% - 800px);
width: 804.82px;
height: 12.23px;
}
.model-body {
margin-top: 20px;
img {
width: 1856px;
height: 916px;
}
}
}
</style>