|
@@ -1,22 +1,31 @@
|
|
|
<template>
|
|
|
- <a-modal title="切换分组" v-model:visible="visible" :zIndex="6000">
|
|
|
+ <a-modal
|
|
|
+ title="切换分组"
|
|
|
+ v-model:visible="visible"
|
|
|
+ :zIndex="6000"
|
|
|
+ wrapClassName="profile-wrapper"
|
|
|
+ >
|
|
|
<table class="group-table">
|
|
|
<tr>
|
|
|
- <th>分组号</th>
|
|
|
+ <th style="padding-left: 15px">分组号</th>
|
|
|
<th>分组名</th>
|
|
|
<th>进度</th>
|
|
|
- <td class="tw-text-right">操作</td>
|
|
|
+ <td class="tw-text-right" style="padding-right: 15px">操作</td>
|
|
|
</tr>
|
|
|
<tr
|
|
|
v-for="(group, index) in store.groups"
|
|
|
:key="index"
|
|
|
:class="isCurrentGroup(group.number) && 'current-group'"
|
|
|
>
|
|
|
- <td>{{ group.number }}</td>
|
|
|
+ <td style="padding-left: 15px">{{ group.number }}</td>
|
|
|
<td>{{ group.title }}</td>
|
|
|
<td>{{ progress(group.totalCount, group.markedCount) }}%</td>
|
|
|
<td class="tw-text-right">
|
|
|
- <qm-button type="primary" @click="chooseGroup(group.markerId)">
|
|
|
+ <qm-button
|
|
|
+ type="text"
|
|
|
+ style="color: #5d65ff; font-weight: bold"
|
|
|
+ @click="chooseGroup(group.markerId)"
|
|
|
+ >
|
|
|
选择
|
|
|
</qm-button>
|
|
|
</td>
|
|
@@ -100,6 +109,15 @@ export default defineComponent({
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
+.profile-wrapper .ant-modal-title {
|
|
|
+ color: #283e76;
|
|
|
+}
|
|
|
+.profile-wrapper .anticon-close {
|
|
|
+ vertical-align: middle;
|
|
|
+}
|
|
|
+.profile-wrapper .ant-modal-body label {
|
|
|
+ color: #435488 !important;
|
|
|
+}
|
|
|
.group-table {
|
|
|
width: 100%;
|
|
|
border-collapse: separate;
|
|
@@ -107,6 +125,6 @@ export default defineComponent({
|
|
|
}
|
|
|
|
|
|
.current-group {
|
|
|
- background-color: lightblue;
|
|
|
+ background-color: #f2f7ff;
|
|
|
}
|
|
|
</style>
|