|
|
@@ -66,7 +66,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="status" label="状态" width="100">
|
|
|
<template slot-scope="{ row }">
|
|
|
- <el-tag :type="statusType(row.status)" size="small">{{ statusText(row.status) }}</el-tag>
|
|
|
+ <StatusTag :type="statusType(row.status)" :text="statusText(row.status)" size="small" />
|
|
|
</template>
|
|
|
<template slot="header">
|
|
|
<span class="sort-header" @click.stop="onSortClick('status', $event)">状态<span v-if="sortIndex('status') !== null" class="sort-index" :class="sortClass('status') === 'sort-asc' ? 'sort-asc-badge' : 'sort-desc-badge'">{{ sortIndex('status') }}</span>{{ sortIcon('status') }}</span>
|
|
|
@@ -86,7 +86,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="isEarlyRenewal" label="早期续费" width="90">
|
|
|
<template slot-scope="{ row }">
|
|
|
- <el-tag :type="row.isEarlyRenewal ? 'success' : 'info'" size="small">{{ row.isEarlyRenewal ? '是' : '否' }}</el-tag>
|
|
|
+ <StatusTag :type="row.isEarlyRenewal ? 'success' : 'info'" :text="row.isEarlyRenewal ? '是' : '否'" size="small" />
|
|
|
</template>
|
|
|
<template slot="header">
|
|
|
<span class="sort-header" @click.stop="onSortClick('isEarlyRenewal', $event)">早期续费<span v-if="sortIndex('isEarlyRenewal') !== null" class="sort-index" :class="sortClass('isEarlyRenewal') === 'sort-asc' ? 'sort-asc-badge' : 'sort-desc-badge'">{{ sortIndex('isEarlyRenewal') }}</span>{{ sortIcon('isEarlyRenewal') }}</span>
|
|
|
@@ -227,11 +227,6 @@ export default {
|
|
|
|
|
|
<style scoped>
|
|
|
.admin-page { padding: 16px; }
|
|
|
-.admin-page-header { display: flex; justify-content: space-between; align-items: center; }
|
|
|
-.admin-page-title { font-size: 16px; font-weight: bold; }
|
|
|
-.stat-card { text-align: center; }
|
|
|
-.stat-value { font-size: 28rpx; font-weight: bold; color: #F97316; }
|
|
|
-.stat-label { font-size: 12px; color: #999; margin-top: 4px; }
|
|
|
.sort-header {
|
|
|
cursor: pointer;
|
|
|
user-select: none;
|
|
|
@@ -239,7 +234,7 @@ export default {
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
.sort-header:hover {
|
|
|
- color: #409eff;
|
|
|
+ color: var(--adm-primary);
|
|
|
}
|
|
|
.sort-tag {
|
|
|
margin-left: 8px;
|