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 | 85 +++++++++++++++++++++++++++++------------- 1 files changed, 59 insertions(+), 26 deletions(-) diff --git a/pages/digitalCourses/digitalCoursesDetails/index.wxss b/pages/digitalCourses/digitalCoursesDetails/index.wxss index 6a78d69..3fca6a4 100644 --- a/pages/digitalCourses/digitalCoursesDetails/index.wxss +++ b/pages/digitalCourses/digitalCoursesDetails/index.wxss @@ -200,7 +200,7 @@ height: 68rpx; line-height: 68rpx; text-align: center; - + color: #ff6c00; flex: 1; } @@ -263,6 +263,11 @@ height: 40rpx; } +.collectionImage image { + width: 38rpx; + height: 38rpx; +} + .bottom-btn { background-color: #fff; width: 25%; @@ -311,6 +316,11 @@ height: 325rpx; border: 1rpx solid #ccc; margin-right: 50rpx; +} + +.chartImage { + width: 230rpx; + height: 325rpx; } .placeholder { @@ -438,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 { @@ -460,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; @@ -468,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 { @@ -498,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 { @@ -515,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 { @@ -525,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; @@ -582,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; } @@ -646,7 +679,7 @@ background-color: #fff6f0; display: flex; justify-content: space-between; - padding: 20rpx 32rpx; + padding: 20rpx; margin-top: 30rpx; } -- Gitblit v1.9.1