From 4c83cc272bbd11cc6a2aad76a9ada0966b819165 Mon Sep 17 00:00:00 2001 From: jia <1451658316@qq.com> Date: Mon, 4 Sep 2023 12:04:03 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/short_video/appSwiper/index.nvue | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/pages/short_video/appSwiper/index.nvue b/pages/short_video/appSwiper/index.nvue index becfdfc..9452b28 100644 --- a/pages/short_video/appSwiper/index.nvue +++ b/pages/short_video/appSwiper/index.nvue @@ -267,8 +267,8 @@ {{item.title}} - + {{item.author && item.author.nickname}} @@ -314,7 +314,7 @@ - + @@ -501,7 +501,7 @@ this.wHeight = uni.getSystemInfoSync().screenHeight; //获取屏幕高度 this.boxStyle.height = this.wHeight; //改变视频高度 this.get() //这一步,加载视频数据 - // if (this.isLogin) this.getUserInfo() + if (this.isLogin) this.getUserInfo() }, onReady() {}, methods: { @@ -594,6 +594,7 @@ } }); }, + // #endif /** * 获取个人用户信息 @@ -661,9 +662,9 @@ // this.getUserInfo() // }, // 授权关闭 - // authColse: function(e) { - // this.isShowAuth = e - // }, + authColse: function(e) { + this.isShowAuth = e + }, moreTap(item) { item.isMore = !item.isMore; }, @@ -752,7 +753,7 @@ let that = this; that.loadVideo = list.length == that.limit // that.page = that.page + 1; - that.page =1 + that.page = 1 var msg = list for (let i = 0; i < msg.length; i++) { msg[i]['isMore'] = false @@ -887,7 +888,7 @@ this.loadVideo = false this.page = 1; var msg = [res.data]; - + for (let i = 0; i < msg.length; i++) { msg[i]['isMore'] = false msg[i]['playIng'] = false