From 74fcc5069632f550d49279b40778d082c71283c8 Mon Sep 17 00:00:00 2001
From: Gdpao <1341331954@qq.com>
Date: Mon, 10 Aug 2020 19:06:47 +0800
Subject: [PATCH] gdpaoup
---
components/index/video-item/index.vue | 2 +-
pageB/components/userinfo/index.vue | 7 +-
pageB/video/video.nvue | 220 ++++++++++++++++++++++++--
pages/index/index.vue | 55 ++++---
4 files changed, 245 insertions(+), 39 deletions(-)
diff --git a/components/index/video-item/index.vue b/components/index/video-item/index.vue
index 3f694aa..a51ec25 100644
--- a/components/index/video-item/index.vue
+++ b/components/index/video-item/index.vue
@@ -174,7 +174,6 @@
.backes{
position: absolute;
top: 0;
- background: rgba(0,0,0,0.6);
width: 100%;
height: 100%;
color: #fff;
@@ -233,6 +232,7 @@ export default {
}
})
},
+ // 屏蔽
articleAddShield() {
this.$u.api.articleAddShield({
article_id: this.item.article_id,
diff --git a/pageB/components/userinfo/index.vue b/pageB/components/userinfo/index.vue
index 1e4607d..7c8923d 100644
--- a/pageB/components/userinfo/index.vue
+++ b/pageB/components/userinfo/index.vue
@@ -46,8 +46,8 @@
/* #ifndef APP-PLUS-NVUE */
display: flex;
/* #endif */
- position: relative;
align-items: center;
+ padding-bottom: 20rpx;
}
.avatar {
@@ -60,6 +60,7 @@
}
.follow {
+ z-index: 100;
position: absolute;
top: 90rpx;
left: 40rpx;
@@ -67,7 +68,7 @@
height: 36rpx;
text-align: center;
line-height: 36rpx;
- font-size: 36rpx;
+ font-size: 34rpx;
border-radius: 50%;
color: #fff;
background-color: #FF780F;
@@ -148,7 +149,7 @@
this.is_follow = !this.is_follow;
console.log(this.is_follow);
uni.showToast({
- title: res.data.data.message,
+ title: res.data.message,
icon: "none"
})
}
diff --git a/pageB/video/video.nvue b/pageB/video/video.nvue
index fcb24d7..1da0d21 100644
--- a/pageB/video/video.nvue
+++ b/pageB/video/video.nvue
@@ -1,7 +1,7 @@
-
+
@@ -29,13 +29,47 @@
+
+
+ 评论
+ ×
+
+
+
+
+ |
+