From 5b219a9694c8d69db42e746a654c779cc6a61bf6 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 18 七月 2024 18:42:20 +0800
Subject: [PATCH] ‘’
---
wechat_jiaxuan/pages/index/index.wxss | 48 ++++++++++++++++++++++++++++++++++++++++--------
1 files changed, 40 insertions(+), 8 deletions(-)
diff --git a/wechat_jiaxuan/pages/index/index.wxss b/wechat_jiaxuan/pages/index/index.wxss
index 81dce26..add8175 100644
--- a/wechat_jiaxuan/pages/index/index.wxss
+++ b/wechat_jiaxuan/pages/index/index.wxss
@@ -1,7 +1,7 @@
.container {
background-color: #f7f7f7;
overflow-y: auto;
- height: 100vh;
+ min-height: 100vh;
}
.container .banner_swiper {
height: 600rpx;
@@ -13,13 +13,10 @@
display: block;
}
.container .consult_swiper {
- height: 420rpx;
width: 100%;
}
.container .consult_swiper image {
width: 100%;
- height: 100%;
- display: block;
}
.container .logo_wrap {
width: 100%;
@@ -75,18 +72,40 @@
padding: 72rpx 40rpx;
background-color: #fff;
}
-.container .product_video video {
+.container .product_video .video_wrap {
width: 670rpx;
- height: 300rpx;
- border: 1px solid;
+ position: relative;
+}
+.container .product_video .video_wrap .play {
+ width: 60rpx;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ z-index: 1;
+}
+.container .product_video .video_wrap .img {
+ width: 100%;
}
.container .strategy {
padding: 80rpx 40rpx;
background: #F7F7F7;
}
-.container .strategy image {
+.container .strategy .item {
+ position: relative;
+}
+.container .strategy .item image {
width: 100%;
height: 100%;
+ position: absolute;
+}
+.container .strategy .item text {
+ color: #fff;
+ position: absolute;
+ bottom: 40rpx;
+ left: 40rpx;
+ font-size: 32rpx;
+ font-weight: 500;
}
.container .strategy .line {
display: flex;
@@ -148,3 +167,16 @@
width: 44rpx;
height: 44rpx;
}
+.top-head-transparent {
+ background-color: transparent !important;
+}
+.top-head-transparent .van-nav-bar__title {
+ /* color: #fff; */
+ width: calc(100% - 80rpx);
+ max-width: 100%;
+ padding: 0 40rpx;
+ text-align: left;
+ color: #fff;
+ font-weight: bold;
+ font-size: 40rpx;
+}
--
Gitblit v1.9.3