Commit 0d68740d by 杨明

新能源

1 parent 7b6edb89
......@@ -29,13 +29,13 @@ const pages = [
backgroundColor: '#F7F7F7'
}
},
{
name: 'lifeSceneDataPage',
meta: {
isTab: true,
backgroundColor: '#F7F7F7'
}
},
// {
// name: 'lifeSceneDataPage',
// meta: {
// isTab: true,
// backgroundColor: '#F7F7F7'
// }
// },
{
name: 'energyCar',
meta: {
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-26 15:47:49
* @LastEditTime: 2024-01-26 16:12:21
-->
<template>
<div class="model-box">
......@@ -16,7 +16,7 @@
class="model-item"
v-for="(item, index) in modelList"
:key="index"
:class="{p16:index<5?true:false}"
:class="{ p16: index < 5 ? true : false }"
:style="{
backgroundImage: 'url(' + require(`@/assets/images/car/car_${item.order}.png`) + ')',
height: toTransform(item.height),
......@@ -25,7 +25,7 @@
right: toTransform(item.right)
}"
>
<div class="model-item-title">{{ item.title }}</div>
<div class="model-item-title" :class="{ filter_7: item.filter ? true : false }">{{ item.title }}</div>
<div class="model-item-content">{{ item.content }}</div>
</div>
</div>
......@@ -81,23 +81,27 @@ export default {
.model-item {
position: absolute;
background-size: 100% 100%;
padding: 10px;
padding: 13px 10px;
box-sizing: border-box;
&.p16 {
padding: 16px;
}
&-title {
font-weight: 700;
font-size: 20px;
font-size: 18px;
color: #44ffff;
letter-spacing: 0;
background: linear-gradient(to right, #01a4f9, #6df5f9);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 4px;
&.filter_7 {
opacity: 0.7;
}
}
&-content {
font-size: 16px;
font-size: 15px;
color: #ffffff;
line-height: 20px;
}
......
......@@ -82,6 +82,7 @@ export const modelList = [
order: '1',
title: '1. 车辆研发',
width: 286.8,
filter: true,
right: 232,
top: 13,
height: 100.22,
......@@ -91,6 +92,7 @@ export const modelList = [
order: '2',
title: '2. 车辆运输',
right: 637,
filter: true,
top: 38,
width: 149.95,
height: 92.97,
......@@ -100,6 +102,7 @@ export const modelList = [
order: '3',
title: '3. 车辆销售-购车',
width: 228.78,
filter: true,
height: 100.05,
top: 157,
right: 602,
......@@ -154,6 +157,7 @@ export const modelList = [
order: '5.5',
title: '5.5 车辆使用-商用车管理',
width: 266.76,
filter: true,
top: 606,
right: 513,
height: 123.61,
......
......@@ -7,6 +7,7 @@
-->
<template>
<div class="layout">
<Head title="广联新能源车主行业大模型"></Head>
<Architecture></Architecture>
<Model></Model>
</div>
......@@ -15,11 +16,13 @@
<script>
import Model from './Model'
import Architecture from './Architecture'
import Head from '@/components/Head'
export default {
name: 'energyCar',
components: {
Model,
Architecture
Architecture,
Head
},
data() {
return {}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!