Browse Source

更新全平台礼物飘窗

warrior 2 months ago
parent
commit
1e59eb9674

+ 6 - 3
projects/live-app/src/app/components/flutter-comp/flutter-comp.component.scss

@@ -21,10 +21,13 @@
   }
 
   .user-region {
+    // backdrop-filter: saturate(180%) blur(20px);
+    // background: rgb(81 81 81 / 80%);
+    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.51), rgba(0, 0, 0, 0.24), rgba(47, 47, 47, 0.03));
     color: #ffffff;
-    margin: 10px auto;
+    // margin: 10px auto;
     // background: #fb475ec7;
-    padding: 6px 20px;
+    padding: 10px 20px;
     width: 80%;
     text-align: center;
     display: flex;
@@ -45,7 +48,7 @@
       background: #d32d2d;
       color: #fff;
       text-align: center;
-      margin: 0 10px;
+      margin: 0 6px;
       text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #feec85,
         -20px -20px 40px #ffae34, 20px -40px 50px #ec760c, 0 -80px 70px #f38e1c; /*设置文字阴影*/
       animation: fontAmt 2s infinite; /*设置动画*/

+ 1 - 1
projects/live-app/src/app/components/gift-modal/gift-modal.component.ts

@@ -130,6 +130,6 @@ export class GiftModalComponent implements OnInit {
       message: true,
       presence: true,
     }); //进入对方主播频道发送聊天邀请
-    this.msgSerrvice.publishMessage(`ONUSERSENDGIFT_${gid}_'${count}`,this.toUid);
+    this.msgSerrvice.publishMessage(`ONUSERSENDGIFT_${gid}_${count}`,this.toUid);
   }
 }

+ 1 - 1
projects/live-app/src/services/message.service.ts

@@ -223,7 +223,7 @@ export class MessageService {
         clearTimeout(this.timeg);
         this.timeg = null
       }
-    }, 500000);
+    }, 5000);
   }
 
   async getRoom(uid: string): Promise<string | undefined> {