From c312152365597a7b33f15f8f3bd034b0273979b7 Mon Sep 17 00:00:00 2001
From: luyuan <1162963624@qq.com>
Date: Tue, 2 Jun 2020 09:16:41 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8E=A8=E8=8D=90=E5=AE=8C=E6=88=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/index/video-item/index.vue | 35 ++++++++++++++++++++++++---
pages/index/index.vue | 12 ++++++++-
2 files changed, 43 insertions(+), 4 deletions(-)
diff --git a/components/index/video-item/index.vue b/components/index/video-item/index.vue
index 282da62..2137097 100644
--- a/components/index/video-item/index.vue
+++ b/components/index/video-item/index.vue
@@ -4,10 +4,11 @@
这是标题这是标题这是标题
+ 这是简介这是简介这是简介
-
+ 这是名字
@@ -20,16 +21,34 @@
}
margin-top: 20rpx;
width: 335rpx;
+ box-shadow:0 3rpx 7rpx 0 rgba(153, 153, 153, 0.35);
+ padding-bottom: 20rpx;
+ border-radius: 20rpx;
+ overflow: hidden;
.head{
width: 100%;
height: 334rpx;
- border-radius: 20rpx 0;
}
.title{
+ margin:0 auto;
+ margin-top: 20rpx;
+ font-size: 22rpx;
+ color: #333;
+ font-weight: 500;
+ line-height: 30rpx;
+ width: 307rpx;
+ overflow:hidden;
+ text-overflow:ellipsis;
+ display:-webkit-box;
+ -webkit-box-orient:vertical;
+ -webkit-line-clamp:2;
+ }
+ .jianjie{
+ margin:0 auto;
+ margin-top: 20rpx;
font-size: 22rpx;
color: #666;
line-height: 30rpx;
- margin-top: 20px;
width: 307rpx;
margin-left: 18rpx;
overflow:hidden;
@@ -37,18 +56,28 @@
display:-webkit-box;
-webkit-box-orient:vertical;
-webkit-line-clamp:2;
+
}
.user{
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin:0 auto;
+ margin-top: 20rpx;
+ width: 307rpx;
>view{
display: flex;
align-items: center;
>image{
width: 38rpx;
height: 38rpx;
+ border-radius: 50%;
+
}
>text{
font-size: 20rpx;
color:#333;
+ margin-left: 9rpx;
}
}
>image{
diff --git a/pages/index/index.vue b/pages/index/index.vue
index b93465e..ec5dd11 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -17,7 +17,14 @@
-
+
+
+
+
+
+
+
+
@@ -91,6 +98,9 @@
border-radius: 20rpx;
background-color: #0f0;
}
+ .list{
+ display: flex;
+ }
}
}