Commit 2d111c87 by 前端

惠州展厅

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