This commit is contained in:
daihh
2022-10-09 15:18:35 +08:00
6 changed files with 61 additions and 34 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

@@ -237,18 +237,13 @@ body {margin: 0px;padding: 0px;}
user-select: none; user-select: none;
} }
.course-info { //图片下面的一行信息 .course-info { //图片下面的一行信息
// margin: 5px 15px;
// padding-bottom: 10px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
line-height: 30px; line-height: 30px;
.course-info-user{ .course-info-user{
font-size: 14px; font-size: 14px;
color: #6E7B84; color: #6E7B84;
width: 60%; flex: 1;
.course-info-author{
}
.course-info-studys { .course-info-studys {
margin-left: 12px; margin-left: 12px;
-moz-user-select: none; /*火狐*/ -moz-user-select: none; /*火狐*/
@@ -260,7 +255,7 @@ body {margin: 0px;padding: 0px;}
} }
.course-info-score{ .course-info-score{
display:flex; display:flex;
width: 40%; margin-left: auto;
::v-deep .cor-praises { ::v-deep .cor-praises {
// position: absolute; // position: absolute;
-moz-user-select: none; /*火狐*/ -moz-user-select: none; /*火狐*/
@@ -331,7 +326,7 @@ body {margin: 0px;padding: 0px;}
padding:20px; padding:20px;
margin-right: 20px; margin-right: 20px;
.course-image-box { .course-image-box {
width: 200px; width: 100%;
height: 114px; height: 114px;
} }
} }
@@ -383,7 +378,7 @@ body {margin: 0px;padding: 0px;}
padding:25px; padding:25px;
margin-right: 25px; margin-right: 25px;
.course-image-box { .course-image-box {
width: 320px; width: 100%;
height: 180px; height: 180px;
} }
} }

View File

@@ -18,17 +18,17 @@
<!-- <img style="width:68px;height:68px" src="/images/Avatarman.png" alt=""> --> <!-- <img style="width:68px;height:68px" src="/images/Avatarman.png" alt=""> -->
<p class="personal-name">{{userInfo.name}} {{userInfo.userNo}}</p> <p class="personal-name">{{userInfo.name}} {{userInfo.userNo}}</p>
<p class="personal-info">{{userInfo.departName}}</p> <p class="personal-info">{{userInfo.departName}}</p>
<div class="personal-box"><span>代办</span><span>3个待处理</span><img class="personal-box-img" <div class="personal-box"><span>代办</span><span>3个待处理 <img src="/images/homeWu/Pending.png" alt=""> </span> <img class="personal-box-img"
src="/images/homeWu/agency.png" alt="" srcset=""></div> src="/images/homeWu/agency.png" alt="" srcset=""></div>
<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,28 @@
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; line-height: 47px;
margin-top: 20px; padding-left: 20px ;
margin-bottom: 28px; padding-right: 40px;
padding: 19px 14px 19px 22px; box-sizing: border-box;
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 +990,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;
} }
} }
} }