From 8fbd6b8d09e70494d920cc0b77812e9643be3196 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期二, 23 八月 2022 17:37:31 +0800
Subject: [PATCH] 2022.8.23
---
pages/home/home.wxss | 67 ++++++++++++++++++++++++++++-----
1 files changed, 57 insertions(+), 10 deletions(-)
diff --git a/pages/home/home.wxss b/pages/home/home.wxss
index b3ed0bd..4a6b587 100644
--- a/pages/home/home.wxss
+++ b/pages/home/home.wxss
@@ -1,31 +1,78 @@
/* pages/home/home.wxss */
.page__hd {
- background: linear-gradient(to bottom right, #D9FDFB, white);
+ /* background: linear-gradient(to bottom right, #D9FDFB, white); */
+ padding: 0;
+}
+
+.page__title {
+ margin-left: 10px;
+}
+
+.flex-h_block{
+ flex: 1;
}
.top-card {
position: relative;
border-radius: 4px;
- background-color: #5bf0d6;
+ background-color: #DCFFF9;
/* background: linear-gradient(to bottom right, #a5f5e9, #62EAD2); */
- color: white;
+ color: #219372;
padding: 8px;
- width: 26vw;
/* text-shadow: 1px 1px rgb(0, 0, 0, 0.4); */
+ margin-left: 10px;
+ margin-right: 2px;
+ height: 20vh;
+}
+
+.top-card_2 {
+ margin-left: 2px;
+ margin-right: 10px;
+ margin-bottom: 0.5vh;
+ height: 8.5vh;
+ background-color: #DDEEFF;
+ color: #2B7BCB;
+}
+
+.top-card_3 {
+ margin-left: 2px;
+ margin-right: 10px;
+ margin-top: 0.5vh;
+ height: 8.5vh;
+ background-color: #FAFCF0;
+ color: #859438;
}
.top-card>image{
+ width: 15vh;
+ height: 18vh;
+ position: absolute;
+ bottom: 0px;
+ right: 0px;
+}
+
+.top-card_2>image{
width: 13vw;
height: 14vw;
- position: absolute;
- bottom: -2px;
- right: -2px;
+}
+
+.top-card_3>image{
+ width: 13vw;
+ height: 14vw;
}
.top-card .top-card__time {
/* text-align: end; */
font-size: 12px;
- color: #ffffffde;
+ color: #8BD5C8;
+}
+
+.top-card_2 .top-card__time {
+ color: #95BEE7;
+}
+
+.top-card_3 .top-card__time {
+ color: #BBC391;
}
.top-card .top-card__score {
@@ -35,14 +82,14 @@
}
.top-card .top-card__num {
- font-size: 20px;
+ font-size: 26px;
font-weight: 600;
}
.top-card .top-card__tag{
font-size: 10px;
width: 12vw;
- color: #ffffff5e;
+ color: #ffffffbd;
}
.top-card .top-card__items {
--
Gitblit v1.9.3