From 4b48bacef8646cee8b66f5e10b0ed7124534e93e Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期五, 12 五月 2023 17:10:47 +0800
Subject: [PATCH] 首页修改
---
miniprogram/pages/user/index.wxss | 85 +++++++++++++++++++++++-------------------
1 files changed, 46 insertions(+), 39 deletions(-)
diff --git a/miniprogram/pages/user/index.wxss b/miniprogram/pages/user/index.wxss
index f4cde8d..9457a4b 100644
--- a/miniprogram/pages/user/index.wxss
+++ b/miniprogram/pages/user/index.wxss
@@ -44,59 +44,46 @@
.container {
width: 100%;
+ background-color: #F5F5F5;
}
.box-title {
+ /* position: fixed;
+ top: 2rem; */
+ /* height: 10rem; */
display: flex;
+ padding: 0.5rem 0.5rem;
justify-content: space-between;
+ flex-wrap: wrap;
+
+}
+.box-t{
+ margin-bottom: 1rem;
}
-.box1 {
- display: inline-grid;
- align-items: center;
- justify-content: center;
- float: left;
- /* margin-top: 50%; */
- /* margin-left: -5%; */
- /* margin-right: 15px; */
- height: 70px;
- width: 100px;
- /* border: 1px solid rgba(0,0,0,0.2); */
-}
.box2 {
- display: inline-grid;
+ width: 10rem;
+ height: 4rem;
+ /* flex: 1; */
+ /* align-items: center; */
+ /* border: 1px solid #CCC; */
+ border-radius: 1rem;
+ background: -webkit-linear-gradient(left,#C0DEFE,#BFDEFD,#D9ECFB,#C0DEFE);
+ display: flex;
align-items: center;
justify-content: center;
- float: right;
- height: 70px;
- margin-top: 50%;
- margin-right: -8%;
- width: 145px;
- /* border: 1px solid rgba(0,0,0,0.2); */
}
-
+.box1 {
+ background: -webkit-linear-gradient(left,#FCCBCB,#FFE0E0,#FFF4F4,#FCCACA);
+}
.box3 {
- display: inline-grid;
- align-items: center;
- justify-content: center;
- float: left;
- /* margin-right: 15px; */
- margin-left: -8%;
- height: 70px;
- width: 145px;
- /* border: 1px solid rgba(0,0,0,0.2); */
+ /* margin: 0 1rem; */
+ background: -webkit-linear-gradient(left,#D8EFDE,#F1FFF0,#D8EFDE,#F1FFF0);
}
.box4 {
- display: inline-grid;
- align-items: center;
- justify-content: center;
- float: right;
- margin-right: -8%;
- height: 70px;
- width: 145px;
- /* border: 1px solid rgba(0,0,0,0.2); */
+ background: -webkit-linear-gradient(left,#E2D8F3,#E8DEFE,#FDFBFF,#E2D8F3);
}
.container3 {
@@ -106,6 +93,7 @@
.font-wenzi {
/* margin-left: 20px; */
font-size: 13px;
+ font-weight: 900;
}
@@ -146,7 +134,7 @@
}
.list .font-wenzi1 {
- font-size: 14px;
+ font-size: 17px;
margin-bottom: 4px;
margin-left: 0.5rem;
font-weight: 900;
@@ -155,7 +143,7 @@
.list .more {
margin-bottom: 4px;
float: right;
- font-size: 14px;
+ font-size: 17px;
color: rgba(0, 0, 0, 0.7);
margin-right: 0.5rem;
font-weight: 900;
@@ -165,6 +153,13 @@
margin-top: 0.5rem;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
width: 100%;
+}
+.lists .swiper-video{
+ height: 100%;
+ width: 100%;
+}
+.lists:last-child{
+ margin-bottom: 1rem;
}
.top-img{
width: 100%;
@@ -180,6 +175,7 @@
color: rgba(0, 0, 0, 0.5);
margin-right: 0.5rem;
width: 50%;
+ text-align: right;
}
.lists .lists-top .lists-top-title {
@@ -189,10 +185,21 @@
margin-left: 0.5rem;
word-wrap: normal;
width: 50%;
+ overflow:hidden;/*鍐呭瓒呭嚭鍚庨殣钘�*/
+
+ text-overflow: ellipsis;/* 瓒呭嚭鍐呭鏄剧ず涓虹渷鐣ュ彿 */
+
+ white-space: nowrap;/* 鏂囨湰涓嶈繘琛屾崲琛� */
}
.lists .lists-content {
font-size: 11px;
margin: 0.5rem;
margin-bottom: 0.5rem;
+ width: 90%;
+ overflow:hidden;/*鍐呭瓒呭嚭鍚庨殣钘�*/
+
+ text-overflow: ellipsis;/* 瓒呭嚭鍐呭鏄剧ず涓虹渷鐣ュ彿 */
+
+ white-space: nowrap;/* 鏂囨湰涓嶈繘琛屾崲琛� */
}
--
Gitblit v1.8.0