Commit c4e43fed by 杨明

Merge branch 'v1.0.0' of http://192.168.3.233:8090/h5/glsk-data-view-scene into v1.0.0

2 parents 0bc1b37b 15cb1c1a
......@@ -15,4 +15,8 @@ export default {
name: 'App'
}
</script>
<style lang="scss"></style>
<style lang="scss">
.tagcloud--item{
color: #fff !important;
}
</style>
......@@ -3,7 +3,7 @@
justify-content: space-between;
background: url('../assets/images/top_bg.png') no-repeat center bottom;
background-size: 100% auto;
height: 102px;
height: 9.44vh;
.logo,
.right_box {
......@@ -14,24 +14,25 @@
.logo {
.img {
width: 166px;
height: 36px;
margin: 18px 0 0 32px;
width: 8.65vw;
height: 3.33vh;
margin: 1.67vh 0 0 1.67vw;
}
}
.title_box {
box-sizing: border-box;
padding-top: 19px;
padding-top: 1.76vh;
text-align: center;
.title {
flex: 2;
font-family: SourceHanSansCN-Bold;
font-weight: 700;
font-size: 44px;
letter-spacing: 5px;
line-height: 44px;
// background: linear-gradient(left right, #00c8ff 0%, #0069f2 100%);
// background-clip: text;
// -webkit-background-clip: text;
......@@ -53,7 +54,7 @@
.time_box {
display: flex;
flex-direction: column;
margin-top: 19px;
margin-top: 1.76vh;
.date {
font-family: SourceHanSansCN-Medium;
......@@ -75,12 +76,12 @@
}
.welcome {
width: 196px;
height: 52px;
width: 10.21vw;
height: 4.81vh;
background: url('../assets/images/top_user.png') no-repeat top center;
background-size: 100% auto;
text-align: center;
margin: 10px 24px 0 68px;
margin: 0.93vh 1.25vw 0 3.54vw;
line-height: 52px;
span {
......
......@@ -37,17 +37,11 @@ export default {
// 左侧箭头点击事件
leftClickEvent() {
this.$emit('prev')
if (this.prevUrl) {
this.$router.push({ path: this.prevUrl })
}
},
// 右侧箭头点击事件
rightClickEvent() {
this.$emit('next')
if (this.nextUrl) {
this.$router.push({ path: this.nextUrl })
}
}
}
}
......
......@@ -26,11 +26,9 @@
</div>
</div>
<!-- 欢迎词 end -->
<fixed-arrow />
</div>
</template>
<script>
import FixedArrow from '@/components/Arrow.vue';
export default {
name: 'TopHead',
props: {
......@@ -39,9 +37,6 @@ export default {
default: '广联数科运营看板'
}
},
components:{
FixedArrow
},
data() {
return {
month: '',
......@@ -65,7 +60,7 @@ export default {
this.month = m.getMonth() + 1
this.day = m.getDate()
this.week = weekList[m.getDay()]
this.initTime();
this.initTime()
},
methods: {
// 定时获取时间
......
......@@ -6,8 +6,8 @@
* @LastEditTime: 2024-01-26 16:22:53
-->
<template>
<div class="layout">
<Head title="广联新能源车主行业大模型"></Head>
<div class="">
<!-- <Head title="广联新能源车主行业大模型"></Head> -->
<Architecture></Architecture>
<Model></Model>
<FixedArrow></FixedArrow>
......@@ -20,7 +20,7 @@ import Architecture from './Architecture'
import Head from '@/components/Head'
import FixedArrow from '@/components/Arrow.vue'
export default {
name: 'energyCar',
name: 'EnergyCar',
components: {
Model,
Architecture,
......
......@@ -6,27 +6,45 @@
* @LastEditTime: 2024-01-26 11:42:10
-->
<template>
<div class="layout">
<view-container>
<template #title>
<view-title>
</view-title>
</template>
<template #content>
<!-- <view-content></view-content> -->
<components :is="tabName"></components>
</template>
</view-container>
<div class="page_layout">
<!-- 顶部 开始 -->
<div class="head">
<top-head :title="titleList[current]" />
</div>
<!-- 顶部 end -->
<!-- 内容区域 开始 -->
<div class="content">
<view-life-scene-data v-show="current == 2" />
<energy-car v-show="current == 1" />
<view-operational v-show="current == 3" />
<view-entire-lifecycleOf-car v-show="current == 0" />
</div>
<!-- 内容区域 end -->
<!-- 左右箭头 开始 -->
<fixed-arrow @prev="prevClick" @next="nextClick" />
<!-- 左右箭头 end -->
</div>
</template>
<script>
import './pages'
// import ViewContent from './components/ViewContent.vue'
import TopHead from '@/components/Head.vue'
import ViewLifeSceneData from './pages/ViewLifeSceneData.vue'
import FixedArrow from '@/components/Arrow.vue'
import ViewEntireLifecycleOfCar from './pages/viewEntireLifecycleOfCar.vue'
//energyCar ViewEntireLifecycleOfCar
import EnergyCar from '@/views/energyCar/index.vue'
export default {
name: '',
components: {
// ViewContent
TopHead,
ViewLifeSceneData,
FixedArrow,
ViewEntireLifecycleOfCar,
EnergyCar
},
computed: {
tabName() {
......@@ -63,7 +81,14 @@ export default {
},
data() {
return {
activeName: ''
activeName: '',
current: 0,
titleList: {
0: '汽车全生命周期场景图',
1: '广联新能源车主行业大模型',
2: '汽车全生命周期场景图',
3: '广联数科运营看板'
}
}
},
created() {
......@@ -75,9 +100,47 @@ export default {
// selectVal(val) {
// console.log(val)
// }
// 前一页
prevClick() {
let index = this.current
if (index == 0) {
return false
}
this.current = index - 1
},
// 下一页
nextClick() {
let index = this.current
if (index == 3) {
return false
}
this.current = index + 1
}
}
}
</script>
<style lang="scss" scoped></style>
<style lang="scss">
body,
html {
// background-image: url(../../assets/images/bg.png);
// background-size: 100% 100%;
}
</style>
<style lang="scss" scoped>
.page_layout {
display: flex;
height: 100vh;
flex-direction: column;
.head {
flex-shrink: 0;
}
.content {
flex: 1;
// background-image: url(../../assets/images/bg.png);
// background-size: 100% 100%;
}
}
</style>
......@@ -41,7 +41,7 @@ export default {
height: 100%;
box-sizing: border-box;
position: relative;
padding: 1.78vh 24px;
padding: 0 1.25vw;
gap: 0 16px;
}
.content {
......
<template>
<div class="center">
<div class="center-top"></div>
<BoxTitle :title="'智能维保'" :textAlign="'center'" class="top-title"></BoxTitle>
<StatisticBox :list="maintenanceStatisData"></StatisticBox>
<BoxTitle :title="'智能维保'" :textAlign="'center'"></BoxTitle>
<div class="center-top">
<StatisticBox :list="maintenanceStatisData"></StatisticBox>
</div>
<NearThread />
<div class="center-bottom">
<Maintenance></Maintenance>
......@@ -13,7 +14,7 @@
<script>
import StatisticBox from './components/StatisticBox.vue'
import NearThread from './components/NearThread.vue'
import Maintenance from './components/MarketingQuestion.vue'
import Maintenance from './components/Maintenance.vue'
import { maintenanceStatisData } from './const/index'
export default {
name: 'LifeSceneCenter',
......@@ -38,20 +39,10 @@ export default {
.center {
width: 31.67vw;
&-top {
display: flex;
justify-content: space-between;
margin-bottom: 1.78vh;
margin: 1.48vh 0 0.74vh;
}
&-bottom {
box-sizing: border-box;
padding: 2.59vh 1.04vw;
width: 100%;
height: 38.52vh;
border: 1px solid;
border-image: linear-gradient(to right, #1f5387, #73eaff, #275fca) 1;
.top-title {
margin-bottom: 1.48vh;
}
margin-top: 0.74vh;
}
}
</style>
<template>
<div class="left">
<BoxTitle :title="'智能知识库'" :textAlign="'center'"></BoxTitle>
<div class="left">
<BoxTitle :title="'智能知识库'" :textAlign="'center'"></BoxTitle>
<div class="left-top">
<KnownlageBase :title="'权益知识库'" :dataObj="equityDataObj" :data="'knownledge1'" />
<KnownlageBase :title="'轻改知识库'" :dataObj="equityDataObj" :data="'knownledge2'" />
......@@ -11,60 +11,58 @@
<HotWords />
</div>
<div class="left-bottom">
<MarketingQuestion>
</MarketingQuestion>
<MarketingQuestion></MarketingQuestion>
</div>
</div>
</template>
<script>
import AIMerchant from './components/AIMerchant.vue';
import MarketingQuestion from './components/MarketingQuestion.vue'
import KnownlageBase from './components/KnownlageBase.vue';
import HotWords from './components/HotWords.vue';
</div>
</template>
<script>
import AIMerchant from './components/AIMerchant.vue'
import MarketingQuestion from './components/MarketingQuestion.vue'
import KnownlageBase from './components/KnownlageBase.vue'
import HotWords from './components/HotWords.vue'
import { equityData, equityDataObj } from './const/index'
export default {
name: 'LifeSceneLeft',
components: {
export default {
name: 'LifeSceneLeft',
components: {
AIMerchant,
HotWords,
KnownlageBase,
MarketingQuestion
},
data() {
return {
equityData,
data() {
return {
equityData,
equityDataObj
}
},
mounted() {},
methods: {}
}
</script>
<style lang="scss" scoped>
.left {
width: 31.67vw;
&-top {
display: flex;
justify-content: space-between;
margin-bottom: 1.78vh;
}
&-center {
},
mounted() {},
methods: {}
}
</script>
<style lang="scss" scoped>
.left {
width: 31.67vw;
&-top {
display: flex;
justify-content: space-between;
margin-bottom: 1.78vh;
margin: 1.48vh 0 0.74vh 0;
}
&-bottom {
box-sizing: border-box;
padding: 2.59vh 1.04vw;
width: 100%;
height: 38.52vh;
border: 1px solid;
border-image: linear-gradient(to right, #1F5387,#73EAFF, #275FCA) 1;
&-center {
display: flex;
justify-content: space-between;
margin-bottom: 0.74vh;
}
&-bottom {
// box-sizing: border-box;
// padding: 2.59vh 1.04vw;
// width: 100%;
// height: 38.52vh;
// border: 1px solid;
// border-image: linear-gradient(to right, #1f5387, #73eaff, #275fca) 1;
}
</style>
\ No newline at end of file
}
</style>
......@@ -6,6 +6,9 @@
<BigModuleTrend />
<ActivityRate />
</div>
<div class="right-bottom">
<BigModuleMarketing />
</div>
</div>
</template>
......@@ -13,13 +16,15 @@
import StatisticBox from './components/StatisticBox.vue'
import BigModuleTrend from './components/BigModuleTrend.vue'
import ActivityRate from './components/ActivityRate.vue'
import BigModuleMarketing from './components/BigModuleMarketing.vue'
import { marketingStatisData } from './const/index'
export default {
name: 'LifeSceneRight',
components: {
StatisticBox,
BigModuleTrend,
ActivityRate
ActivityRate,
BigModuleMarketing
},
data() {
return {
......
......@@ -30,6 +30,9 @@ export default {
width: 21.04vw;
height: 23.8vh;
padding: 1.85vh;
box-sizing: border-box;
background-image: url(../../../assets/images/AI-bg.png);
background-size: 100% 100%;
.bottom-line {
width: 16.28vw;
height: 0.23vh;
......
<template>
<div class="rate-box">
<BoxTitle :title="'各活动类型占比'" :fontSize="16"></BoxTitle>
<pie-chart :id="chart.id" :keys="chart.keys" :list="activityListData" :height="chart.height" :colors="chart.colors"></pie-chart>
<pie-chart :id="chart.id" :keys="chart.keys" :list="activityListData" :formatter="'total'" :formatterName="'累计营销活动'" :formtUnit="'场'" :height="chart.height" :colors="chart.colors"></pie-chart>
<Legend class="legend" :list="activityListData" :legentList="legentList" :colors="chart.colors"></Legend>
</div>
</template>
......@@ -17,7 +17,7 @@ export default {
id: 'shadowPie',
keys: ['isused', 'num'],
height: '17.7vh',
colors: ['#34AFFF', '#16E193']
colors: ['#6578FF', '#16E193', '#FFE73C', '#EB6001']
},
activityListData,
legentList: [
......@@ -32,7 +32,8 @@ export default {
},
{
name: 'num',
width: '1.88vw'
width: '1.88vw',
unitIcon: '场'
}
]
}
......
<template>
<div class="big-module-marketing-box">
<BoxTitle :title="'基于大模型生成营销活动话术'" :textAlign="'center'" class="top-title" :fontSize="20"></BoxTitle>
<div>基于大模型的能力,快速生成个性化的活动标题、</div>
<div>营销文案和活动海报,提升门店营销效率。</div>
<img src="../../../assets/images/big-module-marketing-img.png" alt="" />
</div>
</template>
<script>
export default {
name: 'BigModuleMarketing',
data() {
return {}
},
mounted() {},
methods: {}
}
</script>
<style lang="scss" scoped>
.big-module-marketing-box {
box-sizing: border-box;
width: 31.67vw;
height: 40.37vh;
background-image: url(../../../assets/images/big-module-marketing-bg.png);
background-size: 100% 100%;
font-size: 12px;
color: #09aef2;
text-align: center;
padding: 1vh 3.28vw 2.59vh 3.28vw;
margin-top: 1.4vh;
.top-title {
margin-bottom: 2.33vh;
}
img {
width: 25.1vw;
height: 27.5vh;
margin-top: 1.48vh;
}
}
</style>
......@@ -14,7 +14,24 @@
<script>
import BoxTitle from '../../../components/BoxTitle.vue'
const texts = ['3D', 'TagCloud', 'JavaScript', 'CSS3', 'Animation', 'Interactive', 'Mouse', 'Rolling', 'Sphere', '6KB', 'v2.x']
const texts = [
'车内隐私',
'品牌和风格',
'车内温度',
'多长时间',
'哪些实际好处',
'权益升级的条件',
'额外服务',
'权益升级流程',
'电池和电动系统',
'维修费用',
'特殊保障',
'免费保养',
'保费折扣',
'保障内容',
'赔偿流程',
'赔偿金额'
]
import TagCloud from 'TagCloud'
export default {
name: 'HotWords',
......@@ -28,17 +45,17 @@ export default {
}
</script>
<style lang="scss" scoped>
<style lang="scss">
.hot-box {
width: 10.31vw;
height: 23.8vh;
background-image: url(../../../assets/images/hot-words-bg.png);
background-size: 100% 100%;
}
.tagcloud {
width: 8.85vw !important;
height: 8.85vw !important;
background-image: url(../../../assets/images/hot-words-bg.png);
background-size: 100% 100%;
width: 7.85vw !important;
height: 7.85vw !important;
span {
color: #5894FF;
......
......@@ -41,9 +41,24 @@ export default {
<style lang="scss" scoped>
.knownledge-box {
position: relative;
width: 10.31vw;
// height: 19.72vh;
height: 19.72vh;
padding: 1.85vh;
box-sizing: border-box;
background-image: url(../../../assets/images/knownledge-bg.png);
background-size: 100% 100%;
::after {
content: '';
display:block;
width: 0.73vw;
height: 2.04vh;
position: absolute;
top: 1vh;
right: 1vh;
background-image: url(../../../assets/images/right-arrow.png);
background-size: 0.73vw 2.04vh;
}
.trend-img {
height: 8.61vh;
}
......
......@@ -37,8 +37,12 @@ export default {
.markeing-box {
display: flex;
align-items: center;
box-sizing: border-box;
padding: 2.59vh 1.04vw;
width: 100%;
height: 100%;
height: 38.52vh;
background-image: url(../../../assets/images/marketing-ask-bg.png);
background-size: 100% 100%;
}
.dialogue-content {
padding-top: 3.98vh;
......@@ -92,6 +96,7 @@ export default {
}
.markeing-descript {
width: 11.04vw;
margin-left: 0.83vw;
.second-title {
font-size: 20px;
text-align: center;
......@@ -99,6 +104,7 @@ export default {
background-image: -webkit-linear-gradient(left, #0185F9, #53FAFF);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 2.5vh;
}
.descript {
color: #09AEF2;
......
......@@ -37,8 +37,13 @@ export default {
.markeing-box {
display: flex;
align-items: center;
box-sizing: border-box;
padding: 2.59vh 1.04vw;
width: 100%;
height: 100%;
height: 38.52vh;
border-image: linear-gradient(to right, #1f5387, #73eaff, #275fca) 1;
background-image: url(../../../assets/images/marketing-ask-bg.png);
background-size: 100% 100%;
}
.dialogue-content {
padding-top: 3.98vh;
......
......@@ -31,6 +31,9 @@ export default {
width: 31.67vw;
height: 35.37vh;
padding: 1.85vh;
box-sizing: border-box;
background-image: url(../../../assets/images/near-bg.png);
background-size: 100% 100%;
.bottom-line {
width: 16.28vw;
height: 0.23vh;
......
<template>
<div class="statistics">
<div class="statistics-item" v-for="(item, index) in list" :key="index" :style="{'width': 100 / list.length + '%'}">
<div class="statistics-top">
<div class="statistics-name">{{item.name}}</div>
<div class="statistic-text">{{numAddSymbol(item.value)}}{{ item.unit }}</div>
</div>
</div>
<div class="statistics">
<div class="statistics-item" v-for="(item, index) in list" :key="index" :style="{ width: 100 / list.length + '%' }">
<div class="statistics-top">
<div class="statistics-name">{{ item.name }}</div>
<div class="statistics-text">{{ numAddSymbol(item.value) }}{{ item.unit }}</div>
</div>
</template>
<script>
export default {
name: 'StatisticsBox',
props: {
list: {
type: Array
}
// bottomType: {
// type: String,
// default: 'default'
// }
},
data() {
return {
}
},
mounted() {},
methods: {}
}
</script>
<style lang="scss" scoped>
.statistics {
display: flex;
height: 8.15vh;
color: #E8E8E8;
&-item {
width: 10.26vw;
padding: 1.48vh 1.04vw;
margin-right: 0.42vw;
background-image: url(../../../assets/images/statistic-bg.png);
background-size: 100% 100%;
&:last-child {
margin-right: 0;
}
</div>
</div>
</template>
<script>
export default {
name: 'StatisticsBox',
props: {
list: {
type: Array
}
// bottomType: {
// type: String,
// default: 'default'
// }
},
data() {
return {}
},
mounted() {},
methods: {}
}
</script>
<style lang="scss" scoped>
.statistics {
display: flex;
height: 8.15vh;
&-item {
width: 10.26vw;
padding: 1.48vh 1.04vw;
box-sizing: border-box;
margin-right: 0.42vw;
background-image: url(../../../assets/images/statistic-bg.png);
background-size: 100% 100%;
&:last-child {
margin-right: 0;
}
}
</style>
\ No newline at end of file
&-name {
font-weight: 500;
font-size: 14px;
color: #e8e8e8;
}
&-text {
font-weight: 600;
font-size: 18px;
background: linear-gradient(to right, #01a4f9, #6df5f9); /* 从左到右渐变 */
-webkit-background-clip: text; /* Safari/Chrome支持该属性 */
color: transparent; /* 将文本颜色设置为透明 */
margin-top: 1.1vh;
}
}
</style>
......@@ -137,23 +137,23 @@ const nearThreadDataList = [
const activityListData = [
{
isused: "精品升级",
num: 36,
rate: 360
num: 360,
rate: 36
},
{
isused: "权益升级",
num: 28,
rate: 280
num: 280,
rate: 28
},
{
isused: "售后团购",
num: 24,
rate: 240
num: 240,
rate: 24
},
{
isused: "节假日关怀",
num: 12,
rate: 120
num: 120,
rate: 12
}
]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!