From c96612e8a63ecef9590be0f8b5199277ec94e5b9 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期三, 18 九月 2024 18:43:12 +0800 Subject: [PATCH] 云学习购买目录,修改bug --- pages/digitalCourses/digitalCoursesDetails/index.wxss | 138 ++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 126 insertions(+), 12 deletions(-) diff --git a/pages/digitalCourses/digitalCoursesDetails/index.wxss b/pages/digitalCourses/digitalCoursesDetails/index.wxss index 2de52ef..27193be 100644 --- a/pages/digitalCourses/digitalCoursesDetails/index.wxss +++ b/pages/digitalCourses/digitalCoursesDetails/index.wxss @@ -68,6 +68,12 @@ color: #fff; } +.old-price { + margin-left: 30rpx; + font-size: 28rpx; + text-decoration: line-through; +} + .digital { background-color: #F2F3F8; } @@ -159,15 +165,17 @@ .lecturerName { display: flex; /* justify-content: space-between; */ - margin-bottom: 10rpx; + margin-bottom: 20rpx; } .lecturerName .name { color: #333; - width: 200rpx; + + /* width: 200rpx; */ } -.lecturerName .title { + +.lecturerName .positionalTitle { color: #949494; } @@ -192,7 +200,7 @@ height: 68rpx; line-height: 68rpx; text-align: center; - + color: #ff6c00; flex: 1; } @@ -245,9 +253,19 @@ border: 1px solid #DDD; } +.btn-text { + font-size: 24rpx; + color: #010101; +} + .box-bottom image { width: 38rpx; height: 40rpx; +} + +.collectionImage image { + width: 38rpx; + height: 38rpx; } .bottom-btn { @@ -425,6 +443,7 @@ text-align: center; } + #pubCertificate { width: 595px; height: 845px; @@ -432,10 +451,9 @@ background-image: url('https://jsek.bnuic.com/home/certificate/szkc.jpg'); } -.bgImg { +#pubCertificate .bgImg { width: 100%; height: 100%; - } .certificateInfo { @@ -446,7 +464,7 @@ left: 0; } -.bookName { +#pubCertificate .bookName { padding-top: 260px; text-align: center; font-size: 30px; @@ -454,7 +472,7 @@ font-family: 'FZXBSJW'; } -.author { +#pubCertificate .author { margin-top: 30px; font-size: 24px; margin-left: 250px; @@ -463,24 +481,118 @@ font-family: 'FZXBSJW'; } -.affiliatedUnit { +#pubCertificate .affiliatedUnit { margin-top: 13px; margin-left: 46%; color: #000; font-family: 'SimHei', sans-serif; } -.website { +#pubCertificate .website { margin-top: 62px; margin-left: 27%; color: #000; font-family: 'SimHei', sans-serif; } -.codeBox { +#pubCertificate .codeBox { margin-top: 24px; text-align: center; } + +#textCertificate { + width: 595px; + height: 845px; + position: relative; + /* background-image: url('https://jsek.bnuic.com/home/certificate/kczs.jpg'); */ +} + +#textCertificate .userIcon { + padding-top: 233px; +} + +#textCertificate .hexagon { + width: 103px; + height: 117px; + display: flex; + align-items: center; + justify-content: center; + clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); + margin: 0 auto; + overflow: hidden; + + +} + +#textCertificate .img { + width: 103px; + height: 117px; +} + +#textCertificate .userName { + height: 74rpx; + font-size: 70rpx; + padding-top: 26px; + text-align: center; + font-family: 'FZXBSJW'; +} + +#textCertificate .bookName { + padding-top: 30px; + margin-left: 460rpx; + + font-size: 20px; + color: #000; + font-family: 'FZXBSJW'; +} + +#textCertificate .author { + margin-top: 84rpx; + margin-left: 52%; + color: #000; + font-family: 'SimHei', sans-serif; +} + +#textCertificate .classHours { + margin-top: 20rpx; + margin-left: 52%; + color: #000; + font-family: 'SimHei', sans-serif; +} + +#textCertificate .affiliatedUnit { + margin-top: 24rpx; + margin-left: 40%; + color: #000; + font-family: 'SimHei', sans-serif; +} + +#textCertificate .studyTime { + margin-top: 24rpx; + margin-left: 33%; + color: #000; + font-family: 'SimHei', sans-serif; +} + +#textCertificate .website { + margin-top: 40rpx; + margin-left: 27%; + color: #000; + font-family: 'SimHei', sans-serif; +} + +#textCertificate .codeBox { + margin-top: 16px; + text-align: center; +} + +#textCertificate .updateDate { + margin-top: 30px; + text-align: center; + font-size: 12px; + color: #000; +} + .rubricBox { @@ -509,6 +621,8 @@ .correlationImage { width: 300rpx; height: 180rpx; + /* background: #D9D9D9; */ + border: 2rpx solid #ddd; } .correlation { @@ -537,7 +651,7 @@ background-color: #fff6f0; display: flex; justify-content: space-between; - padding: 20rpx 32rpx; + padding: 20rpx; margin-top: 30rpx; } -- Gitblit v1.9.1