1
0

2 Ревизии 68f77a7707 ... c49d508659

Автор SHA1 Съобщение Дата
  lex-xin c49d508659 Merge branch 'iteration-20240919' into jenkins преди 1 месец
  lex-xin 201d663550 修改样式 преди 1 месец
променени са 1 файла, в които са добавени 9 реда и са изтрити 9 реда
  1. 9 9
      src/views/user-info/my-fans/index.tsx

+ 9 - 9
src/views/user-info/my-fans/index.tsx

@@ -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>