From ba340fe9b38cbd34113e87bef27b4eff0d4d98b6 Mon Sep 17 00:00:00 2001 From: lmj <3407000732@qq.com> Date: Tue, 8 Nov 2022 16:41:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=85=E5=AE=B9=E6=A3=80=E7=B4=A2=E8=AF=BE?= =?UTF-8?q?=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/resource/search.vue | 70 ++++++++++++++++--------------- static/images/icon/scoreicon.png | Bin 0 -> 1024 bytes 2 files changed, 37 insertions(+), 33 deletions(-) create mode 100644 static/images/icon/scoreicon.png diff --git a/pages/resource/search.vue b/pages/resource/search.vue index 33af8eb..a594c60 100644 --- a/pages/resource/search.vue +++ b/pages/resource/search.vue @@ -89,29 +89,32 @@ - 录播 - 录播 - 录播 - 面授班 - 学习项目 - + + + + + + - - - - - {{c.teacher}} - - + + - + + + + {{c.teacher}} - - {{c.studies}}人学习 - {{converToScore(c.score)}}分 + + + + + + {{converToScore(c.score)}} + + {{ c.score }}{{c.studies}}+人学习 @@ -848,13 +851,13 @@ display: flex; align-items: center; /deep/ .course-left{ - width: 262upx; - height: 147upx; + width: 308upx; + height: 192upx; margin-top: 4upx; position: relative; uni-image { - // width: 152upx; - // height: 88upx; + width: 308upx; + height: 192upx; border-radius: 16upx; } } @@ -900,33 +903,34 @@ flex-direction:column; justify-content: space-between; flex: 1; - height: 72px; + height: 192upx; overflow: hidden; .conent-title{ font-size: 32upx; font-family: Source Han Sans CN; - font-weight: 550; - color: #343434; + font-weight: 500; + color: #333; white-space:nowrap; - overflow: hidden; + overflow: hidden; + height: 112upx; text-overflow: ellipsis; } .statuy-ren{ font-size: 25upx; color: #999999; display: flex; - justify-content: space-between; - align-items: flex-end; + // justify-content: space-between; + // align-items: flex-end; .statuy-num{ - font-size: 25upx; - color: #FF8E00; + font-size: 24upx; + color: #999; } } .stu-f { - font-size: 28upx; - color: #FFB30F; - font-weight: 500; - margin-top: 5upx; + font-size: 24upx; + color: #333; + font-weight: 500; + margin-right: 20upx; } // height: 100%; } diff --git a/static/images/icon/scoreicon.png b/static/images/icon/scoreicon.png new file mode 100644 index 0000000000000000000000000000000000000000..da5a6407f467c28fa85c7ff4632dc60a1d3c0195 GIT binary patch literal 1024 zcmV+b1poVqP)Px&x=BPqR9HvFmRo2XWfaHHf4N1pn`&U zd+DR@)~Mr!%&HGUU%VkGn1U@rF%@rwDk`lhE%iYw*|_z^8nD)w%WgJ1-~46PHf*vp zv%4eJdED=R&j0tFIp^#^{>8&=;$~^@6g)fiRn#08;0nl1=ofE(0aIK+f@OnHo zd8Ac{NELAGb)QghXRR3opPJc;yDm5Y?Vin!aNN(x6ukx6!qHYBTCRX&r$;F=;AaAn zgJw2Ac)z=ODVzpfSejv+0}(22e8kbJ0Vh>+VuJPgaKYmUG@KoUCF`v!%N zHiTH56)E|TJ4D`6cIj~d4A`E*>8lVg_l}XgHBhxUCsO*;_ZW~vYPi%NWM0>VepxEH zp6`U*Qg`N!n)l9~h2R?i<1xFmHGCvPPS3rD845d=$@HQ~@r;POte@&K0WznCOBY41 z0AKA*IgVRcmbuAIcRt2UBvP=Ze+jy0=%0}@bnyU_U8B`tZ_GUNkU95lG8luVT|5{G zKxY#fS6~Z$8@Sy5qVC< zGb4T*ty&0ggO+n%#hxc6b#BhfYU5yX-zE)8SlONIH>fuo@ilv3oh~+Gyi!A}dzD*0yUT?- u8XKM;YY8BVVU(DLAEi-}wi5Hd1N;qT!gt?bZ)&Ol0000