Browse Source

情绪推演

dev
dongqian 9 hours ago
parent
commit
89fe044e9c
  1. 27
      src/views/AiEmotion.vue
  2. 7
      src/views/components/emotionalBottomRadar.vue

27
src/views/AiEmotion.vue

@ -1914,7 +1914,7 @@ defineExpose({
/* 确保不超出父容器 */
height: auto;
/* 高度根据内容动态变化 */
min-height: 90rem;
/* min-height: 90rem; */
/* 设置最小高度,确保图片显示 */
margin: 0 auto;
box-sizing: border-box;
@ -1922,7 +1922,6 @@ defineExpose({
transition: all 0.3s ease;
/* 添加平滑过渡效果 */
}
.class04 {
background-image: url('@/assets/img/AiEmotion/bk00000.png');
/* 使用导入的背景图片 */
@ -2173,10 +2172,6 @@ defineExpose({
min-height: 60rem;
}
.class05 {
min-height: 75rem;
}
.class06 {
min-height: 58rem;
}
@ -2206,11 +2201,6 @@ defineExpose({
min-height: 55rem;
}
.class05 {
min-height: 65rem;
}
.class06 {
min-height: 50rem;
}
@ -2377,10 +2367,6 @@ defineExpose({
min-height: 45rem;
}
.class05 {
min-height: 48rem;
}
.class06 {
min-height: 35rem;
}
@ -2611,7 +2597,7 @@ defineExpose({
background-repeat: no-repeat;
width: 100%;
height: auto;
min-height: 48rem;
/* min-height: 48rem; */
}
.class06 {
@ -2721,11 +2707,11 @@ defineExpose({
align-items: center;
}
.class003{
.class003 {
padding-top: 14%;
gap: 30px;
}
.class003 .div01,
.class003 .div02 {
/* width: 90%; */
@ -2758,11 +2744,6 @@ defineExpose({
min-height: 35rem;
}
.class05 {
min-height: 35rem;
}
.class06 {
min-height: 25rem;
}

7
src/views/components/emotionalBottomRadar.vue

@ -461,7 +461,7 @@ function initEmotionalBottomRadar(KlineData, barAndLineData) {
start: 0,
end: 100,
show: true,
bottom: 10,
bottom: window.innerWidth > 768 ? 80 : 50,
height: 20,
borderColor: '#CFD6E3',
fillerColor: 'rgba(135, 175, 274, 0.2)',
@ -701,16 +701,15 @@ onBeforeUnmount(() => {
height: 1040px;
box-sizing: border-box;
overflow: hidden;
margin: 0;
margin: 0px auto !important;
padding: 0;
}
/* 手机端适配样式 */
@media only screen and (max-width: 768px) {
#bottomRadarChart {
width: 100%;
width: 90% !important;
height: 560px;
margin: 0;
padding: 0;
}
}
Loading…
Cancel
Save