From a3d2fe9dff3b6cd9fa8fdd91e87aac843f694c0f Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 29 七月 2024 16:23:18 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
wechat_jiaxuan/pages/productVideo/index.wxss | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 50 insertions(+), 1 deletions(-)
diff --git a/wechat_jiaxuan/pages/productVideo/index.wxss b/wechat_jiaxuan/pages/productVideo/index.wxss
index 5d130e2..cf43650 100644
--- a/wechat_jiaxuan/pages/productVideo/index.wxss
+++ b/wechat_jiaxuan/pages/productVideo/index.wxss
@@ -52,8 +52,26 @@
.content {
padding: 0 40rpx 40rpx;
}
-.content .item .img {
+.content .item {
+ margin-bottom: 60rpx;
+ position: relative;
+}
+.content .item .play {
+ width: 60rpx;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ z-index: 1;
+}
+.content .item .img_wrap {
width: 100%;
+ height: 376rpx;
+ position: relative;
+}
+.content .item .img_wrap .img {
+ width: 100%;
+ height: 376rpx;
}
.content .item .title {
font-size: 30rpx;
@@ -68,3 +86,34 @@
width: 26rpx;
margin-right: 10rpx;
}
+.video_wrap {
+ position: fixed;
+ width: 100%;
+ height: 100vh;
+ z-index: 999;
+}
+.video_wrap video {
+ width: 100%;
+ position: fixed;
+ z-index: 9999;
+ top: 50%;
+ transform: translate(0, -50%);
+}
+.video_content{
+ position: absolute;
+ top: 10rpx;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background-color: rgba(0, 0, 0, 0.2);
+ z-index: 9999;
+}
+.video_content .video{
+ position: fixed;
+ border-radius: 8rpx;
+ top: 50%;
+ left: 75rpx;
+ transform: translate(0, -50%);
+ width: 600rpx;
+ z-index: 10000;
+}
\ No newline at end of file
--
Gitblit v1.9.3