Commit 2d111c87 by 前端

惠州展厅

1 parent 73843273
<!--
* @Description:
* @Description:
* @Author: huyue
* @Date: 2023-07-06 11:46:13
* @LastEditors: huyue
* @LastEditTime: 2024-01-26 17:16:49
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-02-13 14:14:52
-->
<template>
<div class="text-box" :style="{'font-size': fontSize + 'px', 'text-align': textAlign}">{{ title }}</div>
<div class="text-box" :style="{ 'font-size': fontSize + 'px', 'text-align': textAlign }">{{ title }}</div>
</template>
<script>
......@@ -20,7 +20,7 @@ export default {
},
fontSize: {
type: Number,
default: 24
default: 20
},
textAlign: String
},
......@@ -40,7 +40,7 @@ export default {
font-family: SourceHanSansCN-Bold;
font-weight: 700;
letter-spacing: 0;
background: linear-gradient(to right, #01A4F9, #6DF5F9); /* 从左到右渐变 */
background: linear-gradient(to right, #01a4f9, #6df5f9); /* 从左到右渐变 */
-webkit-background-clip: text; /* Safari/Chrome支持该属性 */
color: transparent; /* 将文本颜色设置为透明 */
padding-top: 5px;
......
<!--
* @Description:
* @Description:
* @Author: huyue
* @Date: 2024-07-09 10:35:58
* @LastEditors: huyue
* @LastEditTime: 2024-07-10 14:16:38
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-02-13 14:50:49
-->
<template>
<div class="AI-box">
<BoxTitle :title="'AI对话调用次数及覆盖门店'" :fontSize="18"></BoxTitle>
<BoxTitle :title="'AI对话调用次数及覆盖门店'" :fontSize="15"></BoxTitle>
<img class="bottom-line" src="@/assets/images/bottomLine.png" alt="" />
<BarLineChart ref="AITalkRef" height="15.83vh" domId="AITalk" :dataList.sync="AIBarLineData"></BarLineChart>
<BarLineChart ref="AITalkRef" height="16.83vh" domId="AITalk" :dataList.sync="AIBarLineData"></BarLineChart>
</div>
</template>
......
<!--
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-01-26 16:23:12
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-02-13 14:10:27
* @FilePath: \glsk-data-view-scene\src\views\lifeSceneDataPage\components\ActivityRate.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
<div class="rate-box">
<BoxTitle :title="'各活动类型占比'" :fontSize="16"></BoxTitle>
<pie-chart :id="chart.id" :keys="chart.keys" :list="activityListData" :formatter="'total'" :formatterName="'累计营销活动'" :formtUnit="'场'" :height="chart.height" :colors="chart.colors"></pie-chart>
<BoxTitle :title="'各活动类型占比'" :fontSize="14"></BoxTitle>
<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>
<script>
import { activityListData } from "../const/index"
import { activityListData } from '../const/index'
export default {
name: 'ActivityRate',
......@@ -51,8 +68,8 @@ export default {
width: 15vw;
height: 34.23vh;
background-image: url(../../../assets/images/rate-bg.png);
background-size: 100% 100%;
padding: 3.61vh 1.59vw 2.69vh 1.04vw;
background-size: 100% 100%;
padding: 3.61vh 1.59vw 2.69vh 1.04vw;
}
.legend {
margin-top: 2vh;
......
......@@ -39,8 +39,8 @@ function getBarLineOptions(obj) {
],
grid: {
left: '3%',
right: '2%',
top: '20%',
right: '0%',
top: '25%',
bottom: '6%',
containLabel: true
},
......@@ -53,27 +53,28 @@ function getBarLineOptions(obj) {
show: true,
position: 'top',
color: '#fff',
formatter: (params) => {
formatter: params => {
return utils.numAddSymbol(params.value)
}
},
itemStyle: {
barBorderRadius: [2, 2, 0, 0], // 柱体圆角
color: function(params) {
return new echarts.graphic.LinearGradient(
0, 0, 0, 1, [{ // 代表渐变色从正上方开始
color: function (params) {
return new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{
// 代表渐变色从正上方开始
offset: 0, // offset范围是0~1,用于表示位置,0是指0%处的颜色
color: '#00C8FF'
}, // 柱图渐变色
// {
// offset: 0.5, // 指100%处的颜色
// color: '#223FA9'
// },
// {
// offset: 0.5, // 指100%处的颜色
// color: '#223FA9'
// },
{
offset: 1, // 指100%处的颜色
color: '#0069F2'
}]
)
}
])
}
}
},
......
......@@ -2,12 +2,12 @@
* @Description: 右下
* @Author: huyue
* @Date: 2024-01-26 21:05:56
* @LastEditors: huyue
* @LastEditTime: 2024-07-12 10:47:23
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-02-13 14:12:54
-->
<template>
<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="12"></BoxTitle>
<div>基于大模型能力,快速生成个性化的活动标题、营销文案和活动海报,提升门店营销效率。</div>
<div v-show="isLoading" class="loadding">
<div class="wrap">
......@@ -98,7 +98,7 @@ export default {
console.log(111)
},
closeDialog() {
console.log(7777777);
console.log(7777777)
this.dialogShow = false
}
},
......@@ -123,6 +123,7 @@ export default {
margin-top: 1.4vh;
.top-title {
margin-bottom: 1.93vh;
padding-top: 15px;
}
img {
width: 19.33vw;
......
<!--
* @Description:
* @Description:
* @Author: huyue
* @Date: 2024-07-09 10:35:58
* @LastEditors: huyue
* @LastEditTime: 2024-07-10 15:44:05
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-02-13 14:10:06
-->
<template>
<div class="big-module-box">
<BoxTitle :title="'使用大模型创建活动的趋势'" :fontSize="16"></BoxTitle>
<BoxTitle :title="'使用大模型创建活动的趋势'" :fontSize="14"></BoxTitle>
<BarChart class="bar-chart" ref="bigModuleChartRef" :height="'25.83vh'" domId="bigModuleChart" :dataList.sync="bigModuleChartDataList"></BarChart>
</div>
</template>
......@@ -25,7 +25,7 @@ export default {
},
mounted() {
let _this = this;
let _this = this
_this.$nextTick(function () {
_this.$refs.bigModuleChartRef.drawBar()
})
......@@ -41,7 +41,7 @@ export default {
width: 15vw;
height: 34.23vh;
background-image: url(../../../assets/images/big-module-bg.png);
background-size: 100% 100%;
padding: 3.61vh 1.59vw 5.93vh 0.78vw;
background-size: 100% 100%;
padding: 3.61vh 1.59vw 5.93vh 0.78vw;
}
</style>
......@@ -2,12 +2,12 @@
* @Description: 3D
* @Author: huyue
* @Date: 2024-01-26 11:36:05
* @LastEditors: huyue
* @LastEditTime: 2024-07-10 10:43:14
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-02-13 14:09:50
-->
<template>
<div class="hot-box">
<BoxTitle class="hot-title" :title="'提问热词'" :fontSize="16"></BoxTitle>
<BoxTitle class="hot-title" :title="'提问热词'" :fontSize="14"></BoxTitle>
<div class="tagcloud"></div>
</div>
</template>
......@@ -64,7 +64,7 @@ export default {
}
&::after {
content: '';
display:block;
display: block;
width: 0.73vw;
height: 2.04vh;
position: absolute;
......@@ -84,8 +84,8 @@ export default {
span {
font-size: 10px;
color: #5894FF;
background-image: -webkit-linear-gradient(left, #d8ffed, #53FAFF);
color: #5894ff;
background-image: -webkit-linear-gradient(left, #d8ffed, #53faff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
......
<!--
* @Description:
* @Description:
* @Author: huyue
* @Date: 2024-01-26 11:36:05
* @LastEditors: huyue
* @LastEditTime: 2024-07-10 15:14:45
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-02-13 14:09:11
-->
<template>
<div class="near-thread-box">
<BoxTitle :title="'近12个月的线索推送情况'" :fontSize="18"></BoxTitle>
<BoxTitle :title="'近12个月的线索推送情况'" :fontSize="15"></BoxTitle>
<!-- <img class="bottom-line" src="@/assets/images/bottomLine.png" alt="" /> -->
<BarChart ref="nearThreadChartRef" :height="'28.77vh'" domId="nearThreadChart" :dataList.sync="nearThreadDataList"></BarChart>
</div>
......@@ -26,8 +26,8 @@ export default {
},
mounted() {
let _this = this;
_this.$nextTick(function(){
let _this = this
_this.$nextTick(function () {
_this.$refs.nearThreadChartRef.drawBar()
})
},
......
......@@ -93,7 +93,7 @@ export default {
// border: 4px solid rgba(18, 117, 248, 0.5);
box-sizing: border-box;
// margin: 20px calc((100vw - 1560px) / 2);
margin: 20px auto;
margin: 200px auto;
position: relative;
display: flex;
justify-content: center;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!