优化ScrollContainer组件样式和Y轴参考线样式
This commit is contained in:
parent
fcc2926209
commit
fe08137ea1
|
|
@ -1,10 +1,14 @@
|
||||||
<template>
|
<template>
|
||||||
<div :class="containerClass" ref="scrollContainer">
|
<div :class="containerClass" ref="scrollContainer">
|
||||||
<div v-for="(item, index) in displayData" :key="index" class="containner4-data"
|
<div class="scroll-content">
|
||||||
:class="{ 'temporary-style': item.showTemporaryStyle }">
|
<div v-for="(item, index) in displayData" :key="index" class="containner4-data"
|
||||||
<img :src="item.avatar" alt="人物头像" />
|
:class="{ 'temporary-style': item.showTemporaryStyle }">
|
||||||
<p1 style="margin-left: 10px;">{{ item.commenter }}</p1>
|
<img :src="item.avatar" alt="人物头像" />
|
||||||
<p style="margin-left: 10px;">{{ item.comment }}</p>
|
<div class="data-content">
|
||||||
|
<div class="commenter">{{ item.commenter }}</div>
|
||||||
|
<div class="comment">{{ item.comment }}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -42,7 +46,6 @@ const initDisplayData = () => {
|
||||||
// 开始自动滚动
|
// 开始自动滚动
|
||||||
const startAutoScroll = () => {
|
const startAutoScroll = () => {
|
||||||
if (!scrollContainer.value) return;
|
if (!scrollContainer.value) return;
|
||||||
|
|
||||||
scrollTimer.value = setInterval(() => {
|
scrollTimer.value = setInterval(() => {
|
||||||
scrollContainer.value.scrollTop += 1;
|
scrollContainer.value.scrollTop += 1;
|
||||||
if (scrollContainer.value.scrollTop >= scrollContainer.value.scrollHeight / 2) {
|
if (scrollContainer.value.scrollTop >= scrollContainer.value.scrollHeight / 2) {
|
||||||
|
|
@ -93,32 +96,91 @@ onBeforeUnmount(() => {
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.containner4-alldata {
|
.containner4-alldata {
|
||||||
height: 330px;
|
font-weight: 300;
|
||||||
overflow: hidden;
|
height: 300px;
|
||||||
padding: 10px;
|
overflow-x: hidden;
|
||||||
|
overflow-y: auto;
|
||||||
|
padding: 15px;
|
||||||
|
background-color: rgba(4, 20, 33, 0.5);
|
||||||
|
border-radius: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.containner4-alldata::-webkit-scrollbar {
|
||||||
|
width: 6px;
|
||||||
|
}
|
||||||
|
.containner4-alldata::-webkit-scrollbar-track {
|
||||||
|
background: rgba(255, 255, 255, 0.1);
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
.containner4-alldata::-webkit-scrollbar-thumb {
|
||||||
|
background: rgba(78, 162, 245, 0.5);
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
.containner4-alldata::-webkit-scrollbar-thumb:hover {
|
||||||
|
background: rgba(78, 162, 245, 0.8);
|
||||||
|
}
|
||||||
|
|
||||||
|
.scroll-content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.containner4-data {
|
.containner4-data {
|
||||||
color: rgba(0, 0, 0, 0.8);
|
color: #E1F4FF;
|
||||||
font-family: "PingFang SC";
|
font-family: "PingFang SC", sans-serif;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 00;
|
font-weight: 200;
|
||||||
line-height: normal;
|
line-height: 22px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
letter-spacing: 0.14px;
|
letter-spacing: 0.14px;
|
||||||
margin-left: 25px;
|
padding: 12px 16px;
|
||||||
margin-top: 25px;
|
background-image: linear-gradient(135deg, #4ea2f566, #1C588F66);
|
||||||
background-image: linear-gradient(to right,#4ea2f599, #646464);
|
border-radius: 10px;
|
||||||
border-radius: 8px;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
|
||||||
.containner4-alldata .text-content {
|
|
||||||
margin-left: 100px;
|
|
||||||
}
|
|
||||||
.containner4-data img{
|
|
||||||
width: 24px;
|
|
||||||
height: px;
|
|
||||||
border-radius:88px ;
|
|
||||||
margin-top: 10px;
|
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
|
width: 90%;
|
||||||
|
max-width: 90%;
|
||||||
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
border: 1px solid rgba(78, 162, 245, 0.3);
|
||||||
|
}
|
||||||
|
|
||||||
|
.containner4-data:hover {
|
||||||
|
transform: translateY(-2px);
|
||||||
|
box-shadow: 0 4px 12px rgba(78, 162, 245, 0.3);
|
||||||
|
background-image: linear-gradient(135deg, #4ea2f588, #1C588F88);
|
||||||
|
}
|
||||||
|
|
||||||
|
.containner4-data img {
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
border-radius: 8px;
|
||||||
|
margin-right: 12px;
|
||||||
|
object-fit: cover;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.data-content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.commenter {
|
||||||
|
font-weight: 500;
|
||||||
|
color: #FFFFFF;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.comment {
|
||||||
|
font-size: 13px;
|
||||||
|
color: rgba(225, 244, 255, 0.9);
|
||||||
|
max-width: 80%;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -7,7 +7,6 @@
|
||||||
<div class="tooltip-containner-data">
|
<div class="tooltip-containner-data">
|
||||||
<li><img :src="currentItem.img" alt="" style=""></li>
|
<li><img :src="currentItem.img" alt="" style=""></li>
|
||||||
<li v-if="currentItem.title.includes('中国海警首次登检菲律宾运补船只')"><chart32_-inspection /></li>
|
<li v-if="currentItem.title.includes('中国海警首次登检菲律宾运补船只')"><chart32_-inspection /></li>
|
||||||
<<<<<<< HEAD
|
|
||||||
<li v-else-if="currentItem.title.includes('中方回应菲称我海警挥舞刀具')"> <Chart33_WavingBlades /></li>
|
<li v-else-if="currentItem.title.includes('中方回应菲称我海警挥舞刀具')"> <Chart33_WavingBlades /></li>
|
||||||
<li v-else-if="currentItem.title.includes('中国海警夺回菲方盗窃赃物')"><Chart34_RecoveredGoods /></li>
|
<li v-else-if="currentItem.title.includes('中国海警夺回菲方盗窃赃物')"><Chart34_RecoveredGoods /></li>
|
||||||
<li v-else-if="currentItem.title.includes('菲自曝被中国海警缴枪的是顶级特种部队')"><Chart35_SpecialForces /></li>
|
<li v-else-if="currentItem.title.includes('菲自曝被中国海警缴枪的是顶级特种部队')"><Chart35_SpecialForces /></li>
|
||||||
|
|
@ -16,17 +15,6 @@
|
||||||
<li style="margin-left: 10px; margin-top:20px;"><img src="../assets/images/logo/point.png"
|
<li style="margin-left: 10px; margin-top:20px;"><img src="../assets/images/logo/point.png"
|
||||||
alt="" style="margin-bottom: -7px;">最初首发者: {{ currentItem.earler }} </li>
|
alt="" style="margin-bottom: -7px;">最初首发者: {{ currentItem.earler }} </li>
|
||||||
<li style="margin-left: 10px;"><img src="../assets/images/logo/point.png" alt="" style="margin-bottom: -7px;">积极评论者:{{ currentItem.comenter
|
<li style="margin-left: 10px;"><img src="../assets/images/logo/point.png" alt="" style="margin-bottom: -7px;">积极评论者:{{ currentItem.comenter
|
||||||
=======
|
|
||||||
<li v-else-if="currentItem.title.includes('中方回应菲称我海警挥舞刀具')">
|
|
||||||
<Chart33_WavingBlades />
|
|
||||||
</li>
|
|
||||||
<li v-else-if="currentItem.title.includes('中国海警夺回菲方盗窃赃物')">
|
|
||||||
<Chart34_RecoveredGoods />
|
|
||||||
</li>
|
|
||||||
<li style="margin-left: 10px; margin-top: 20px;"><img src="../assets/images/logo/point.png"
|
|
||||||
alt="">最初首发者: {{ currentItem.earler }} </li>
|
|
||||||
<li style="margin-left: 10px;"><img src="../assets/images/logo/point.png" alt="">积极评论者:{{ currentItem.comenter
|
|
||||||
>>>>>>> 33171231818e20d0f810df4ae56f3620727af4df
|
|
||||||
}}</li>
|
}}</li>
|
||||||
<li style="margin-left: 200px;margin-top: -45px;"><img src="../assets/images/logo/point.png" alt="" style="margin-bottom: -7px;">锚点用户{{
|
<li style="margin-left: 200px;margin-top: -45px;"><img src="../assets/images/logo/point.png" alt="" style="margin-bottom: -7px;">锚点用户{{
|
||||||
currentItem.keyuser }}</li>
|
currentItem.keyuser }}</li>
|
||||||
|
|
@ -122,12 +110,10 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="suggestion-containner">
|
<div class="suggestion-containner">
|
||||||
<ul>
|
<ul>
|
||||||
<!-- 只显示第一个按钮 -->
|
|
||||||
|
|
||||||
<li v-for="(item, index) in filteredData" :key="item.id" @click="openDetailModal(item)"
|
<li v-for="(item, index) in filteredData" :key="item.id" @click="openDetailModal(item)"
|
||||||
@mouseenter="handleMouseEnter(item.id)" @mouseleave="handleMouseLeave()"
|
@mouseenter="handleMouseEnter(item.id)" @mouseleave="handleMouseLeave()"
|
||||||
:class="{ 'hover-item': hoverItemId === item.id }">
|
:class="{ 'hover-item': hoverItemId === item.id }">
|
||||||
<img :src="item.avatar">
|
<img :src="item.avatar" style="width: 38px;margin-left: 20px;margin-top: 5px;border-radius: 5px;">
|
||||||
<!-- 显示其他信息 -->
|
<!-- 显示其他信息 -->
|
||||||
<div class="span-data">
|
<div class="span-data">
|
||||||
<span class="span-1">{{ item.name }}</span>
|
<span class="span-1">{{ item.name }}</span>
|
||||||
|
|
@ -135,9 +121,10 @@
|
||||||
<span class="span-3">推荐监控频率{{ item.transmit }}</span>
|
<span class="span-3">推荐监控频率{{ item.transmit }}</span>
|
||||||
</div>
|
</div>
|
||||||
<button v-if="index === 0"
|
<button v-if="index === 0"
|
||||||
style="background-image: url('src/assets/images/logo/定位.png'); background-size: cover; background-repeat: no-repeat; background-position: center;margin-left: 340px;margin-top: -100px;width: 20px;height: 20px;border-radius: 0px;border: 0;cursor: pointer;"
|
style="background-image: url('src/assets/images/logo/定位.png'); background-size: cover; background-repeat: no-repeat; background-position: center;margin-left: 370px;margin-top: -90px;width: 20px;height: 20px;border-radius: 0px;border: 0;cursor: pointer;"
|
||||||
@click.stop="handleLocateMark"></button>
|
@click.stop="handleLocateMark"></button>
|
||||||
</li>
|
</li>
|
||||||
|
<li v-if="index < filteredData.length - 1" class="divider"></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -239,11 +226,8 @@ import { useActionStore } from '@/store';
|
||||||
import Chart32_Inspection from '@/components/Chart32_Inspection(1).vue';
|
import Chart32_Inspection from '@/components/Chart32_Inspection(1).vue';
|
||||||
import Chart33_WavingBlades from '@/components/Chart33_WavingBlades(1).vue';
|
import Chart33_WavingBlades from '@/components/Chart33_WavingBlades(1).vue';
|
||||||
import Chart34_RecoveredGoods from '@/components/Chart34_RecoveredGoods(1).vue';
|
import Chart34_RecoveredGoods from '@/components/Chart34_RecoveredGoods(1).vue';
|
||||||
<<<<<<< HEAD
|
|
||||||
import Chart35_SpecialForces from '@/components/Chart35_SpecialForces(1).vue';
|
import Chart35_SpecialForces from '@/components/Chart35_SpecialForces(1).vue';
|
||||||
import Chart36_Dialogue from '@/components/Chart36_Dialogue(1).vue';
|
import Chart36_Dialogue from '@/components/Chart36_Dialogue(1).vue';
|
||||||
=======
|
|
||||||
>>>>>>> 33171231818e20d0f810df4ae56f3620727af4df
|
|
||||||
|
|
||||||
|
|
||||||
let myChart = null;
|
let myChart = null;
|
||||||
|
|
@ -1071,9 +1055,40 @@ const updateChart = () => {
|
||||||
type: 'pie',
|
type: 'pie',
|
||||||
radius: ['40%', '70%'],
|
radius: ['40%', '70%'],
|
||||||
center: ['40%', '50%'],
|
center: ['40%', '50%'],
|
||||||
|
padAngle: 5,
|
||||||
avoidLabelOverlap: false,
|
avoidLabelOverlap: false,
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
borderRadius: 10,
|
borderRadius: 0,
|
||||||
|
borderColor: '#fff',
|
||||||
|
borderWidth: 1
|
||||||
|
},
|
||||||
|
label: {
|
||||||
|
show: false,
|
||||||
|
position: 'outside'
|
||||||
|
},
|
||||||
|
emphasis: {
|
||||||
|
label: {
|
||||||
|
show: true,
|
||||||
|
fontSize: 16,
|
||||||
|
fontWeight: 'bold',
|
||||||
|
color: '#fff'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
labelLine: {
|
||||||
|
show: false
|
||||||
|
},
|
||||||
|
data: data
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{
|
||||||
|
name: currentChartType.value === 'registration' ? '注册时间分布' : '行为模式分布',
|
||||||
|
type: 'pie',
|
||||||
|
radius: ['20%', '30%'],
|
||||||
|
center: ['40%', '50%'],
|
||||||
|
padAngle: 10,
|
||||||
|
avoidLabelOverlap: false,
|
||||||
|
itemStyle: {
|
||||||
|
borderRadius: 0,
|
||||||
borderColor: '#fff',
|
borderColor: '#fff',
|
||||||
borderWidth: 2
|
borderWidth: 2
|
||||||
},
|
},
|
||||||
|
|
@ -1093,8 +1108,7 @@ const updateChart = () => {
|
||||||
show: false
|
show: false
|
||||||
},
|
},
|
||||||
data: data
|
data: data
|
||||||
}
|
}]
|
||||||
]
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -1169,10 +1183,20 @@ onMounted(() => {
|
||||||
trigger: 'axis'
|
trigger: 'axis'
|
||||||
},
|
},
|
||||||
legend: {
|
legend: {
|
||||||
data: ['活跃预警事件', '高风险事件']
|
data: ['活跃预警事件', '高风险事件'],
|
||||||
|
textStyle: {
|
||||||
|
fontSize: 14, // 字体大小
|
||||||
|
fontWeight: 'bold', // 字体粗细(normal/bold/bolder/lighter/100-900)
|
||||||
|
color: '#E1F4FF', // 字体颜色
|
||||||
|
fontFamily: '微软雅黑, Arial, sans-serif', // 字体族
|
||||||
|
fontWeight:200,
|
||||||
|
fontStyle: 'normal' // 字体风格(normal/italic/oblique)
|
||||||
|
},
|
||||||
},
|
},
|
||||||
grid: {
|
grid: {
|
||||||
left: '5%',
|
left: '5%',
|
||||||
|
top: '30%', // 距离容器顶部
|
||||||
|
bottom: '1%',
|
||||||
containLabel: true
|
containLabel: true
|
||||||
},
|
},
|
||||||
toolbox: {
|
toolbox: {
|
||||||
|
|
@ -1195,9 +1219,9 @@ onMounted(() => {
|
||||||
// margin:15,
|
// margin:15,
|
||||||
textStyle: {
|
textStyle: {
|
||||||
color: '#a8aab0',
|
color: '#a8aab0',
|
||||||
fontStyle: 'normal',
|
fontStyle: 'normal',
|
||||||
fontFamily: '微软雅黑',
|
fontFamily: '微软雅黑',
|
||||||
fontSize: 12,
|
fontSize: 12,
|
||||||
},
|
},
|
||||||
formatter: function (params) {
|
formatter: function (params) {
|
||||||
var newParamsName = "";
|
var newParamsName = "";
|
||||||
|
|
@ -1228,16 +1252,15 @@ onMounted(() => {
|
||||||
show: false,
|
show: false,
|
||||||
},
|
},
|
||||||
axisLine: {//坐标轴轴线相关设置
|
axisLine: {//坐标轴轴线相关设置
|
||||||
lineStyle: {
|
show: false
|
||||||
color: '#E5E9ED',
|
|
||||||
// opacity:0.2
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
splitLine: { //坐标轴在 grid 区域中的分隔线。
|
splitLine: { //坐标轴在 grid 区域中的分隔线。
|
||||||
show: false,
|
show: true,
|
||||||
lineStyle: {
|
lineStyle: {
|
||||||
color: '#E5E9ED',
|
color: 'rgba(229, 233, 237, 0.3)', // 半透明浅灰色
|
||||||
// opacity:0.1
|
type: 'dashed', // 虚线样式
|
||||||
|
width: 1, // 线条宽度
|
||||||
|
opacity: 0.7 // 线条透明度
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -1263,8 +1286,10 @@ onMounted(() => {
|
||||||
splitLine: {
|
splitLine: {
|
||||||
show: true,
|
show: true,
|
||||||
lineStyle: {
|
lineStyle: {
|
||||||
color: '#E5E9ED',
|
color: 'rgba(229, 233, 237, 0.3)', // 半透明浅灰色
|
||||||
// opacity:0.1
|
type: 'dashed', // 虚线样式
|
||||||
|
width: 1, // 线条宽度
|
||||||
|
opacity: 0.7 // 线条透明度
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1495,12 +1520,11 @@ onUnmounted(() => {
|
||||||
.containner4 {
|
.containner4 {
|
||||||
width: 457px;
|
width: 457px;
|
||||||
height: 394px;
|
height: 394px;
|
||||||
margin-left: 16px;
|
margin-left: 10px;
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
background-color: #04142166;
|
background-color: #04142166;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 0px;
|
border-width: 0px;
|
||||||
border-image: linear-gradient(to bottom, #3AA1F8, #3AA1F833) 1;
|
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
/* 添加内阴影 */
|
/* 添加内阴影 */
|
||||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||||
|
|
@ -1511,9 +1535,9 @@ onUnmounted(() => {
|
||||||
}
|
}
|
||||||
|
|
||||||
.temporary-style {
|
.temporary-style {
|
||||||
background-image: linear-gradient(to right, #003F7D, #5DB9FF7A);
|
background-image: linear-gradient(to right, #003F7D, #003F7D);
|
||||||
border-image: linear-gradient(to bottom, #95CEFF, #3AA1F833);
|
border-image: linear-gradient(to bottom, #003F7D, #003F7D);
|
||||||
border: 0px solid;
|
border: 1px solid;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
@ -1652,23 +1676,17 @@ onUnmounted(() => {
|
||||||
}
|
}
|
||||||
|
|
||||||
.suggestion li {
|
.suggestion li {
|
||||||
width: 360px;
|
width: 395px;
|
||||||
height: 48px;
|
height: 52px;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
margin-left: 30px;
|
margin-bottom: 15px;
|
||||||
border-radius: 8px;
|
margin-left: 10px;
|
||||||
}
|
border-radius: 5px;
|
||||||
|
|
||||||
.suggestion li img {
|
|
||||||
width: 48px;
|
|
||||||
height: 48px;
|
|
||||||
margin-right: 10px;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.suggestion li:hover {
|
.suggestion li:hover {
|
||||||
background-image: linear-gradient(to bottom, #07293D, #050B23);
|
background-image: linear-gradient(to bottom, #07293D, #07293D);
|
||||||
}
|
}
|
||||||
|
|
||||||
.suggestion-containner {
|
.suggestion-containner {
|
||||||
|
|
@ -1695,20 +1713,20 @@ onUnmounted(() => {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin-left: 80px;
|
margin-left: 80px;
|
||||||
margin-top: -50px;
|
margin-top: -45px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.span-1 {
|
.span-1 {
|
||||||
font-family: OPPOSans;
|
font-family: OPPOSans;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
font-size: 16px;
|
font-size: 14px;
|
||||||
margin-top: -5px;
|
margin-left: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.span-2 {
|
.span-2 {
|
||||||
font-family: PingFang SC;
|
font-family: PingFang SC;
|
||||||
font-weight: 200;
|
font-weight: 100;
|
||||||
font-size: 14px;
|
font-size: 12px;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1720,7 +1738,13 @@ onUnmounted(() => {
|
||||||
margin-left: 150px;
|
margin-left: 150px;
|
||||||
margin-top: -20px;
|
margin-top: -20px;
|
||||||
}
|
}
|
||||||
|
.divider {
|
||||||
|
height: 1px; /* 必须设置高度才能显示 */
|
||||||
|
background-color: #e5e5e5; /* 确保颜色与背景有对比度 */
|
||||||
|
margin: 8px 0; /* 上下间距 */
|
||||||
|
list-style: none; /* 移除默认列表样式 */
|
||||||
|
width: 100%; /* 确保宽度足够 */
|
||||||
|
}
|
||||||
.suggestions li {
|
.suggestions li {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
@ -1806,43 +1830,6 @@ onUnmounted(() => {
|
||||||
height: 200px;
|
height: 200px;
|
||||||
max-height: 200px;
|
max-height: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.color-block1 {
|
|
||||||
width: 10px;
|
|
||||||
height: 10px;
|
|
||||||
background-color: #D83D6C;
|
|
||||||
display: inline-block;
|
|
||||||
margin-right: 5px;
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.color-block2 {
|
|
||||||
width: 10px;
|
|
||||||
height: 10px;
|
|
||||||
background-color: #00CEFF;
|
|
||||||
display: inline-block;
|
|
||||||
margin-right: 5px;
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.color-block3 {
|
|
||||||
width: 10px;
|
|
||||||
height: 10px;
|
|
||||||
background-color: #D3ADF7;
|
|
||||||
display: inline-block;
|
|
||||||
margin-right: 5px;
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.color-block4 {
|
|
||||||
width: 10px;
|
|
||||||
height: 10px;
|
|
||||||
background-color: #1890FF;
|
|
||||||
display: inline-block;
|
|
||||||
margin-right: 5px;
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.intime li {
|
.intime li {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
|
|
@ -1875,7 +1862,7 @@ onUnmounted(() => {
|
||||||
}
|
}
|
||||||
|
|
||||||
.containner3-img {
|
.containner3-img {
|
||||||
margin-top: 70px;
|
margin-top:5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.focus-events {
|
.focus-events {
|
||||||
|
|
@ -1979,7 +1966,7 @@ onUnmounted(() => {
|
||||||
background-color: #04142166;
|
background-color: #04142166;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 0px;
|
border-width: 0px;
|
||||||
border-image: linear-gradient(to bottom, #67A4E199, #3AA1F833) 1;
|
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
/* 添加内阴影 */
|
/* 添加内阴影 */
|
||||||
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
box-shadow: 0px 0px 18px 0px #0A2E55 inset;
|
||||||
|
|
@ -2339,21 +2326,42 @@ onUnmounted(() => {
|
||||||
}
|
}
|
||||||
|
|
||||||
.chart-tabs button {
|
.chart-tabs button {
|
||||||
width: 100px;
|
width: 80px;
|
||||||
height: 30px;
|
height: 25px;
|
||||||
margin-top: 60px;
|
margin-top: 60px;
|
||||||
margin-left: 10px;
|
background-color: #04142166;
|
||||||
border: none;
|
|
||||||
border-radius: 15px;
|
|
||||||
background-color: #333;
|
|
||||||
color: #fff;
|
color: #fff;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
|
font-family: OPPOSans;
|
||||||
|
font-weight: 300;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #E1F4FF;
|
||||||
|
border: 1px solid #1C588F;
|
||||||
|
line-height: 18px;
|
||||||
|
letter-spacing: 0%;
|
||||||
|
text-align: center;
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
/* 为第一个按钮设置左侧圆角 */
|
||||||
|
.chart-tabs button:first-child {
|
||||||
|
border-radius: 8px 0 0 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 为最后一个按钮设置右侧圆角 */
|
||||||
|
.chart-tabs button:last-child {
|
||||||
|
border-radius: 0 8px 8px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 为中间按钮取消所有圆角 */
|
||||||
|
.chart-tabs button:not(:first-child):not(:last-child) {
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
.chart-tabs button.active-tab {
|
.chart-tabs button.active-tab {
|
||||||
margin-top: 60px;
|
margin-top: 60px;
|
||||||
background-color: #1890ff;
|
background-color: #236291;
|
||||||
box-shadow: 0 0 10px rgba(24, 144, 255, 0.5);
|
box-shadow: 0 0 10px rgba(24, 144, 255, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2361,7 +2369,7 @@ onUnmounted(() => {
|
||||||
#categoryChart {
|
#categoryChart {
|
||||||
width: 80%;
|
width: 80%;
|
||||||
height: 400px;
|
height: 400px;
|
||||||
margin-left: -40px;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user