Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-06-24 17:13:47 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3070c2f3b03115b91713be4970696d6d181d7dda
3070c2f3
1 parent
bacf67d1
fix: 限制团队头像显示数量为8个
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
src/views/checkin/IndexCheckInPage.vue
src/views/teacher/checkinPage.vue
src/views/checkin/IndexCheckInPage.vue
View file @
3070c2f
<!--
* @Date: 2025-05-29 15:34:17
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-06-
19 14:23:17
* @LastEditTime: 2025-06-
24 17:13:18
* @FilePath: /mlaj/src/views/checkin/IndexCheckInPage.vue
* @Description: 文件描述
-->
...
...
@@ -43,7 +43,7 @@
</div> -->
<div style="padding: 0.75rem 1rem;">
<van-image round width="2.8rem" height="2.8rem" :src="item ? item : 'https://cdn.ipadbiz.cn/mlaj/images/icon_1.jpeg'" fit="contain"
v-for="(item, index) in teamAvatars" :key="index"
v-for="(item, index) in teamAvatars
.splice(0, 8)
" :key="index"
:style="{ marginLeft: index > 0 ? '-0.5rem' : '', border: '2px solid #eff6ff', background: '#fff' }" />
</div>
</div>
...
...
src/views/teacher/checkinPage.vue
View file @
3070c2f
<!--
* @Date: 2025-05-29 15:34:17
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-06-24 1
6:56:33
* @LastEditTime: 2025-06-24 1
7:11:59
* @FilePath: /mlaj/src/views/teacher/checkinPage.vue
* @Description: 文件描述
-->
...
...
@@ -61,7 +61,7 @@
</div> -->
<div style="padding: 0.75rem 1rem;">
<van-image round width="2.8rem" height="2.8rem" :src="item ? item : 'https://cdn.ipadbiz.cn/mlaj/images/icon_1.jpeg'" fit="contain"
v-for="(item, index) in teamAvatars" :key="index"
v-for="(item, index) in teamAvatars
.splice(0, 8)
" :key="index"
:style="{ marginLeft: index > 0 ? '-0.5rem' : '', border: '2px solid #eff6ff', background: '#fff' }" />
</div>
</div>
...
...
Please
register
or
login
to post a comment