This commit is contained in:
lmj
2022-10-09 13:55:07 +08:00
parent e24e8a57f1
commit 673a270b13
5 changed files with 53 additions and 24 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 812 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -440,6 +440,17 @@
@media screen and (max-width: 1366px){ @media screen and (max-width: 1366px){
.xindex-content{ .xindex-content{
width: 1100px; width: 1100px;
}
.personal-panel{
width: 300px;
height: 320px;
padding: 25px 40px;
.personal-box {
margin-left: 0px;
margin-top: 0px;
margin-bottom: 0px;
}
} }
//课程卡片样式 //课程卡片样式
.xindex-course{ .xindex-course{
@@ -668,6 +679,16 @@
@media screen and (max-width: 1680px) and (min-width:1367px){ @media screen and (max-width: 1680px) and (min-width:1367px){
.xindex-content{ .xindex-content{
width: 1366px; width: 1366px;
}
.personal-panel{
width: 356px;
height: 370px;
padding: 30px 45px;
.personal-box{
margin-left: 16px;
margin-top: 20px;
margin-bottom: 28px;
}
} }
.xindex-course{ .xindex-course{
width: 320px; width: 320px;
@@ -879,6 +900,15 @@
.xindex-content{ .xindex-content{
width: 1690px; width: 1690px;
} }
.personal-panel{
width: 356px;
height: 370px;
padding: 30px 45px;
.personal-box{
margin-top: 20px;
margin-bottom: 28px;
}
}
.xindex-course{ .xindex-course{
width: 400px; width: 400px;
padding: 30px; padding: 30px;

View File

@@ -23,12 +23,12 @@
<ul class="personal-ul"> <ul class="personal-ul">
<li> <li>
<span class="label">累计学习</span> <span class="label">累计学习</span>
<p><span>{{userData.studyHourValue}}</span>小时</p> <p><span>{{userData.studyHourValue}}</span>h</p>
</li> </li>
<li> <!-- <li>
<span class="label">经验值等级</span> <span class="label">经验值等级</span>
<p><span>{{userData.level}}</span></p> <p><span>{{userData.level}}</span></p>
</li> </li> -->
<li> <li>
<span class="label">我的U币</span> <span class="label">我的U币</span>
<p><span>{{userData.coinValue}}</span></p> <p><span>{{userData.coinValue}}</span></p>
@@ -935,13 +935,10 @@
position: absolute; position: absolute;
right: 172px; right: 172px;
top: 105px; top: 105px;
width: 356px; background: url('/images/homeWu/personal-bgimg.png');
height: 370px;
background: rgba(0, 0, 0, 0.39);
border-radius: 8px; border-radius: 8px;
z-index: 999; z-index: 999;
backdrop-filter: blur(10px); backdrop-filter: blur(10px);
padding: 38px 47px 31px 32px;
text-align: center; text-align: center;
color: #fff; color: #fff;
@@ -960,27 +957,25 @@
font-weight: 600; font-weight: 600;
font-size: 18px; font-size: 18px;
margin-top: 12px; margin-top: 12px;
color: #333333;
} }
.personal-info { .personal-info {
font-size: 14px; font-size: 14px;
color: #C1C1C1; color: #000000;
margin-top: 10px; margin-top: 10px;
} }
.personal-box { .personal-box {
width: 240px; width: 100%;
height: 60px; height: 47px;
background: rgba(0, 0, 0, 0.39); background: #387DF7;
border-radius: 8px; border-radius: 4px;
margin-left: 16px; padding: 15px ;
margin-top: 20px;
margin-bottom: 28px;
padding: 19px 14px 19px 22px;
display: flex; display: flex;
margin-top: 20px;
justify-content: space-between; justify-content: space-between;
position: relative; position: relative;
.personal-box-img { .personal-box-img {
position: absolute; position: absolute;
width: 24px; width: 24px;
@@ -992,21 +987,25 @@
} }
.personal-ul { .personal-ul {
display: flex; display: flex;
justify-content: space-between; li{
flex: 1;
text-align: center;
}
.label { .label {
color: #fff; color: #333;
font-size: 12px; font-size: 12px;
text-align: center;
} }
p { p {
margin-top: 10px; margin-top: 5px;
text-align: center;
color: #000;
span { span {
font-size: 22px; font-size: 22px;
color: #ffffff; text-align: center;
color: #333;
} }
} }
} }