From b9b6de6fc6cf1d586bd43b2c72b447da03cb01f3 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期一, 05 八月 2024 18:38:21 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/zbomyoujia
---
wechat_jiaxuan/pages/productVideo/index.wxss | 36 +++++++++++++++++++++++++++++++++++-
1 files changed, 35 insertions(+), 1 deletions(-)
diff --git a/wechat_jiaxuan/pages/productVideo/index.wxss b/wechat_jiaxuan/pages/productVideo/index.wxss
index 5d130e2..82e362c 100644
--- a/wechat_jiaxuan/pages/productVideo/index.wxss
+++ b/wechat_jiaxuan/pages/productVideo/index.wxss
@@ -52,8 +52,29 @@
.content {
padding: 0 40rpx 40rpx;
}
-.content .item .img {
+.content .item {
+ margin-bottom: 60rpx;
+ position: relative;
+}
+.content .item video {
+ border-radius: 8rpx;
+}
+.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 +89,16 @@
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%);
+}
--
Gitblit v1.9.3