style(login): 优化登录页面布局和样式

- 调整登录页面标题样式,增加 logo 图片尺寸和样式
- 添加版权所有链接,可跳转至公司官网
- 修复智能代理儿童组件中的日志和概览页面问题
- 优化图表标题样式,移除多余的换行符
- 增加时间选择器的 change 事件处理,动态更新图表标题
This commit is contained in:
陈昱达
2025-05-06 15:28:00 +08:00
parent 168df36665
commit 468b8a4407
2 changed files with 39 additions and 6 deletions

View File

@@ -8,8 +8,8 @@
auto-complete="on" auto-complete="on"
> >
<div class="title-container flex"> <div class="title-container flex">
<img :src="xing" alt="" /> <img :src="xing" alt="" style="width: 25px;height: 23px" />
<h3 class="title">欢迎登录</h3> <h3 class="title ml5">欢迎登录</h3>
</div> </div>
<el-form-item prop="userName" class="login-input" label="账号ID"> <el-form-item prop="userName" class="login-input" label="账号ID">
@@ -68,7 +68,12 @@
</div> </div>
<div class="tip"> <div class="tip">
<!-- <p>版权所有© 天津易商数科科技股份有限公司2025</p>--> <p>
版权所有©
<a href="http://www.ebiz-interactive.com/" target="_blank"
>天津易商数科科技股份有限公司2025</a
>
</p>
<!-- <p>京公网安备 ICP许可证号津ICP备14004859号-4</p>--> <!-- <p>京公网安备 ICP许可证号津ICP备14004859号-4</p>-->
</div> </div>
</div> </div>

View File

@@ -1,6 +1,11 @@
<template> <template>
<div class="p10"> <div class="p10">
<el-select v-model="times" style="width: 200px" size="medium"> <el-select
v-model="times"
style="width: 200px"
size="medium"
@change="changeTime"
>
<el-option <el-option
v-for="item in options" v-for="item in options"
:value="item.value" :value="item.value"
@@ -12,6 +17,7 @@
style="flex-wrap: wrap" style="flex-wrap: wrap"
> >
<REcharts <REcharts
:key="item.options.title.subtext"
v-for="item in list" v-for="item in list"
:options="item.options" :options="item.options"
style="width: calc(50% - 10px);height: 300px" style="width: calc(50% - 10px);height: 300px"
@@ -190,7 +196,7 @@ export default {
{ {
options: { options: {
title: { title: {
text: '用户满意度\n', text: '用户满意度',
textStyle: { textStyle: {
fontSize: 13 fontSize: 13
}, },
@@ -229,7 +235,7 @@ export default {
{ {
options: { options: {
title: { title: {
text: '费用消耗\n', text: '费用消耗',
textStyle: { textStyle: {
fontSize: 13 fontSize: 13
}, },
@@ -313,6 +319,28 @@ export default {
}, },
filters: {}, filters: {},
methods: { methods: {
changeTime(value) {
let label = this.findLabel(value)
this.list = this.list.map(item => {
return {
options: {
...item.options,
title: {
...item.options.title,
subtext: label
}
}
}
})
console.log(this.list)
},
// 查找label
findLabel(value) {
return this.options.find(item =>
item.value === value ? value : this.value
).label
},
async getEcharts() { async getEcharts() {
// let dailyConversationsApi = await dailyConversations({ // let dailyConversationsApi = await dailyConversations({
// id: '27f6f211-6c74-4de8-9424-c1ba28d365c2' // id: '27f6f211-6c74-4de8-9424-c1ba28d365c2'