项目新增里面补充普通成员

This commit is contained in:
WindowBird 2025-11-18 16:12:32 +08:00
parent a9234a69b2
commit c26256f098

View File

@ -174,12 +174,20 @@
</label>
<label
class="role-option"
:class="{ active: member.role !== 'OWNER' }"
@click="updateMemberRole(member.userId, 'NORMAL')"
:class="{ active: member.role === 'FOLLOWER' }"
@click="updateMemberRole(member.userId, 'FOLLOWER')"
>
<text class="radio"></text>
<text>跟进人</text>
</label>
<label
class="role-option"
:class="{ active: member.role === 'NORMAL' }"
@click="updateMemberRole(member.userId, 'NORMAL')"
>
<text class="radio"></text>
<text>普通成员</text>
</label>
</view>
<text class="col action action-btn" @click="removeMember(member.userId)">
删除
@ -950,7 +958,8 @@ const formatDate = (timestamp) => {
.role-options {
display: flex;
gap: 16px;
gap: 12px;
flex-wrap: wrap;
}
.role-option {
@ -1012,7 +1021,7 @@ const formatDate = (timestamp) => {
padding: 16px;
display: flex;
flex-direction: column;
max-height: 90%;
}
.modal-header {
@ -1033,7 +1042,7 @@ const formatDate = (timestamp) => {
}
.search-box {
//margin-bottom: 12px;
margin-bottom: 12px;
}
.search-input {
@ -1088,7 +1097,8 @@ const formatDate = (timestamp) => {
.modal-actions {
display: flex;
justify-content: space-between;
gap: 12px;
margin-top: 12px;
}
</style>