From 3af1a4c3f1712445a17376205b9ee3c4d7768da6 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期二, 24 九月 2024 19:29:33 +0800 Subject: [PATCH] zs --- pages/digitalCourses/digitalCoursesDetails/index.wxss | 104 +++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 75 insertions(+), 29 deletions(-) diff --git a/pages/digitalCourses/digitalCoursesDetails/index.wxss b/pages/digitalCourses/digitalCoursesDetails/index.wxss index 13f661c..3fca6a4 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 { @@ -298,6 +316,11 @@ height: 325rpx; border: 1rpx solid #ccc; margin-right: 50rpx; +} + +.chartImage { + width: 230rpx; + height: 325rpx; } .placeholder { @@ -425,12 +448,23 @@ text-align: center; } +.myCanvas { + position: fixed; + top: 110%; +} #pubCertificate { width: 595px; height: 845px; - position: relative; + position: fixed; + top: 110%; background-image: url('https://jsek.bnuic.com/home/certificate/szkc.jpg'); +} + +.pubCon { + width: 100%; + height: 100%; + position: relative; } #pubCertificate .bgImg { @@ -447,7 +481,10 @@ } #pubCertificate .bookName { - padding-top: 260px; + padding-top: 256px; + width: 500px; + height: 66px; + margin: 0 auto; text-align: center; font-size: 30px; color: #000; @@ -455,26 +492,29 @@ } #pubCertificate .author { - margin-top: 30px; + height: 80px; + width: 290px; font-size: 24px; margin-left: 250px; color: #000; - margin-bottom: 50px; font-family: 'FZXBSJW'; } #pubCertificate .affiliatedUnit { - margin-top: 13px; + height: 29px; + width: 250px; margin-left: 46%; color: #000; font-family: 'SimHei', sans-serif; + white-space: nowrap; } #pubCertificate .website { - margin-top: 62px; + margin-top: 50px; margin-left: 27%; color: #000; font-family: 'SimHei', sans-serif; + } #pubCertificate .codeBox { @@ -485,8 +525,9 @@ #textCertificate { width: 595px; height: 845px; - position: relative; - background-image: url('https://jsek.bnuic.com/home/certificate/kczs.jpg'); + position: fixed; + top: 110%; + /* background-image: url('https://jsek.bnuic.com/home/certificate/kczs.jpg'); */ } #textCertificate .userIcon { @@ -502,8 +543,6 @@ clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); margin: 0 auto; overflow: hidden; - - } #textCertificate .img { @@ -512,52 +551,53 @@ } #textCertificate .userName { - height: 74rpx; - font-size: 70rpx; + height: 38px; + font-size: 38px; padding-top: 26px; text-align: center; font-family: 'FZXBSJW'; } #textCertificate .bookName { - padding-top: 30px; - margin-left: 460rpx; - - font-size: 20px; + padding-top: 32px; + margin-left: 230px; + width: 300px; + height: 60px; + font-size: 18px; color: #000; font-family: 'FZXBSJW'; } #textCertificate .author { - margin-top: 84rpx; + line-height: 14px; + height: 28px; margin-left: 52%; color: #000; font-family: 'SimHei', sans-serif; } #textCertificate .classHours { - margin-top: 20rpx; + height: 30px; margin-left: 52%; color: #000; font-family: 'SimHei', sans-serif; } #textCertificate .affiliatedUnit { - margin-top: 24rpx; - margin-left: 40%; + height: 26px; + margin-left: 33%; 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-top: 20px; margin-left: 27%; color: #000; font-family: 'SimHei', sans-serif; @@ -569,10 +609,16 @@ } #textCertificate .updateDate { - margin-top: 30px; + margin-top: 60rpx; text-align: center; - font-size: 12px; + font-size: 24rpx; color: #000; +} + +.qrcode { + width: 160rpx; + height: 160rpx; + margin: 0 auto; } @@ -633,7 +679,7 @@ background-color: #fff6f0; display: flex; justify-content: space-between; - padding: 20rpx 32rpx; + padding: 20rpx; margin-top: 30rpx; } -- Gitblit v1.9.1