Model.vue 1.27 KB
<!--
 * @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>