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 @@ ...@@ -10,7 +10,7 @@
<!-- 左箭头 end --> <!-- 左箭头 end -->
<!-- 右箭头 开始 --> <!-- 右箭头 开始 -->
<div class="right_arrow" v-if="current < 3"> <div class="right_arrow" v-if="current < 4">
<div class="arrow_inner" @click="rightClickEvent"> <div class="arrow_inner" @click="rightClickEvent">
<img src="@/assets/images/arrow_right.png" class="img" alt="" /> <img src="@/assets/images/arrow_right.png" class="img" alt="" />
<img src="@/assets/images/arrow_circle.png" class="circle" alt="" /> <img src="@/assets/images/arrow_circle.png" class="circle" alt="" />
......
<template> <!-- <template>
<div class="layout"> <div class="layout">
<view-container> <view-container>
<template #title> <template #title>
...@@ -100,4 +100,47 @@ export default { ...@@ -100,4 +100,47 @@ export default {
margin-top: 1.78vh; margin-top: 1.78vh;
} }
} }
</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> </style>
\ No newline at end of file \ No newline at end of file
...@@ -2,183 +2,34 @@ ...@@ -2,183 +2,34 @@
* @Description: * @Description:
* @Author: huyue * @Author: huyue
* @Date: 2023-07-04 13:55:35 * @Date: 2023-07-04 13:55:35
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-01-29 16:02:34 * @LastEditTime: 2024-02-20 16:45:16
--> -->
<template> <template>
<div class="architecture-container"> <div class="architecture-container">
<div class="architecture-title">{{ mainTitle }}</div> <img src="@/assets/images/car/archite.png" alt="" />
<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>
</div> </div>
</template> </template>
<script> <script>
import { mainTitle, subTitle, mainList, subList, VW } from './data'
export default { export default {
name: 'Architecture', name: 'Architecture',
data() { data() {
return { return {}
mainTitle,
subTitle,
mainList,
subList
}
}, },
created() {}, created() {},
methods: { methods: {}
toTransform(val) {
return ((100 * val) / VW).toFixed(2) + 'vw'
}
}
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.architecture-container { .architecture-container {
position: absolute; position: absolute;
left: 80px; top: 202px;
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; left: 50px;
background: linear-gradient(to right, transparent, #09aef2, transparent); img {
} width: 758px;
&::after { height: 640px;
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;
}
}
} }
} }
</style> </style>
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
* @Description: * @Description:
* @Author: huyue * @Author: huyue
* @Date: 2023-07-04 13:55:35 * @Date: 2023-07-04 13:55:35
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-01-29 15:53:33 * @LastEditTime: 2024-02-20 16:39:06
--> -->
<template> <template>
<div class="model-box"> <div class="model-box">
...@@ -12,48 +12,29 @@ ...@@ -12,48 +12,29 @@
<img src="@/assets/images/car/line.png" /> <img src="@/assets/images/car/line.png" />
</div> </div>
<div class="model-body"> <div class="model-body">
<div <img src="@/assets/images/car/road.png" alt="" />
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>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import { color } from 'echarts' import { modelTitle } from './data'
import { modelTitle, modelList, VW } from './data'
export default { export default {
name: 'Model', name: 'Model',
data() { data() {
return { modelTitle, modelList } return { modelTitle }
}, },
created() {}, created() {},
methods: { methods: {}
toTransform(val) {
return ((100 * val) / VW).toFixed(2) + 'vw'
}
}
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.model-box { .model-box {
position: absolute; position: absolute;
top: 167px; top: 137px;
right: 70px; right: 70px;
z-index: 0;
.model-title { .model-title {
font-weight: 700; font-weight: 700;
font-size: 24px; font-size: 24px;
...@@ -73,45 +54,10 @@ export default { ...@@ -73,45 +54,10 @@ export default {
height: 12.23px; height: 12.23px;
} }
.model-body { .model-body {
position: relative; margin-top: 20px;
width: 1575.18px; img {
height: 915.9px; width: 1856px;
background: url('../../assets/images/car/road.png'); height: 916px;
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;
}
} }
} }
} }
......
...@@ -16,10 +16,13 @@ ...@@ -16,10 +16,13 @@
<!-- 内容区域 开始 --> <!-- 内容区域 开始 -->
<div class="content"> <div class="content">
<transition :name="transitionName">
<view-life-scene-data v-if="current == 2" /> <view-life-scene-data v-if="current == 2" />
<energy-car v-if="current == 1" /> <energy-car v-if="current == 1" />
<view-operational v-if="current == 3" /> <view-operational v-if="current == 3" />
<view-entire-lifecycleOf-car v-if="current == 0" /> <view-entire-lifecycleOf-car v-if="current == 0" />
<!-- <GlskDataViewSceneIndex v-if="current == 4"></GlskDataViewSceneIndex> -->
</transition>
</div> </div>
<!-- 内容区域 end --> <!-- 内容区域 end -->
...@@ -35,6 +38,7 @@ import TopHead from '@/components/Head.vue' ...@@ -35,6 +38,7 @@ import TopHead from '@/components/Head.vue'
import ViewLifeSceneData from './pages/ViewLifeSceneData.vue' import ViewLifeSceneData from './pages/ViewLifeSceneData.vue'
import FixedArrow from '@/components/Arrow.vue' import FixedArrow from '@/components/Arrow.vue'
import ViewEntireLifecycleOfCar from './pages/viewEntireLifecycleOfCar.vue' import ViewEntireLifecycleOfCar from './pages/viewEntireLifecycleOfCar.vue'
import GlskDataViewSceneIndex from '../newPage/index.vue'
//energyCar ViewEntireLifecycleOfCar //energyCar ViewEntireLifecycleOfCar
import EnergyCar from '@/views/energyCar/index.vue' import EnergyCar from '@/views/energyCar/index.vue'
export default { export default {
...@@ -44,7 +48,8 @@ export default { ...@@ -44,7 +48,8 @@ export default {
ViewLifeSceneData, ViewLifeSceneData,
FixedArrow, FixedArrow,
ViewEntireLifecycleOfCar, ViewEntireLifecycleOfCar,
EnergyCar EnergyCar,
GlskDataViewSceneIndex
}, },
data() { data() {
return { return {
...@@ -54,14 +59,39 @@ export default { ...@@ -54,14 +59,39 @@ export default {
0: '广联新能源车主服务行业大模型', 0: '广联新能源车主服务行业大模型',
1: '广联新能源车主服务行业大模型', 1: '广联新能源车主服务行业大模型',
2: '广联新能源车主服务行业大模型', 2: '广联新能源车主服务行业大模型',
3: '广联数科运营看板' 3: '广联数科运营看板',
} 4: '广联数科运营看板',
},
startX: 0,
moveX: 0,
transitionName: ''
} }
}, },
created() { created() {
let _this = this
this.$bus.$on('selectVal', data => { this.$bus.$on('selectVal', data => {
this.activeName = 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: { methods: {
// selectVal(val) { // selectVal(val) {
...@@ -72,9 +102,10 @@ export default { ...@@ -72,9 +102,10 @@ export default {
prevClick() { prevClick() {
let index = this.current let index = this.current
if (index == 0) { if (index == 0) {
this.current = 3; //this.current = 3
return false return false
} }
this.transitionName = 'slide-right'
this.current = index - 1 this.current = index - 1
}, },
...@@ -82,9 +113,14 @@ export default { ...@@ -82,9 +113,14 @@ export default {
nextClick() { nextClick() {
let index = this.current let index = this.current
if (index == 3) { if (index == 3) {
this.current = 0; //this.current = 0
return false // 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 this.current = index + 1
} }
} }
...@@ -119,4 +155,29 @@ html { ...@@ -119,4 +155,29 @@ html {
// background-size: 100% 100%; // 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> </style>
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
<template> <template>
<div class="view-content"> <div class="view-content">
<div class="content"> <div class="content">
<LifeSceneLeft></LifeSceneLeft>
<LifeSceneCenter></LifeSceneCenter> <LifeSceneCenter></LifeSceneCenter>
<LifeSceneLeft></LifeSceneLeft>
<LifeSceneRight></LifeSceneRight> <LifeSceneRight></LifeSceneRight>
</div> </div>
</div> </div>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
--> -->
<template> <template>
<div> <div>
<div :id="domId" style="width: 100%;" :style="{ height }"></div> <div :id="domId" style="width: 100%" :style="{ height }"></div>
</div> </div>
</template> </template>
...@@ -66,9 +66,12 @@ export default { ...@@ -66,9 +66,12 @@ export default {
this.barLineOptions = getBarOptions({ tooltipFormatter: this.tooltipFormatter }) this.barLineOptions = getBarOptions({ tooltipFormatter: this.tooltipFormatter })
}, },
mounted() { mounted() {
this.barLineDom = document.getElementById(this.domId) let _this = this
this[this.domId] = echarts.init(this.barLineDom) _this.$nextTick(function () {
this.chartBindEvent() _this.barLineDom = document.getElementById(_this.domId)
_this[this.domId] = echarts.init(_this.barLineDom)
_this.chartBindEvent()
})
}, },
methods: { methods: {
tooltipFormatter(obj) { tooltipFormatter(obj) {
...@@ -76,7 +79,9 @@ export default { ...@@ -76,7 +79,9 @@ export default {
var _html = '' var _html = ''
var _txt = '' var _txt = ''
this.tooltipFormatterObj.forEach(item => { 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;"> _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} ${_txt}
...@@ -84,7 +89,7 @@ export default { ...@@ -84,7 +89,7 @@ export default {
return _html return _html
}, },
drawBar() { drawBar() {
console.log(this.dataList, 222); console.log(this.dataList, 222)
this.barLineOptions.xAxis.data = this.dataList.map(item => item.statMonth) this.barLineOptions.xAxis.data = this.dataList.map(item => item.statMonth)
this.barLineOptions.series[0].data = this.dataList.map(item => item.val) this.barLineOptions.series[0].data = this.dataList.map(item => item.val)
this[this.domId].setOption(this.barLineOptions) this[this.domId].setOption(this.barLineOptions)
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* @LastEditTime: 2024-01-29 14:54:02 * @LastEditTime: 2024-01-29 14:54:02
--> -->
<template> <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> <BoxTitle :title="'基于大模型生成营销活动话术'" :textAlign="'center'" class="top-title" :fontSize="20"></BoxTitle>
<div>基于大模型的能力,快速生成个性化的活动标题、</div> <div>基于大模型的能力,快速生成个性化的活动标题、</div>
<div>营销文案和活动海报,提升门店营销效率。</div> <div>营销文案和活动海报,提升门店营销效率。</div>
...@@ -24,21 +24,26 @@ ...@@ -24,21 +24,26 @@
<img :src="require(`../../../assets/images/${hasAvtivity ? 'activity-matekting' : 'big-module-marketing-img'}.png`)" alt="" /> <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="" /> <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> <p id="qestion-2" v-show="showR" class="ai-reply"></p>
<BigModuleMarketingDia v-if="dialogShow" :isShow="dialogShow" @closeDialog="closeDialog"></BigModuleMarketingDia>
</div> </div>
</template> </template>
<script> <script>
let t = null let t = null
import BigModuleMarketingDia from './BigModuleMarketingDia.vue'
export default { export default {
name: 'BigModuleMarketing', name: 'BigModuleMarketing',
components: {
BigModuleMarketingDia
},
data() { data() {
return { return {
showQ: false, showQ: false,
showR: false, showR: false,
pNode: null, pNode: null,
isLoading: false, isLoading: false,
hasAvtivity: false hasAvtivity: false,
dialogShow: false
} }
}, },
...@@ -88,6 +93,14 @@ export default { ...@@ -88,6 +93,14 @@ export default {
clearInterval(timer) clearInterval(timer)
} }
}, 17) }, 17)
},
openDia() {
this.dialogShow = true
console.log(111)
},
closeDialog() {
console.log(7777777);
this.dialogShow = false
} }
}, },
destroyed() { destroyed() {
...@@ -126,9 +139,9 @@ export default { ...@@ -126,9 +139,9 @@ export default {
.ask-question { .ask-question {
position: absolute; position: absolute;
right: 9vw; right: 9vw;
width: 160px; width: 120px;
height: 22px; height: 16px;
top: 13.5vh; top: 14vh;
} }
.ai-reply { .ai-reply {
position: absolute; 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 { ...@@ -18,7 +18,10 @@ export default {
}, },
mounted() { mounted() {
this.$refs.bigModuleChartRef.drawBar() let _this = this;
_this.$nextTick(function () {
_this.$refs.bigModuleChartRef.drawBar()
})
}, },
methods: {} methods: {}
......
...@@ -4,30 +4,35 @@ ...@@ -4,30 +4,35 @@
<div class="dialogue-content" slot="content"> <div class="dialogue-content" slot="content">
<div v-if="showQ" class="dialog-item"> <div v-if="showQ" class="dialog-item">
<div class="user-content m-l">为什么这么贵?不就是一层塑料纸吗?</div> <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>
<div v-show="showR" class="dialog-item"> <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 class="user-content m-r" id="qestion-1"></div>
</div> </div>
</div> </div>
</Phone> </Phone>
<Phone class="enterprise-box" :imgName="'scrip-bg'"> <Phone class="enterprise-box" :imgName="'scrip-bg'">
<div class="enterprise" slot="content"> <div class="enterprise" slot="content">
<div class="enterprise-item">贴膜和车是没有任何关系的,别误会了,车今天开过来没有贴膜,不是一样的开过来了吗,现在您不贴膜直接开回家吃午饭也是一样能够开回去,不是说不贴膜,车子就不能开了,所以贴膜主要是保护车内人的行驶安全、舒适…</div> <div class="enterprise-item">
<div class="enterprise-item">材质是不一样的,表面上看它可能就是一层塑料,但是它里边的这个结构是非常复杂的,不同的结构,有的膜是五层、有的膜是七层、还有的十几层那都是有区别的,况且我们这个价格是全国统一价,你在官网是能查到的,这对车主来说是最公平合理。</div> 贴膜和车是没有任何关系的,别误会了,车今天开过来没有贴膜,不是一样的开过来了吗,现在您不贴膜直接开回家吃午饭也是一样能够开回去,不是说不贴膜,车子就不能开了,所以贴膜主要是保护车内人的行驶安全、舒适…
</div>
<div class="enterprise-item">
材质是不一样的,表面上看它可能就是一层塑料,但是它里边的这个结构是非常复杂的,不同的结构,有的膜是五层、有的膜是七层、还有的十几层那都是有区别的,况且我们这个价格是全国统一价,你在官网是能查到的,这对车主来说是最公平合理。
</div>
</div> </div>
</Phone> </Phone>
<div class="markeing-descript"> <div class="markeing-descript">
<div class="second-title">营销提问应答</div> <div class="second-title">营销提问应答</div>
<div class="descript"> <div class="descript">基于大量行业数据的训练和GPT的技术,智能知识库为从事汽车增值服务的销售人员提供专业的销售话术生成以及客户销售建议。</div>
基于大量行业数据的训练和GPT的技术,智能知识库为从事汽车增值服务的销售人员提供专业的销售话术生成以及客户销售建议。 <div class="qr-code">
<img src="../../../assets//images/QR-code.png" alt="" />
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import Phone from "./Phone.vue" import Phone from './Phone.vue'
export default { export default {
name: 'MarketingQuestion', name: 'MarketingQuestion',
components: { components: {
...@@ -56,7 +61,8 @@ export default { ...@@ -56,7 +61,8 @@ export default {
}, 1000) }, 1000)
}, },
addText() { addText() {
const str = '这位先生/女士/老板,一分钱一分货,就像同一款衣服,为什么有上万的,也有几百的,它材质是不一样的,表面上看它可能就是一层塑料,但是它里边的这个结构是非常复杂的,不同的结构,有的膜是五层、有的膜是七层、还有的十几层那都是有区别的,况且我们这个价格是全国统一价,你在官网是能查到的,这对车主来说是最公平合理。' const str =
'这位先生/女士/老板,一分钱一分货,就像同一款衣服,为什么有上万的,也有几百的,它材质是不一样的,表面上看它可能就是一层塑料,但是它里边的这个结构是非常复杂的,不同的结构,有的膜是五层、有的膜是七层、还有的十几层那都是有区别的,况且我们这个价格是全国统一价,你在官网是能查到的,这对车主来说是最公平合理。'
let i = 0 let i = 0
this.timer = setInterval(() => { this.timer = setInterval(() => {
if (i < str.length - 1) { if (i < str.length - 1) {
...@@ -108,7 +114,7 @@ export default { ...@@ -108,7 +114,7 @@ export default {
align-items: baseline; align-items: baseline;
padding: 0.65vh 0.26vw 0; padding: 0.65vh 0.26vw 0;
.user-content { .user-content {
background: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, 0.1);
border-radius: 4.44px 0 4.44px 4.44px; border-radius: 4.44px 0 4.44px 4.44px;
padding: 4px; padding: 4px;
} }
...@@ -136,9 +142,9 @@ export default { ...@@ -136,9 +142,9 @@ export default {
.enterprise { .enterprise {
padding-top: 8vh; padding-top: 8vh;
font-size: 7px; font-size: 7px;
color: #FFFFFF; color: #ffffff;
&-item { &-item {
background: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, 0.1);
border-radius: 4px; border-radius: 4px;
margin: 0.53vh 0.36vw; margin: 0.53vh 0.36vw;
padding: 4px; padding: 4px;
...@@ -150,15 +156,22 @@ export default { ...@@ -150,15 +156,22 @@ export default {
.second-title { .second-title {
font-size: 20px; font-size: 20px;
text-align: center; text-align: center;
color: #5894FF; color: #5894ff;
background-image: -webkit-linear-gradient(left, #0185F9, #53FAFF); background-image: -webkit-linear-gradient(left, #0185f9, #53faff);
-webkit-background-clip: text; -webkit-background-clip: text;
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
margin-bottom: 2.5vh; margin-bottom: 2.5vh;
} }
.descript { .descript {
color: #09AEF2; color: #09aef2;
font-size: 12px; 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> </style>
...@@ -26,7 +26,10 @@ export default { ...@@ -26,7 +26,10 @@ export default {
}, },
mounted() { mounted() {
this.$refs.nearThreadChartRef.drawBar() let _this = this;
_this.$nextTick(function(){
_this.$refs.nearThreadChartRef.drawBar()
})
}, },
methods: {} 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 \ No newline at end of file
...@@ -106,33 +106,47 @@ export default { ...@@ -106,33 +106,47 @@ export default {
watch: { watch: {
analysisList: { analysisList: {
handler() { handler() {
let _this = this
const { rotate, analysisList, colorList } = this const { rotate, analysisList, colorList } = this
const obj = { const obj = {
rotate, rotate,
analysisList, analysisList,
ValueAnalysis ValueAnalysis
} }
this.lineOptions = this.revese ? getBarReverseOptions(obj, colorList) : getBarOptions(obj, colorList) _this.$nextTick(function () {
this.chartBindEvent() _this.lineOptions = _this.revese ? getBarReverseOptions(obj, colorList) : getBarOptions(obj, colorList)
_this.chartBindEvent()
})
}, },
deep: true deep: true
} }
}, },
mounted() { mounted() {
this.lineDom = document.getElementById(this.domId) let _this = this
this[this.domId] = echarts.init(this.lineDom) _this.$nextTick(function () {
this.chartReaize() _this.lineDom = document.getElementById(_this.domId)
this.chartBindEvent() _this[_this.domId] = echarts.init(_this.lineDom)
_this.chartReaize()
_this.chartBindEvent()
})
}, },
methods: { methods: {
chartReaize() { chartReaize() {
window.addEventListener('resize', () => { window.addEventListener('resize', () => {
console.log(444) this[this.domId] && this[this.domId].resize()
this[this.domId].resize()
}) })
}, },
chartBindEvent() { chartBindEvent() {
if(!this[this.domId]){
return false;
}
if(this[this.domId]){
// 防止报错
if(this.lineOptions && this.lineOptions.series){
this[this.domId].setOption(this.lineOptions) this[this.domId].setOption(this.lineOptions)
}
}
if (this.revese === false) return if (this.revese === false) return
this.chartAction() this.chartAction()
this[this.domId].getZr().on( this[this.domId].getZr().on(
...@@ -172,6 +186,9 @@ export default { ...@@ -172,6 +186,9 @@ export default {
this.chartAction(this.currentData.dataIndex) this.chartAction(this.currentData.dataIndex)
}, },
chartAction(index = 7) { chartAction(index = 7) {
if(!this[this.domId]){
return false;
}
this[this.domId].dispatchAction({ this[this.domId].dispatchAction({
type: 'showTip', type: 'showTip',
seriesIndex: 0, seriesIndex: 0,
......
...@@ -28,7 +28,28 @@ export default { ...@@ -28,7 +28,28 @@ export default {
name: 'Business', name: 'Business',
data() { data() {
return { 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: [ list: [
{ {
name: '累计展业门店数', name: '累计展业门店数',
...@@ -72,20 +93,20 @@ export default { ...@@ -72,20 +93,20 @@ export default {
this.list.forEach(item => { this.list.forEach(item => {
item.value = _data[item.valueName] item.value = _data[item.valueName]
}) })
this.categoryData = [ // this.categoryData = [
{ // {
name: '精品类', // name: '精品类',
value: _data.equity // value: _data.equity
}, // },
{ // {
name: '权益类', // name: '权益类',
value: _data.membrane // value: _data.membrane
}, // },
{ // {
name: '续保类', // name: '续保类',
value: _data.electronics // value: _data.electronics
} // }
] // ]
} }
}) })
} }
......
...@@ -63,6 +63,13 @@ export default { ...@@ -63,6 +63,13 @@ export default {
.category-legend { .category-legend {
width: 4.2vw; width: 4.2vw;
margin-right: 1.81vw; 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 @@ ...@@ -8,13 +8,27 @@
--> -->
<template> <template>
<div class="project-wrap flex"> <div class="project-wrap flex">
<div class="project-item flex" v-for="(item, index) in projectList" :key="index"> <div class="project-item" v-for="(item, index) in projectList" :key="index">
<div class="project-left"> <div class="project-title">{{ item.name }}</div>
<div :class="['project-title', { fontSmall: index == 3 }]">{{ item.name }}</div> <div class="project-subtitle">
<div class="project-icon"><img src="@/assets/images/arrow.png" alt="" /></div> <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>
<div class="project-right flex"> <div class="project-right">
<div class="project-content-item"> <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-desc">展业门店数</div>
<div class="project-content-num">{{ item.totalNum }}</div> <div class="project-content-num">{{ item.totalNum }}</div>
</div> </div>
...@@ -33,7 +47,7 @@ ...@@ -33,7 +47,7 @@
<div class="project-content-item"> <div class="project-content-item">
<div class="project-content-desc">GMV</div> <div class="project-content-desc">GMV</div>
<div class="project-content-num">{{ numAddSymbol(item.outputValue) }}</div> <div class="project-content-num">{{ numAddSymbol(item.outputValue) }}</div>
</div> </div> -->
</div> </div>
</div> </div>
</div> </div>
...@@ -44,15 +58,51 @@ export default { ...@@ -44,15 +58,51 @@ export default {
name: 'Project', name: 'Project',
data() { data() {
return { 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() { mounted() {
this.getBusinessType() // this.getBusinessType()
}, },
methods: { methods: {
toFixRatio(val) { toFixRatio(val) {
if(!val){ if (!val) {
return '0.00%' return '0.00%'
} }
return (val * 100).toFixed(2) + '%' return (val * 100).toFixed(2) + '%'
...@@ -78,61 +128,49 @@ export default { ...@@ -78,61 +128,49 @@ export default {
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-between; justify-content: space-between;
.project-item { .project-item {
width: 49.6%; width: 10vw;
background: #0E2141; height: 12vh;
.project-left { background-image: url(../../../assets/images/bg@2x.png);
width: 2.8vw; background-size: 100% 100%;
padding: 0px 0.4vw;
height: 5.61vh;
background-image: linear-gradient(270deg, #6578FF 0%, #079FF1 100%);
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.project-title { .project-title {
color: #e8e8e8; 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;
}
.project-subtitle {
font-weight: 400;
font-size: 12px; font-size: 12px;
line-height: 12px; background: linear-gradient(to right, #01a4f9, #6df5f9); /* 从左到右渐变 */
margin-top: 0.4vh; -webkit-background-clip: text; /* Safari/Chrome支持该属性 */
// &.fontSmall { color: transparent; /* 将文本颜色设置为透明 */
// font-size: 9px; text-align: center;
// } .img-icon {
width: 0.52vw;
height: 0.19vh;
vertical-align: middle;
} }
.project-icon { span {
width: 0.83vw; margin: 0 0.34vw;
height: 0.98vh;
margin: 0 auto;
margin-top: 0.24vh;
} }
} }
.project-right { .project-right {
flex: 1; flex: 1;
padding: 0 1.2vw;
.project-content-item { .project-content-item {
&:first-child { justify-content: space-between;
width: 22%; // margin-bottom: 0.14vh;
}
&:nth-child(2) {
width: 16%;
}
&:nth-child(3) {
width: 16%;
}
&:nth-child(4) {
width: 17%;
}
&:nth-child(5) {
width: 28%;
}
padding-left: 0.5vw;
.project-content-desc { .project-content-desc {
font-size: 12px; font-size: 9px;
color: #dddddd; color: #dddddd;
} }
.project-content-num { .project-content-num {
font-weight: 700;
font-size: 12px; font-size: 12px;
color: #ffffff; 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!