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 | 206 +++++++++++++++++++++++++++++++++-----------------
1 files changed, 135 insertions(+), 71 deletions(-)
diff --git a/miniprogram/pages/user/index.wxss b/miniprogram/pages/user/index.wxss
index 5b2ec17..9457a4b 100644
--- a/miniprogram/pages/user/index.wxss
+++ b/miniprogram/pages/user/index.wxss
@@ -1,20 +1,24 @@
-.font-name{
+.font-name {
font-size: 15px;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
margin-left: -55px;
line-height: 10rpx;
}
-.indexImage{
+
+.indexImage {
/* margin-top: -100px;
height: 200px; */
/* margin-bottom: 100%; */
}
-.imageView{
- position:absolute;
+
+.imageView {
+ width: 100%;
+ /* position:absolute;
top: 0;
left: 0;
- right: 0;
+ right: 0; */
}
+
/* 棣栭〉鍥炬爣
.reportIcon{
width: 120rpx;
@@ -23,62 +27,73 @@
margin-left: -30px;
} */
-.show1{
+.show1 {
display: block;
border-radius: 8rpx;
margin: 20rpx 20rpx 20rpx 20rpx;
font-size: 35rpx;
- font-style:normal;
- }
+ font-style: normal;
+}
-.icon{
+.icon {
height: 30px;
width: 30px;
margin-top: 15px;
- margin-left: 20px;
-}
-.container{
- width: 100%;
+ margin-left: 0.7rem;
}
-.box1{
- float:left;
- margin-top: 50%;
- margin-left: -8%;
- /* margin-right: 15px; */
- height: 70px;
- width: 145px;
- border: 1px solid rgba(0,0,0,0.2);
+.container {
+ width: 100%;
+ background-color: #F5F5F5;
}
-.box2{
- float:right;
- height: 70px;
- margin-top: 50%;
- margin-right: -8%;
- width: 145px;
- border: 1px solid rgba(0,0,0,0.2);
+
+.box-title {
+ /* position: fixed;
+ top: 2rem; */
+ /* height: 10rem; */
+ display: flex;
+ padding: 0.5rem 0.5rem;
+ justify-content: space-between;
+ flex-wrap: wrap;
+
}
-.box3{
- float:left;
- /* margin-right: 15px; */
- margin-left: -8%;
- height: 70px;
- width: 145px;
- border: 1px solid rgba(0,0,0,0.2);
+.box-t{
+ margin-bottom: 1rem;
}
-.box4{
- float:right;
- margin-right: -8%;
- height: 70px;
- width: 145px;
- border: 1px solid rgba(0,0,0,0.2);
+
+
+.box2 {
+ 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;
}
-.container3{
+.box1 {
+ background: -webkit-linear-gradient(left,#FCCBCB,#FFE0E0,#FFF4F4,#FCCACA);
+}
+.box3 {
+ /* margin: 0 1rem; */
+ background: -webkit-linear-gradient(left,#D8EFDE,#F1FFF0,#D8EFDE,#F1FFF0);
+}
+
+.box4 {
+ background: -webkit-linear-gradient(left,#E2D8F3,#E8DEFE,#FDFBFF,#E2D8F3);
+}
+
+.container3 {
margin-top: 10px;
}
-.font-wenzi{
- margin-left: 20px;
- font-size:13px;
+
+.font-wenzi {
+ /* margin-left: 20px; */
+ font-size: 13px;
+ font-weight: 900;
}
@@ -90,52 +105,101 @@
margin-top: -15px;
color:rgba(0,0,0,0.2);
} */
-.font-name{
+.font-name {
font-size: 14px;
margin-bottom: 4px;
}
-.font-qita{
+
+.font-qita {
font-size: 13px;
}
-.font-qita1{
+
+.font-qita1 {
font-size: 13px;
margin-bottom: 5px;
}
-.conter{
- border-bottom:1px solid rgba(0,0,0,0.1);
+
+.conter {
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
-.list{
- margin-top: 8px;
- width: 100%;
+
+/* .font-wenzi1鍜宮ore鍦╨ist鐩掑瓙鐨勫乏鍙充袱杈� */
+.list {
+ display: flex;
+ margin-top: 1rem;
+ width: 100%;
font-size: 14px;
- border-bottom: 1px solid rgba(0,0,0,0.1);
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
+ justify-content: space-between;
}
-.font-wenzi1{
- font-size: 13px;
+
+.list .font-wenzi1 {
+ font-size: 17px;
margin-bottom: 4px;
+ margin-left: 0.5rem;
+ font-weight: 900;
}
-.content{
+
+.list .more {
margin-bottom: 4px;
float: right;
- font-size: 12px;
- color:rgba(0,0,0,0.7);
-
+ font-size: 17px;
+ color: rgba(0, 0, 0, 0.7);
+ margin-right: 0.5rem;
+ font-weight: 900;
}
-.lists{
- border-bottom: 1px solid rgba(0,0,0,0.1);
+
+.lists {
+ margin-top: 0.5rem;
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
width: 100%;
}
-.item{
- font-size: 14px;
- margin-bottom: 1%;
+.lists .swiper-video{
+ height: 100%;
+ width: 100%;
}
-.item2{
+.lists:last-child{
+ margin-bottom: 1rem;
+}
+.top-img{
+ width: 100%;
+}
+.lists .lists-top {
+ display: flex;
+ justify-content: space-between;
+}
+
+.lists .lists-top .lists-top-time {
font-size: 12px;
- float: right;
- margin-right: 40%;
- color:rgba(0,0,0,0.5);
+ margin-bottom: 1%;
+ color: rgba(0, 0, 0, 0.5);
+ margin-right: 0.5rem;
+ width: 50%;
+ text-align: right;
}
-.item3{
+
+.lists .lists-top .lists-top-title {
+ font-size: 14px;
+ /* margin-right: 40%; */
+ font-weight: bold;
+ margin-left: 0.5rem;
+ word-wrap: normal;
+ width: 50%;
+ overflow:hidden;/*鍐呭瓒呭嚭鍚庨殣钘�*/
+
+ text-overflow: ellipsis;/* 瓒呭嚭鍐呭鏄剧ず涓虹渷鐣ュ彿 */
+
+ white-space: nowrap;/* 鏂囨湰涓嶈繘琛屾崲琛� */
+}
+
+.lists .lists-content {
font-size: 11px;
- margin-bottom: 2%;
+ margin: 0.5rem;
+ margin-bottom: 0.5rem;
+ width: 90%;
+ overflow:hidden;/*鍐呭瓒呭嚭鍚庨殣钘�*/
+
+ text-overflow: ellipsis;/* 瓒呭嚭鍐呭鏄剧ず涓虹渷鐣ュ彿 */
+
+ white-space: nowrap;/* 鏂囨湰涓嶈繘琛屾崲琛� */
}
--
Gitblit v1.8.0