Commit 14646a40 by 前端

Merge branch 'hotfix_v1.1.0' into 'master'

上线合并

See merge request !5
2 parents fac5d812 acb65cc8

708 KB | W: | H:

1.23 MB | W: | H:

src/assets/images/car/road.png
src/assets/images/car/road.png
src/assets/images/car/road.png
src/assets/images/car/road.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -10,7 +10,7 @@
<!-- 左箭头 end -->
<!-- 右箭头 开始 -->
<div class="right_arrow" v-if="current < 3">
<div class="right_arrow" v-if="current < 4">
<div class="arrow_inner" @click="rightClickEvent">
<img src="@/assets/images/arrow_right.png" class="img" alt="" />
<img src="@/assets/images/arrow_circle.png" class="circle" alt="" />
......
<template>
<!-- <template>
<div class="layout">
<view-container>
<template #title>
......@@ -100,4 +100,47 @@ export default {
margin-top: 1.78vh;
}
}
</style>
</style> -->
<!-- 引入广汇BI看板页面 -->
<template>
<div class="content">
<iframe class="iframe-content" src="https://bi-view.beta.glsx.com.cn/#/home" frameborder="0"></iframe>
<!-- 左右箭头 开始 -->
<fixed-arrow :current="current" @prev="prevClick" @next="nextClick" />
<!-- 左右箭头 end -->
</div>
</template>
<script>
export default {
name: 'GlskDataViewSceneIndex',
data() {
return {
current: 1
};
},
mounted() {
},
methods: {
prevClick() {
this.$router.push({
name: 'home'
})
}
},
};
</script>
<style lang="scss" scoped>
.content {
height: 100vh;
.iframe-content {
height: 100vh;
width: 100vw;
}
}
</style>
\ No newline at end of file
......@@ -2,183 +2,34 @@
* @Description:
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-29 16:02:34
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-02-20 16:45:16
-->
<template>
<div class="architecture-container">
<div class="architecture-title">{{ mainTitle }}</div>
<div class="architecture-main">
<div class="architecture-item" v-for="(main, index) in mainList" :key="'m' + index">
<div
class="architecture-type"
:style="{ backgroundImage: 'url(' + require(`@/assets/images/car/row_${main.row}.png`) + ')', height: toTransform(main.height), lineHeight: toTransform(main.height) }"
>
{{ main.title }}
</div>
<div class="architecture-desc">
<div class="architecture-desc-border">
<template v-if="main.classification">
<div class="architecture-classification" v-for="(item, idx) in main.classification" :key="'c' + idx">
{{ item }}
</div>
</template>
<div class="architecture-sub" v-for="(item, idx) in main.desc" :key="idx" :style="{ width: item.width ? toTransform(item.width) : toTransform(107) }">
{{ item.label ? item.label : item }}
</div>
</div>
</div>
</div>
</div>
<div class="architecture-subTitle">{{ subTitle }}</div>
<div class="architecture-line"></div>
<div class="architecture-main">
<div class="architecture-item" v-for="(main, index) in subList" :key="'ar' + index">
<div
class="architecture-type"
:style="{ backgroundImage: 'url(' + require(`@/assets/images/car/row_${main.row}.png`) + ')', height: toTransform(main.height), lineHeight: toTransform(main.height) }"
>
{{ main.title }}
</div>
<div class="architecture-desc">
<div class="architecture-desc-border gap-6">
<div class="architecture-sub" v-for="(item, idx) in main.desc" :key="'sub' + idx" :style="{ width: item.width + 'px' }">
{{ item.label }}
</div>
</div>
</div>
</div>
</div>
<img src="@/assets/images/car/archite.png" alt="" />
</div>
</template>
<script>
import { mainTitle, subTitle, mainList, subList, VW } from './data'
export default {
name: 'Architecture',
data() {
return {
mainTitle,
subTitle,
mainList,
subList
}
return {}
},
created() {},
methods: {
toTransform(val) {
return ((100 * val) / VW).toFixed(2) + 'vw'
}
}
methods: {}
}
</script>
<style lang="scss" scoped>
.architecture-container {
position: absolute;
left: 80px;
top: 152px;
width: 792px;
height: 747px;
background: url('../../assets/images/car/border.png');
background-size: 100% 100%;
.architecture-title {
padding-top: 20px;
font-weight: 700;
font-size: 24px;
letter-spacing: 0;
text-align: center;
text-align: center;
background: linear-gradient(to right, #01a4f9, #6df5f9);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 30px;
}
.architecture-subTitle {
color: #56f4fe;
letter-spacing: 0;
text-align: center;
text-shadow: 0 0 12px #0ad6fb;
margin-top: 26px;
background: linear-gradient(to right, #01a4f9, #6df5f9);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 19px;
position: relative;
&::before {
content: '';
width: 231.3px;
position: absolute;
top: 11px;
height: 0.77px;
left: 50px;
background: linear-gradient(to right, transparent, #09aef2, transparent);
}
&::after {
content: '';
width: 231.3px;
position: absolute;
top: 11px;
right: 50px;
height: 0.77px;
background: linear-gradient(to right, transparent, #09aef2, transparent);
}
}
.architecture-line {
width: 779.12px;
height: 0.77px;
background: linear-gradient(to right, transparent, #09aef2, transparent);
margin: 25px 0px 30px 0px;
}
.architecture-main {
margin-left: 20px;
}
}
.architecture-item {
display: flex;
.architecture-type {
width: 170.14px;
font-weight: 700;
font-size: 21.56px;
color: #09aef2;
letter-spacing: 2.31px;
background-size: 100% 100%;
text-align: center;
margin-bottom: 13px;
}
.architecture-desc {
flex: 1;
margin-left: 13px;
&-border {
flex-wrap: wrap;
display: flex;
gap: 6px 9px;
&.gap-6 {
gap: 6px;
}
.architecture-classification {
font-size: 13.86px;
color: #56f4fe;
letter-spacing: 0;
text-align: center;
text-shadow: 0 0 12px #0ad6fb;
width: calc(25% - 8px);
margin-bottom: 10px;
}
.architecture-sub {
width: 106.24px;
height: 30.77px;
line-height: 31px;
background: #0e2141;
font-size: 12.32px;
color: #ffffff;
letter-spacing: 0;
text-align: center;
}
}
top: 202px;
left: 50px;
img {
width: 758px;
height: 640px;
}
}
</style>
......@@ -2,8 +2,8 @@
* @Description:
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-29 15:53:33
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-02-20 16:39:06
-->
<template>
<div class="model-box">
......@@ -12,48 +12,29 @@
<img src="@/assets/images/car/line.png" />
</div>
<div class="model-body">
<div
class="model-item"
v-for="(item, index) in modelList"
:key="'model' + index"
:class="{ p16: index < 5 ? true : false }"
:style="{
backgroundImage: 'url(' + require(`@/assets/images/car/car_${item.order}.png`) + ')',
height: toTransform(item.height),
width: toTransform(item.width),
top: toTransform(item.top),
right: toTransform(item.right)
}"
>
<div class="model-item-title" :class="{ filter_7: item.filter ? true : false, 'spc-color': item.lineg ? true : false }">{{ item.title }}</div>
<div class="model-item-content">{{ item.content }}</div>
</div>
<img src="@/assets/images/car/road.png" alt="" />
</div>
</div>
</template>
<script>
import { color } from 'echarts'
import { modelTitle, modelList, VW } from './data'
import { modelTitle } from './data'
export default {
name: 'Model',
data() {
return { modelTitle, modelList }
return { modelTitle }
},
created() {},
methods: {
toTransform(val) {
return ((100 * val) / VW).toFixed(2) + 'vw'
}
}
methods: {}
}
</script>
<style lang="scss" scoped>
.model-box {
position: absolute;
top: 167px;
top: 137px;
right: 70px;
z-index: 0;
.model-title {
font-weight: 700;
font-size: 24px;
......@@ -73,45 +54,10 @@ export default {
height: 12.23px;
}
.model-body {
position: relative;
width: 1575.18px;
height: 915.9px;
background: url('../../assets/images/car/road.png');
background-size: 100% 100%;
.model-item {
position: absolute;
background-size: 100% 100%;
padding: 13px 10px;
box-sizing: border-box;
&.p16 {
padding: 16px;
}
&-title {
font-weight: 700;
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;
}
&.spc-color {
color: #44ffff;
background: linear-gradient(to right, #01F9ED, #73FF74);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
}
&-content {
font-size: 15px;
color: #ffffff;
line-height: 20px;
}
margin-top: 20px;
img {
width: 1856px;
height: 916px;
}
}
}
......
......@@ -16,10 +16,13 @@
<!-- 内容区域 开始 -->
<div class="content">
<view-life-scene-data v-if="current == 2" />
<energy-car v-if="current == 1" />
<view-operational v-if="current == 3" />
<view-entire-lifecycleOf-car v-if="current == 0" />
<transition :name="transitionName">
<view-life-scene-data v-if="current == 2" />
<energy-car v-if="current == 1" />
<view-operational v-if="current == 3" />
<view-entire-lifecycleOf-car v-if="current == 0" />
<!-- <GlskDataViewSceneIndex v-if="current == 4"></GlskDataViewSceneIndex> -->
</transition>
</div>
<!-- 内容区域 end -->
......@@ -35,6 +38,7 @@ import TopHead from '@/components/Head.vue'
import ViewLifeSceneData from './pages/ViewLifeSceneData.vue'
import FixedArrow from '@/components/Arrow.vue'
import ViewEntireLifecycleOfCar from './pages/viewEntireLifecycleOfCar.vue'
import GlskDataViewSceneIndex from '../newPage/index.vue'
//energyCar ViewEntireLifecycleOfCar
import EnergyCar from '@/views/energyCar/index.vue'
export default {
......@@ -44,7 +48,8 @@ export default {
ViewLifeSceneData,
FixedArrow,
ViewEntireLifecycleOfCar,
EnergyCar
EnergyCar,
GlskDataViewSceneIndex
},
data() {
return {
......@@ -54,14 +59,39 @@ export default {
0: '广联新能源车主服务行业大模型',
1: '广联新能源车主服务行业大模型',
2: '广联新能源车主服务行业大模型',
3: '广联数科运营看板'
}
3: '广联数科运营看板',
4: '广联数科运营看板',
},
startX: 0,
moveX: 0,
transitionName: ''
}
},
created() {
let _this = this
this.$bus.$on('selectVal', data => {
this.activeName = data
})
document.addEventListener('touchstart', function (event) {
_this.startX = event.touches[0].pageX
})
document.addEventListener('touchmove', function (event) {
_this.moveX = event.touches[0].pageX - _this.startX
})
document.addEventListener('touchend', function () {
let m = _this.moveX
if (m < -30) {
console.log('向左滑动事件被触发!')
_this.nextClick()
} else if (m > 30) {
console.log('向右滑动事件被触发!')
_this.prevClick()
}
})
},
methods: {
// selectVal(val) {
......@@ -72,9 +102,10 @@ export default {
prevClick() {
let index = this.current
if (index == 0) {
this.current = 3;
//this.current = 3
return false
}
this.transitionName = 'slide-right'
this.current = index - 1
},
......@@ -82,9 +113,14 @@ export default {
nextClick() {
let index = this.current
if (index == 3) {
this.current = 0;
return false
//this.current = 0
// window.open('https://bi-view.beta.glsx.com.cn/#/home', '_blank')
// return false
this.$router.push({
name: 'boutiqueDetail'
})
}
this.transitionName = 'slide-left'
this.current = index + 1
}
}
......@@ -119,4 +155,29 @@ html {
// background-size: 100% 100%;
}
}
.slide-left-enter-active,
.slide-left-leave-active,
.slide-right-enter-active,
.slide-right-leave-active {
will-change: transform;
transition: all 500ms;
position: absolute;
}
.slide-right-enter {
opacity: 0;
transform: translate3d(-100%, 0, 0);
}
.slide-right-leave-active {
opacity: 0;
transform: translate3d(100%, 0, 0);
}
.slide-left-enter {
opacity: 0;
transform: translate3d(100%, 0, 0);
}
.slide-left-leave-active {
opacity: 0;
transform: translate3d(-100%, 0, 0);
}
</style>
......@@ -8,8 +8,8 @@
<template>
<div class="view-content">
<div class="content">
<LifeSceneLeft></LifeSceneLeft>
<LifeSceneCenter></LifeSceneCenter>
<LifeSceneLeft></LifeSceneLeft>
<LifeSceneRight></LifeSceneRight>
</div>
</div>
......
......@@ -7,7 +7,7 @@
-->
<template>
<div>
<div :id="domId" style="width: 100%;" :style="{ height }"></div>
<div :id="domId" style="width: 100%" :style="{ height }"></div>
</div>
</template>
......@@ -66,9 +66,12 @@ export default {
this.barLineOptions = getBarOptions({ tooltipFormatter: this.tooltipFormatter })
},
mounted() {
this.barLineDom = document.getElementById(this.domId)
this[this.domId] = echarts.init(this.barLineDom)
this.chartBindEvent()
let _this = this
_this.$nextTick(function () {
_this.barLineDom = document.getElementById(_this.domId)
_this[this.domId] = echarts.init(_this.barLineDom)
_this.chartBindEvent()
})
},
methods: {
tooltipFormatter(obj) {
......@@ -76,7 +79,9 @@ export default {
var _html = ''
var _txt = ''
this.tooltipFormatterObj.forEach(item => {
_txt += `<div style="display:flex;"><div style="color: #c9c9c9">${item.label}:</div><div style="color: #fff;">${utils.numAddSymbol(_currentItem[item.attrName])}${item.addSymbol || ''}</div></div>`
_txt += `<div style="display:flex;"><div style="color: #c9c9c9">${item.label}:</div><div style="color: #fff;">${utils.numAddSymbol(_currentItem[item.attrName])}${
item.addSymbol || ''
}</div></div>`
})
_html += `<div style="backdrop-filter: blur(4px);background-color: #051526;border: 2px solid;border-image: linear-gradient(90deg, #074989, #30DCFF, #074989) 1;padding: 10px;">
${_txt}
......@@ -84,7 +89,7 @@ export default {
return _html
},
drawBar() {
console.log(this.dataList, 222);
console.log(this.dataList, 222)
this.barLineOptions.xAxis.data = this.dataList.map(item => item.statMonth)
this.barLineOptions.series[0].data = this.dataList.map(item => item.val)
this[this.domId].setOption(this.barLineOptions)
......
......@@ -6,7 +6,7 @@
* @LastEditTime: 2024-01-29 14:54:02
-->
<template>
<div class="big-module-marketing-box">
<div class="big-module-marketing-box" @click="openDia">
<BoxTitle :title="'基于大模型生成营销活动话术'" :textAlign="'center'" class="top-title" :fontSize="20"></BoxTitle>
<div>基于大模型的能力,快速生成个性化的活动标题、</div>
<div>营销文案和活动海报,提升门店营销效率。</div>
......@@ -24,21 +24,26 @@
<img :src="require(`../../../assets/images/${hasAvtivity ? 'activity-matekting' : 'big-module-marketing-img'}.png`)" alt="" />
<img v-show="showQ" class="ask-question" src="../../../assets/images/ask-question.png" alt="" />
<p id="qestion-2" v-show="showR" class="ai-reply"></p>
<BigModuleMarketingDia v-if="dialogShow" :isShow="dialogShow" @closeDialog="closeDialog"></BigModuleMarketingDia>
</div>
</template>
<script>
let t = null
import BigModuleMarketingDia from './BigModuleMarketingDia.vue'
export default {
name: 'BigModuleMarketing',
components: {
BigModuleMarketingDia
},
data() {
return {
showQ: false,
showR: false,
pNode: null,
isLoading: false,
hasAvtivity: false
hasAvtivity: false,
dialogShow: false
}
},
......@@ -88,6 +93,14 @@ export default {
clearInterval(timer)
}
}, 17)
},
openDia() {
this.dialogShow = true
console.log(111)
},
closeDialog() {
console.log(7777777);
this.dialogShow = false
}
},
destroyed() {
......@@ -126,9 +139,9 @@ export default {
.ask-question {
position: absolute;
right: 9vw;
width: 160px;
height: 22px;
top: 13.5vh;
width: 120px;
height: 16px;
top: 14vh;
}
.ai-reply {
position: absolute;
......
<template>
<div class="mask" v-if="isShow">
<div class="dialog-wrap">
<div class="dialog">
<div class="dialog-title">
基于大模型生成营销活动话术
<div class="close" @click.stop="closeHandle">
<img src="@/assets/images/close.png" />
</div>
</div>
<div class="content-box">
<!-- <BoxTitle :title="'基于大模型生成营销活动话术'" :textAlign="'center'" class="top-title" :fontSize="20"></BoxTitle> -->
<div>基于大模型的能力,快速生成个性化的活动标题、</div>
<div>营销文案和活动海报,提升门店营销效率。</div>
<div v-show="isLoading" class="loadding">
<div class="wrap">
<div class="round"></div>
<div class="round"></div>
<div class="round"></div>
<div class="round"></div>
<div class="round"></div>
<div class="round"></div>
<div class="round"></div>
</div>
</div>
<img :src="require(`../../../assets/images/${hasAvtivity ? 'activity-matekting-big' : 'big-module-marketing-img'}.png`)" alt="" />
<img v-show="showQ" class="ask-question" src="../../../assets/images/ask-question.png" alt="" />
<p id="qestion-3" v-show="showR" class="ai-reply"></p>
</div>
</div>
</div>
</div>
</template>
<script>
let t = null
export default {
name: 'BigModuleMarketingDia',
props: {
isShow: Boolean
},
data() {
return {
showQ: false,
showR: false,
pNode: null,
isLoading: false,
hasAvtivity: false
}
},
watch: {
isShow(val) {
console.log(val, '------------弹窗');
}
},
mounted() {
this.pNode = document.getElementById('qestion-3')
this.send()
t = setInterval(this.send, 7000)
},
methods: {
send() {
if (!this.showQ) {
this.showText()
} else {
this.showQ = false
this.showR = false
this.isLoading = false
this.hasAvtivity = false
this.pNode.innerHTML = ''
setTimeout(() => {
this.showText()
}, 1000)
}
},
showText() {
this.showQ = true
setTimeout(() => {
this.showR = true
this.addText()
setTimeout(() => {
this.isLoading = true
setTimeout(() => {
this.isLoading = false
this.hasAvtivity = true
this.showR = false
}, 3000)
}, 1000)
}, 1000)
},
addText() {
const str = '我们为您生成以下方案,请查看“营销模型解析”'
let i = 0
const timer = setInterval(() => {
if (i < str.length - 1) {
this.pNode.innerHTML = this.pNode.innerHTML + str[i]
i = i + 1
} else {
clearInterval(timer)
}
}, 17)
},
closeHandle() {
this.$emit('closeDialog')
}
},
destroyed() {
clearInterval(t)
}
}
</script>
<style lang="scss" scoped>
.mask {
width: 100%;
height: 100%;
position: fixed;
z-index: 99;
left: 0px;
top: 0px;
background: rgba(0, 0, 0, 0.8);
}
.dialog-wrap {
width: 61.11vw;
height: 73.29vh;
position: absolute;
z-index: 1;
left: 50%;
top: 50%;
background-image: url('../../../assets/images/bg-5.png');
background-repeat: no-repeat;
background-size: 100% 100%;
transform: translate(-50%, -50%);
border-radius: 5px;
padding: 3.9vh 3.67vw;
box-sizing: border-box;
.close {
width: 20px;
height: 20px;
position: absolute;
right: -18vw;
top: -1vw;
cursor: pointer;
}
.dialog-title {
width: 20.19vw;
height: 4.39vh;
background-image: url('../../../assets/images/title-dialog.png');
background-repeat: no-repeat;
background-size: 100% 100%;
text-align: center;
font-size: 20px;
color: #ffffff;
margin: 0 auto;
position: relative;
line-height: 4.39vh;
}
.content-box {
position: relative;
padding-top: 2.33vh;
img {
width: 45.18vw;
height: 52.5vh;
margin-top: 1.48vh;
}
.send {
display: inline-block;
position: absolute;
right: 9vw;
top: 22vh;
}
.ask-question {
position: absolute;
right: 14.5vw;
width: 200px;
height: 26px;
top: 13.5vh;
}
.ai-reply {
position: absolute;
// width: 155px;
// height: 22px;
left: 13vw;
top: 18vh;
}
.activity-form {
position: absolute;
width: 293px;
height: 133px;
bottom: 1.33vh;
left: 7.7vw;
}
}
p {
margin: 0;
background-color: #eee;
box-sizing: border-box;
padding: 3px 5px;
font-size: 7px;
color: #333;
border-radius: 3px;
}
.loadding {
position: absolute;
right: 7.6vw;
top: 15vh;
}
.wrap {
margin: 120px 0 0 240px;
width: 25px;
height: 25px;
position: relative;
/* transform-origin: 设置的效果搭配边框看,效果更加明显 */
/* border: 1px solid #e9e9e9; */
}
.round {
position: absolute;
width: 11px;
height: 11px;
border-radius: 50%;
background-color: rgb(241, 141, 157);
/* 加上动画效果 */
animation: circleRound 2.8s ease infinite;
/* 设置旋转中心,搭配.wrap的border看 */
transform-origin: 50% 25px;
}
/* 注意z-index层级关系,依次递减 */
.round:nth-child(1) {
z-index: 7;
}
/* 注意动画延后animation-delay播放,依次递增 */
/* 至于小圆球则越来越小 */
.round:nth-child(2) {
height: 10px;
width: 10px;
background-color: rgb(199, 136, 185);
animation-delay: 0.2s;
z-index: 6;
}
.round:nth-child(3) {
height: 9px;
width: 9px;
background-color: rgb(153, 69, 223);
animation-delay: 0.4s;
z-index: 5;
}
.round:nth-child(4) {
height: 8px;
width: 8px;
background-color: rgb(69, 141, 223);
animation-delay: 0.6s;
z-index: 4;
}
.round:nth-child(5) {
height: 7px;
width: 7px;
background-color: rgb(69, 223, 203);
animation-delay: 0.8s;
z-index: 3;
}
.round:nth-child(6) {
height: 6px;
width: 6px;
background-color: rgb(100, 223, 69);
animation-delay: 1s;
z-index: 2;
}
.round:nth-child(7) {
height: 5px;
width: 5px;
background-color: rgb(223, 200, 69);
animation-delay: 1.2s;
z-index: 1;
}
@keyframes circleRound {
to {
transform: rotate(1turn);
}
}
}
</style>
......@@ -18,7 +18,10 @@ export default {
},
mounted() {
this.$refs.bigModuleChartRef.drawBar()
let _this = this;
_this.$nextTick(function () {
_this.$refs.bigModuleChartRef.drawBar()
})
},
methods: {}
......
......@@ -4,30 +4,35 @@
<div class="dialogue-content" slot="content">
<div v-if="showQ" class="dialog-item">
<div class="user-content m-l">为什么这么贵?不就是一层塑料纸吗?</div>
<img class="avatar m-s-l" src="../../../assets//images/user-avatar.png" alt="">
<img class="avatar m-s-l" src="../../../assets//images/user-avatar.png" alt="" />
</div>
<div v-show="showR" class="dialog-item">
<img class="avatar m-s-r" src="../../../assets//images/ai-avatar.png" alt="">
<img class="avatar m-s-r" src="../../../assets//images/ai-avatar.png" alt="" />
<div class="user-content m-r" id="qestion-1"></div>
</div>
</div>
</Phone>
<Phone class="enterprise-box" :imgName="'scrip-bg'">
<div class="enterprise" slot="content">
<div class="enterprise-item">贴膜和车是没有任何关系的,别误会了,车今天开过来没有贴膜,不是一样的开过来了吗,现在您不贴膜直接开回家吃午饭也是一样能够开回去,不是说不贴膜,车子就不能开了,所以贴膜主要是保护车内人的行驶安全、舒适…</div>
<div class="enterprise-item">材质是不一样的,表面上看它可能就是一层塑料,但是它里边的这个结构是非常复杂的,不同的结构,有的膜是五层、有的膜是七层、还有的十几层那都是有区别的,况且我们这个价格是全国统一价,你在官网是能查到的,这对车主来说是最公平合理。</div>
<div class="enterprise-item">
贴膜和车是没有任何关系的,别误会了,车今天开过来没有贴膜,不是一样的开过来了吗,现在您不贴膜直接开回家吃午饭也是一样能够开回去,不是说不贴膜,车子就不能开了,所以贴膜主要是保护车内人的行驶安全、舒适…
</div>
<div class="enterprise-item">
材质是不一样的,表面上看它可能就是一层塑料,但是它里边的这个结构是非常复杂的,不同的结构,有的膜是五层、有的膜是七层、还有的十几层那都是有区别的,况且我们这个价格是全国统一价,你在官网是能查到的,这对车主来说是最公平合理。
</div>
</div>
</Phone>
<div class="markeing-descript">
<div class="second-title">营销提问应答</div>
<div class="descript">
基于大量行业数据的训练和GPT的技术,智能知识库为从事汽车增值服务的销售人员提供专业的销售话术生成以及客户销售建议。
<div class="descript">基于大量行业数据的训练和GPT的技术,智能知识库为从事汽车增值服务的销售人员提供专业的销售话术生成以及客户销售建议。</div>
<div class="qr-code">
<img src="../../../assets//images/QR-code.png" alt="" />
</div>
</div>
</div>
</template>
<script>
import Phone from "./Phone.vue"
import Phone from './Phone.vue'
export default {
name: 'MarketingQuestion',
components: {
......@@ -56,7 +61,8 @@ export default {
}, 1000)
},
addText() {
const str = '这位先生/女士/老板,一分钱一分货,就像同一款衣服,为什么有上万的,也有几百的,它材质是不一样的,表面上看它可能就是一层塑料,但是它里边的这个结构是非常复杂的,不同的结构,有的膜是五层、有的膜是七层、还有的十几层那都是有区别的,况且我们这个价格是全国统一价,你在官网是能查到的,这对车主来说是最公平合理。'
const str =
'这位先生/女士/老板,一分钱一分货,就像同一款衣服,为什么有上万的,也有几百的,它材质是不一样的,表面上看它可能就是一层塑料,但是它里边的这个结构是非常复杂的,不同的结构,有的膜是五层、有的膜是七层、还有的十几层那都是有区别的,况且我们这个价格是全国统一价,你在官网是能查到的,这对车主来说是最公平合理。'
let i = 0
this.timer = setInterval(() => {
if (i < str.length - 1) {
......@@ -108,7 +114,7 @@ export default {
align-items: baseline;
padding: 0.65vh 0.26vw 0;
.user-content {
background: rgba(255, 255, 255, .1);
background: rgba(255, 255, 255, 0.1);
border-radius: 4.44px 0 4.44px 4.44px;
padding: 4px;
}
......@@ -136,9 +142,9 @@ export default {
.enterprise {
padding-top: 8vh;
font-size: 7px;
color: #FFFFFF;
color: #ffffff;
&-item {
background: rgba(255, 255, 255, .1);
background: rgba(255, 255, 255, 0.1);
border-radius: 4px;
margin: 0.53vh 0.36vw;
padding: 4px;
......@@ -150,15 +156,22 @@ export default {
.second-title {
font-size: 20px;
text-align: center;
color: #5894FF;
background-image: -webkit-linear-gradient(left, #0185F9, #53FAFF);
color: #5894ff;
background-image: -webkit-linear-gradient(left, #0185f9, #53faff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 2.5vh;
}
.descript {
color: #09AEF2;
color: #09aef2;
font-size: 12px;
}
.qr-code {
width: 7.29vw;
height: 7.29vw;
// border: 1px solid;
// border-image: linear-gradient(to right, #01A4F9, #6DF5F9) 4;
margin: 1.78vh auto 0;
}
}
</style>
......@@ -26,7 +26,10 @@ export default {
},
mounted() {
this.$refs.nearThreadChartRef.drawBar()
let _this = this;
_this.$nextTick(function(){
_this.$refs.nearThreadChartRef.drawBar()
})
},
methods: {}
......
<template>
<div>
dsfasfsagsag
<iframe src="https://bi-view.beta.glsx.com.cn/#/home" frameborder="0"></iframe>
</div>
</template>
<script>
export default {
name: 'GlskDataViewSceneIndex',
data() {
return {
};
},
mounted() {
},
methods: {
},
};
</script>
<style lang="scss" scoped>
</style>
\ No newline at end of file
......@@ -106,33 +106,47 @@ export default {
watch: {
analysisList: {
handler() {
let _this = this
const { rotate, analysisList, colorList } = this
const obj = {
rotate,
analysisList,
ValueAnalysis
}
this.lineOptions = this.revese ? getBarReverseOptions(obj, colorList) : getBarOptions(obj, colorList)
this.chartBindEvent()
_this.$nextTick(function () {
_this.lineOptions = _this.revese ? getBarReverseOptions(obj, colorList) : getBarOptions(obj, colorList)
_this.chartBindEvent()
})
},
deep: true
}
},
mounted() {
this.lineDom = document.getElementById(this.domId)
this[this.domId] = echarts.init(this.lineDom)
this.chartReaize()
this.chartBindEvent()
let _this = this
_this.$nextTick(function () {
_this.lineDom = document.getElementById(_this.domId)
_this[_this.domId] = echarts.init(_this.lineDom)
_this.chartReaize()
_this.chartBindEvent()
})
},
methods: {
chartReaize() {
window.addEventListener('resize', () => {
console.log(444)
this[this.domId].resize()
this[this.domId] && this[this.domId].resize()
})
},
chartBindEvent() {
this[this.domId].setOption(this.lineOptions)
if(!this[this.domId]){
return false;
}
if(this[this.domId]){
// 防止报错
if(this.lineOptions && this.lineOptions.series){
this[this.domId].setOption(this.lineOptions)
}
}
if (this.revese === false) return
this.chartAction()
this[this.domId].getZr().on(
......@@ -172,6 +186,9 @@ export default {
this.chartAction(this.currentData.dataIndex)
},
chartAction(index = 7) {
if(!this[this.domId]){
return false;
}
this[this.domId].dispatchAction({
type: 'showTip',
seriesIndex: 0,
......
......@@ -28,7 +28,28 @@ export default {
name: 'Business',
data() {
return {
categoryData: [],
categoryData: [
{
name: '1.1新车轻改升级',
value: 19908443
},
{
name: '1.2次新车增购',
value: 20013764
},
{
name: '2.1新车权益升级',
value: 1675697
},
{
name: '2.2售后续保',
value: 856410
},
{
name: '2.3新车延保',
value: 4441921
},
],
list: [
{
name: '累计展业门店数',
......@@ -72,20 +93,20 @@ export default {
this.list.forEach(item => {
item.value = _data[item.valueName]
})
this.categoryData = [
{
name: '精品类',
value: _data.equity
},
{
name: '权益类',
value: _data.membrane
},
{
name: '续保类',
value: _data.electronics
}
]
// this.categoryData = [
// {
// name: '精品类',
// value: _data.equity
// },
// {
// name: '权益类',
// value: _data.membrane
// },
// {
// name: '续保类',
// value: _data.electronics
// }
// ]
}
})
}
......
......@@ -63,6 +63,13 @@ export default {
.category-legend {
width: 4.2vw;
margin-right: 1.81vw;
/deep/ .legend-item {
width: 5.3vw !important;
height: 1.44vh !important;
}
/deep/ .item-content {
width: 5.8vw;
}
}
}
}
......
......@@ -8,13 +8,27 @@
-->
<template>
<div class="project-wrap flex">
<div class="project-item flex" v-for="(item, index) in projectList" :key="index">
<div class="project-left">
<div :class="['project-title', { fontSmall: index == 3 }]">{{ item.name }}</div>
<div class="project-icon"><img src="@/assets/images/arrow.png" alt="" /></div>
<div class="project-item" v-for="(item, index) in projectList" :key="index">
<div class="project-title">{{ item.name }}</div>
<div class="project-subtitle">
<img class="img-icon" src="@/assets/images/left-icon.png" />
<span>{{ item.subName }}</span>
<img class="img-icon" src="@/assets/images/right-icon.png" />
</div>
<div class="project-right flex">
<div class="project-content-item">
<div class="project-right">
<div class="project-content-item flex">
<div class="project-content-desc">转化率</div>
<div class="project-content-num">{{ item.rate }}</div>
</div>
<div class="project-content-item flex">
<div class="project-content-desc">客单价</div>
<div class="project-content-num">{{ item.value }}</div>
</div>
<div class="project-content-item flex">
<div class="project-content-desc">GMV</div>
<div class="project-content-num">{{ item.output }}</div>
</div>
<!-- <div class="project-content-item">
<div class="project-content-desc">展业门店数</div>
<div class="project-content-num">{{ item.totalNum }}</div>
</div>
......@@ -33,7 +47,7 @@
<div class="project-content-item">
<div class="project-content-desc">GMV</div>
<div class="project-content-num">{{ numAddSymbol(item.outputValue) }}</div>
</div>
</div> -->
</div>
</div>
</div>
......@@ -44,15 +58,51 @@ export default {
name: 'Project',
data() {
return {
projectList: [{}, {}, {}, {}]
projectList: [
{
name: '数字化轻改',
subName: '1.1新车轻改升级',
rate: '53%',
value: '1,300',
output: '19,908,443'
},
{
name: '数字化轻改',
subName: '1.2次新车增购',
rate: '10%',
value: '2,100',
output: '20,013,764'
},
{
name: '数字化保险',
subName: '2.1新车权益升级',
rate: '50%',
value: '1,650',
output: '1,675,697'
},
{
name: '数字化保险',
subName: '2.2售后续保',
rate: '37%',
value: '2,590',
output: '8,531,460'
},
{
name: '数字化保险',
subName: '2.3新车延保',
rate: '45%',
value: '8,800',
output: '4,441,921'
}
]
}
},
mounted() {
this.getBusinessType()
// this.getBusinessType()
},
methods: {
toFixRatio(val) {
if(!val){
if (!val) {
return '0.00%'
}
return (val * 100).toFixed(2) + '%'
......@@ -78,61 +128,49 @@ export default {
flex-wrap: wrap;
justify-content: space-between;
.project-item {
width: 49.6%;
background: #0E2141;
.project-left {
width: 2.8vw;
padding: 0px 0.4vw;
height: 5.61vh;
background-image: linear-gradient(270deg, #6578FF 0%, #079FF1 100%);
width: 10vw;
height: 12vh;
background-image: url(../../../assets/images/bg@2x.png);
background-size: 100% 100%;
.project-title {
margin-top: 1.8vh;
font-weight: 600;
font-size: 14px;
background: linear-gradient(to right, #01a4f9, #6df5f9); /* 从左到右渐变 */
-webkit-background-clip: text; /* Safari/Chrome支持该属性 */
color: transparent; /* 将文本颜色设置为透明 */
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.project-title {
color: #e8e8e8;
font-size: 12px;
line-height: 12px;
margin-top: 0.4vh;
// &.fontSmall {
// font-size: 9px;
// }
}
.project-subtitle {
font-weight: 400;
font-size: 12px;
background: linear-gradient(to right, #01a4f9, #6df5f9); /* 从左到右渐变 */
-webkit-background-clip: text; /* Safari/Chrome支持该属性 */
color: transparent; /* 将文本颜色设置为透明 */
text-align: center;
.img-icon {
width: 0.52vw;
height: 0.19vh;
vertical-align: middle;
}
.project-icon {
width: 0.83vw;
height: 0.98vh;
margin: 0 auto;
margin-top: 0.24vh;
span {
margin: 0 0.34vw;
}
}
.project-right {
flex: 1;
padding: 0 1.2vw;
.project-content-item {
&:first-child {
width: 22%;
}
&:nth-child(2) {
width: 16%;
}
&:nth-child(3) {
width: 16%;
}
&:nth-child(4) {
width: 17%;
}
&:nth-child(5) {
width: 28%;
}
padding-left: 0.5vw;
justify-content: space-between;
// margin-bottom: 0.14vh;
.project-content-desc {
font-size: 12px;
font-size: 9px;
color: #dddddd;
}
.project-content-num {
font-weight: 700;
font-size: 12px;
color: #ffffff;
text-align: right;
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!