年审
This commit is contained in:
1 parent
bb2a04ffb9
commit
de3ed43b6d
63 files changed
+8724
-328
No files matched your search
@@ -61,7 +61,7 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="联系电话" align="center" prop="phone" min-width="55" />
|
||||
<el-table-column label="加入社团" align="center" width="160">
|
||||
<el-table-column label="加入社团" align="center" width="120">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
v-if="scope.row.clubCount > 0"
|
||||
@@ -75,7 +75,7 @@
|
||||
<span v-else class="no-data">0</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="加入志愿者队伍" align="center" width="170">
|
||||
<el-table-column label="加入志愿者队伍" align="center" width="130">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
v-if="scope.row.volunteerTeamCount > 0"
|
||||
@@ -89,7 +89,7 @@
|
||||
<span v-else class="no-data">0</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="参与活动" align="center" width="160">
|
||||
<el-table-column label="参与活动" align="center" width="120">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
v-if="scope.row.activityCount > 0"
|
||||
@@ -103,6 +103,24 @@
|
||||
<span v-else class="no-data">0</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="今日活动" align="center" width="240">
|
||||
<template #default="scope">
|
||||
<span v-if="scope.row.todayActivityName" class="activity-name">
|
||||
{{ scope.row.todayActivityName }}
|
||||
</span>
|
||||
<span v-else class="no-data">暂无今日活动</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="活动时间" align="center" width="160">
|
||||
<template #default="scope">
|
||||
<div v-if="scope.row.todayActivityStartTime && scope.row.todayActivityEndTime" class="activity-time">
|
||||
<div class="time-start">{{ scope.row.todayActivityStartTime }}</div>
|
||||
<div class="time-separator">~</div>
|
||||
<div class="time-end">{{ scope.row.todayActivityEndTime }}</div>
|
||||
</div>
|
||||
<span v-else class="no-data">-</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
||||
<div class="pagination-container">
|
||||
@@ -452,4 +470,33 @@ onMounted(() => {
|
||||
.activity-item:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* 今日活动和活动时间样式 */
|
||||
.activity-name {
|
||||
color: #409eff;
|
||||
font-weight: 500;
|
||||
line-height: 1.4;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.activity-time {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.time-start,
|
||||
.time-end {
|
||||
color: #606266;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.time-separator {
|
||||
color: #909399;
|
||||
font-size: 12px;
|
||||
margin: 0 4px;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user