hookehuyr

refactor(teacher): 移除打卡统计模块的注释代码并调整学生动态样式

...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
32 </van-row> 32 </van-row>
33 </div> 33 </div>
34 34
35 - <div v-if="showProgress" class="text-wrapper"> 35 + <!--<div v-if="showProgress" class="text-wrapper">
36 <div class="text-header">打卡统计</div> 36 <div class="text-header">打卡统计</div>
37 <div style="background-color: #FFF; margin-top: 1rem;"> 37 <div style="background-color: #FFF; margin-top: 1rem;">
38 <div class="grade-percentage-main"> 38 <div class="grade-percentage-main">
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
48 <van-progress :percentage="progress1" color="#4caf50" :show-pivot="false" /> 48 <van-progress :percentage="progress1" color="#4caf50" :show-pivot="false" />
49 </div> 49 </div>
50 </div> 50 </div>
51 - <!-- <div class="class-percentage-main"> 51 + <!~~ <div class="class-percentage-main">
52 <van-row justify="space-between" style="margin: 0.5rem 0; font-size: 0.9rem;"> 52 <van-row justify="space-between" style="margin: 0.5rem 0; font-size: 0.9rem;">
53 <van-col span="12"> 53 <van-col span="12">
54 <span>班级目标</span> 54 <span>班级目标</span>
...@@ -58,16 +58,16 @@ ...@@ -58,16 +58,16 @@
58 </van-col> 58 </van-col>
59 </van-row> 59 </van-row>
60 <van-progress :percentage="progress2" color="#4caf50" :show-pivot="false" /> 60 <van-progress :percentage="progress2" color="#4caf50" :show-pivot="false" />
61 - </div> --> 61 + </div> ~~>
62 <div style="padding: 0.75rem 1rem;"> 62 <div style="padding: 0.75rem 1rem;">
63 <van-image round width="2.8rem" height="2.8rem" :src="item ? item : 'https://cdn.ipadbiz.cn/mlaj/images/icon_1.jpeg'" fit="contain" 63 <van-image round width="2.8rem" height="2.8rem" :src="item ? item : 'https://cdn.ipadbiz.cn/mlaj/images/icon_1.jpeg'" fit="contain"
64 v-for="(item, index) in teamAvatars.splice(0, 8)" :key="index" 64 v-for="(item, index) in teamAvatars.splice(0, 8)" :key="index"
65 :style="{ marginLeft: index > 0 ? '-0.5rem' : '', border: '2px solid #eff6ff', background: '#fff' }" /> 65 :style="{ marginLeft: index > 0 ? '-0.5rem' : '', border: '2px solid #eff6ff', background: '#fff' }" />
66 </div> 66 </div>
67 </div> 67 </div>
68 - </div> 68 + </div>-->
69 69
70 - <div class="text-wrapper" style="padding: 0 1rem; color: #4caf50;"> 70 + <div class="text-wrapper mt-4" style="padding: 0 1rem; color: #4caf50;">
71 <div class="text-header">学生动态</div> 71 <div class="text-header">学生动态</div>
72 <van-list 72 <van-list
73 v-if="checkinDataList.length" 73 v-if="checkinDataList.length"
......