|
@@ -58,15 +58,15 @@ export default defineComponent({
|
|
|
}
|
|
|
},
|
|
|
onRemove(item: any) {
|
|
|
- ElMessageBox.confirm(`确定删除该粉丝吗?`, '提示', {
|
|
|
- confirmButtonText: '确认',
|
|
|
+ ElMessageBox.confirm(`确定移除该粉丝吗?`, '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
|
type: 'warning'
|
|
|
}).then(async () => {
|
|
|
try {
|
|
|
await request.post('/api-teacher/teacher/delFans/' + item.userId)
|
|
|
await getUserInfo()
|
|
|
- ElMessage.success('删除成功')
|
|
|
+ ElMessage.success('移除成功')
|
|
|
this.pageInfo.page = 1
|
|
|
this.getList()
|
|
|
|
|
@@ -118,27 +118,27 @@ export default defineComponent({
|
|
|
<div class="bg-[#FFE7CF] absolute left-2.5 top-2.5 text-[#AB5400] text-xs py-0.5 px-2 rounded-[10px]">
|
|
|
学生
|
|
|
</div>
|
|
|
- <div class="flex flex-col items-center">
|
|
|
+ <div class="flex flex-col items-center" style="position: relative">
|
|
|
<ElImage
|
|
|
src={item.avatar}
|
|
|
class={['w-12 h-12 rounded-full border-2 border-[#FFFFFF]', item.vipType !== 'NORMAL' ? item.vipType === 'VIP' ? 'border-[#FADA9B]' : 'border-[#F0AF88]' : '' ]}
|
|
|
/>
|
|
|
{item.vipType && item.vipType !== 'NORMAL' && (
|
|
|
<ElImage
|
|
|
+ style="position: absolute;bottom: -5px; height: 18px;"
|
|
|
src={item.vipType === 'VIP' ? iconVip : iconSvip}
|
|
|
- class="h-5 -mt-4"
|
|
|
+ class="-mt-4"
|
|
|
+
|
|
|
/>
|
|
|
)}
|
|
|
</div>
|
|
|
|
|
|
- <p class="text-base text-[#333] font-semibold leading-tight pb-1 pt-2 text-center max-w-[120px] whitespace-nowrap overflow-hidden text-ellipsis">
|
|
|
+ <p class="text-base text-[#333] font-semibold leading-tight pb-1 pt-2 text-center max-w-[120px] whitespace-nowrap overflow-hidden text-ellipsis" title={item.userName}>
|
|
|
{item.userName}
|
|
|
</p>
|
|
|
<p class="h-6">
|
|
|
{item.subjectName && (
|
|
|
- <span style="font-size: 12px;color: #777777;">
|
|
|
- {item.subjectName}
|
|
|
- </span>
|
|
|
+ <span style="font-size: 12px;color: #777777;">{item.subjectName}</span>
|
|
|
)}
|
|
|
</p>
|
|
|
<p>
|