Browse Source

标题适配

dongqian/feature-20250702094358-小财神适配
dongqian 15 hours ago
parent
commit
7b93f37ee7
  1. 170
      src/views/AiEmotion.vue
  2. 7
      src/views/components/marketTemperature.vue

170
src/views/AiEmotion.vue

@ -1449,21 +1449,30 @@ defineExpose({
.class003 { .class003 {
padding-top: 8%; padding-top: 8%;
padding-left: 10%;
/* padding-left: 10%; */
display: flex; display: flex;
flex-direction: column;
gap: 1rem;
align-items: center;
justify-content: center;
gap: 25vw;
/* flex-direction: column; */
/* gap: 1rem; */
}
.img01 {
width: 11vw;
/* height: auto; */
} }
.div00 { .div00 {
display: flex; display: flex;
flex-direction: row;
gap: 2%;
justify-content: flex-start;
align-items: center;
flex-wrap: wrap;
width: 100%;
box-sizing: border-box;
flex-direction: column;
/* 竖向排列元素 */
/* margin-left: 15%; */
gap: 30px;
/* margin-top: -12%; */
/* width: 100%; */
/* height: auto; */
} }
.div00::after { .div00::after {
@ -1476,7 +1485,8 @@ defineExpose({
background-image: url('@/assets/img/AiEmotion/redBorder.png'); background-image: url('@/assets/img/AiEmotion/redBorder.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
width: 35%;
/* width: 50%; */
width: 30vw;
min-width: 200px; min-width: 200px;
min-height: 40px; min-height: 40px;
text-align: center; text-align: center;
@ -1492,7 +1502,8 @@ defineExpose({
background-image: url('@/assets/img/AiEmotion/blueBorder.png'); background-image: url('@/assets/img/AiEmotion/blueBorder.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
width: 35%;
/* width: 35%; */
width: 30vw;
min-width: 200px; min-width: 200px;
min-height: 40px; min-height: 40px;
text-align: center; text-align: center;
@ -1732,31 +1743,35 @@ defineExpose({
.class0502 { .class0502 {
padding-top: 7%; padding-top: 7%;
display: flex; display: flex;
justify-content: center;
align-items: center;
flex-direction: column; flex-direction: column;
/* 竖向排列元素 */ /* 竖向排列元素 */
gap: 1rem; gap: 1rem;
margin-left: 2rem;
/* margin-left: 2rem; */
} }
.class0601 { .class0601 {
padding-top: 5rem; padding-top: 5rem;
display: flex; display: flex;
justify-content: center;
align-items: center;
flex-direction: column; flex-direction: column;
/* 竖向排列元素 */ /* 竖向排列元素 */
gap: 1rem; gap: 1rem;
margin-left: 2rem;
/* margin-left: 2rem; */
} }
.img03 { .img03 {
width: 10%; width: 10%;
height: auto; height: auto;
margin-left: 43%;
/* margin-left: 43%; */
} }
.img04 { .img04 {
width: 10%; width: 10%;
height: auto; height: auto;
margin-left: 43%;
/* margin-left: 43%; */
} }
.class0701 { .class0701 {
@ -1795,36 +1810,38 @@ defineExpose({
padding-top: 5rem; padding-top: 5rem;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center;
align-items: center;
/* 竖向排列元素 */ /* 竖向排列元素 */
gap: 1rem; gap: 1rem;
margin-left: 2rem;
/* margin-left: 2rem; */
} }
.img02 { .img02 {
width: 10%; width: 10%;
height: auto; height: auto;
margin-left: 43%;
/* margin-left: 43%; */
} }
.title2 { .title2 {
color: white; color: white;
font-size: 20px; font-size: 20px;
font-weight: bold; font-weight: bold;
margin-left: 45%;
/* margin-left: 45%; */
} }
.title3 { .title3 {
color: white; color: white;
font-size: 20px; font-size: 20px;
font-weight: bold; font-weight: bold;
margin-left: 44.6%;
/* margin-left: 44.6%; */
} }
.title4 { .title4 {
color: white; color: white;
font-size: 20px; font-size: 20px;
font-weight: bold; font-weight: bold;
margin-left: 44%;
/* margin-left: 44%; */
} }
.class09 { .class09 {
@ -1973,9 +1990,10 @@ defineExpose({
.content1 { .content1 {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center;
/* 竖向排列元素 */ /* 竖向排列元素 */
gap: 1rem;
margin-left: 10%;
/* gap: 1rem; */
/* margin-left: 10%; */
} }
.title1 { .title1 {
@ -1986,21 +2004,8 @@ defineExpose({
} }
.img01 {
width: 10%;
height: auto;
}
.div00 {
display: flex;
flex-direction: column;
/* 竖向排列元素 */
margin-left: 15%;
gap: 1rem;
margin-top: -12%;
width: 100%;
height: auto;
}
.span02 { .span02 {
font-size: 1.5rem; font-size: 1.5rem;
@ -2195,23 +2200,6 @@ defineExpose({
padding: 0.6rem; padding: 0.6rem;
} }
.class003 {
padding-top: 6%;
padding-left: 5%;
}
.div00 {
gap: 1%;
justify-content: center;
}
.class003 .div01,
.class003 .div02 {
width: 45%;
min-width: 180px;
font-size: 20px;
}
/* 调整图表容器高度 */ /* 调整图表容器高度 */
.class00 { .class00 {
min-height: 40rem; min-height: 40rem;
@ -2341,9 +2329,9 @@ defineExpose({
.img01 { .img01 {
height: auto; height: auto;
margin-left: 7%;
width: 25%;
margin-top: 10px;
/* margin-left: 7%; */
width: 15vw;
/* margin-top: 10px; */
} }
.title1 { .title1 {
@ -2367,10 +2355,6 @@ defineExpose({
height: auto; height: auto;
} }
.class03 .class003 {
padding-top: 3rem;
padding-left: 0rem;
}
.class01 { .class01 {
min-height: 100px; min-height: 100px;
@ -2416,7 +2400,7 @@ defineExpose({
.img02 { .img02 {
width: 25%; width: 25%;
height: auto; height: auto;
margin-left: 32%;
/* margin-left: 32%; */
} }
.class0401 { .class0401 {
@ -2427,7 +2411,7 @@ defineExpose({
.img04 { .img04 {
width: 25%; width: 25%;
height: auto; height: auto;
margin-left: 33%;
/* margin-left: 33%; */
} }
.text-container p { .text-container p {
@ -2653,42 +2637,31 @@ defineExpose({
padding: 5%; padding: 5%;
} }
.class003 {
padding-top: 12%;
gap: 20vw;
}
.div00 { .div00 {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-left: 5rem;
/* margin-left: 5rem; */
gap: 0; gap: 0;
margin-top: -6rem;
width: 100%;
/* margin-top: -6rem; */
/* width: 100%; */
height: auto; height: auto;
} }
.class003 .div01 {
background-repeat: no-repeat;
background-size: 100% 100%;
width: 35%;
min-height: 25px;
float: left;
margin-left: 100px;
text-align: center;
margin-top: 10px;
font-size: 10px;
color: white;
}
.class003 .div01,
.class003 .div02 { .class003 .div02 {
background-repeat: no-repeat;
background-size: 100% 100%;
width: 35%;
min-height: 25px;
float: left;
margin-left: 100px;
text-align: center;
margin-top: 10px;
font-size: 10px;
color: white;
/* width: 80%; */
min-width: 250px;
font-size: 16px;
min-height: 35px;
} }
.span01 { .span01 {
/* 使用导入的背景图片 */ /* 使用导入的背景图片 */
background-image: url('@/assets/img/AiEmotion/bk01.png'); background-image: url('@/assets/img/AiEmotion/bk01.png');
@ -2713,25 +2686,12 @@ defineExpose({
padding-top: 10%; padding-top: 10%;
} }
.class003 {
padding-top: 4%;
padding-left: 2%;
}
.div00 { .div00 {
flex-direction: column; flex-direction: column;
gap: 1rem; gap: 1rem;
align-items: center; align-items: center;
} }
.class003 .div01,
.class003 .div02 {
width: 80%;
min-width: 250px;
font-size: 16px;
min-height: 35px;
}
.span01 { .span01 {
width: 60%; width: 60%;
font-size: 1.2rem; font-size: 1.2rem;
@ -2766,9 +2726,15 @@ defineExpose({
align-items: center; align-items: center;
} }
.class003{
padding-top: 14%;
gap: 30px;
}
.class003 .div01, .class003 .div01,
.class003 .div02 { .class003 .div02 {
width: 90%;
/* width: 90%; */
width: 10vw;
min-width: 200px; min-width: 200px;
font-size: 14px; font-size: 14px;
min-height: 30px; min-height: 30px;

7
src/views/components/marketTemperature.vue

@ -698,7 +698,7 @@ defineExpose({ initChart });
} }
.market-temperature { .market-temperature {
min-height: 100vh;
/* min-height: 100vh; */
/* background-color: rgb(0, 22, 65); */ /* background-color: rgb(0, 22, 65); */
} }
@ -747,6 +747,11 @@ defineExpose({ initChart });
/* 手机端适配样式 */ /* 手机端适配样式 */
@media only screen and (max-width: 768px) { @media only screen and (max-width: 768px) {
.container{
padding-bottom:16%
}
.KlineClass { .KlineClass {
width: 100%; width: 100%;
height: 300px; height: 300px;

Loading…
Cancel
Save