From 12a0c23dbdea27183caa5c853d4869d7a97c126c Mon Sep 17 00:00:00 2001 From: jia <1451658316@qq.com> Date: Tue, 31 Oct 2023 20:41:15 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B4=E6=92=AD=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/live.js | 9 +- components/sd-live-page/livepage.nvue | 324 ++++++++++++++++++++------ pages/gather/gather.vue | 4 +- pages/room/index.vue | 114 +++++---- pages/room/spectator.nvue | 3 +- static/img/gn.png | Bin 1721 -> 1626 bytes static/img/jl.png | Bin 0 -> 2399 bytes static/img/li.png | Bin 2666 -> 2579 bytes static/img/shanpin.png | Bin 3727 -> 2971 bytes static/img/you.png | Bin 0 -> 1071 bytes 10 files changed, 330 insertions(+), 124 deletions(-) create mode 100644 static/img/jl.png create mode 100644 static/img/you.png diff --git a/api/live.js b/api/live.js index a1d1b84..3c1edf0 100644 --- a/api/live.js +++ b/api/live.js @@ -88,7 +88,7 @@ export function getfocuslst(data) { //关注我的人 export function getfanslst(data) { - return requesta.post('community/fans/lst',data); + return requesta.get('community/fans/lst',data); } //用户送礼 @@ -121,6 +121,13 @@ export function sendGift(data) { return request.post('zhibo/sendGift',data); } + +//获取主播关注人数 +export function fansNum(data) { + return requesta.get('zhibo/fansNum',data); +} + + /** * 充值金额选择 */ diff --git a/components/sd-live-page/livepage.nvue b/components/sd-live-page/livepage.nvue index 4bb6ec4..c0eea3f 100644 --- a/components/sd-live-page/livepage.nvue +++ b/components/sd-live-page/livepage.nvue @@ -1,47 +1,48 @@