1
0
mirror of https://github.com/ZeroCatDev/Classworks.git synced 2025-07-03 01:39:22 +00:00
This commit is contained in:
SunWuyuan 2025-03-22 16:07:23 +08:00
parent d0d0e3a6b4
commit 29ce2a9336
No known key found for this signature in database
GPG Key ID: A6A54CF66F56BB64

View File

@ -185,22 +185,26 @@
</snap> </snap>
</h2> </h2>
<h3 <h3
class="gray-text"
v-for="(name, index) in state.boardData.attendance.absent" v-for="(name, index) in state.boardData.attendance.absent"
:key="'absent-' + index" :key="'absent-' + index"
> >
{{ `${index + 1}. ${name}` }} <span v-if="useDisplay().lgAndUp.value">{{ `${index + 1}. ` }}</span
><span style="white-space: nowrap">{{ name }}</span>
</h3> </h3>
<h2> <h2>
<snap style="white-space: nowrap"> 迟到 </snap>: <snap style="white-space: nowrap">迟到</snap>:
<snap style="white-space: nowrap"> <snap style="white-space: nowrap">
{{ state.boardData.attendance.late.length }} {{ state.boardData.attendance.late.length }}
</snap> </snap>
</h2> </h2>
<h3 <h3
class="gray-text"
v-for="(name, index) in state.boardData.attendance.late" v-for="(name, index) in state.boardData.attendance.late"
:key="'late-' + index" :key="'late-' + index"
> >
{{ `${index + 1}. ${name}` }} <span v-if="useDisplay().lgAndUp.value">{{ `${index + 1}. ` }}</span
><span style="white-space: nowrap">{{ name }}</span>
</h3> </h3>
<h2> <h2>
<snap style="white-space: nowrap">不参与</snap>: <snap style="white-space: nowrap">不参与</snap>:
@ -209,10 +213,12 @@
</snap> </snap>
</h2> </h2>
<h3 <h3
class="gray-text"
v-for="(name, index) in state.boardData.attendance.exclude" v-for="(name, index) in state.boardData.attendance.exclude"
:key="'exclude-' + index" :key="'exclude-' + index"
> >
{{ `${index + 1}. ${name}` }} <span v-if="useDisplay().lgAndUp.value">{{ `${index + 1}. ` }}</span
><span style="white-space: nowrap">{{ name }}</span>
</h3> </h3>
</v-col> </v-col>
</div> </div>
@ -367,6 +373,7 @@ export default {
return { return {
dataKey: "", dataKey: "",
provider: "", provider: "",
useDisplay: useDisplay,
state: { state: {
classNumber: "", classNumber: "",
studentList: [], studentList: [],
@ -1208,3 +1215,8 @@ export default {
}, },
}; };
</script> </script>
<style scoped>
.gray-text {
opacity: 0.6;
}
</style>