From 437144f41c74505d362a5214a18cec3d01b3ce4b Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期一, 10 十月 2022 17:51:30 +0800
Subject: [PATCH] 2022.10.10
---
pages/home/home.wxss | 84 ++++++++++++++++++++++++++++++++++++-----
1 files changed, 73 insertions(+), 11 deletions(-)
diff --git a/pages/home/home.wxss b/pages/home/home.wxss
index b3ed0bd..d73b853 100644
--- a/pages/home/home.wxss
+++ b/pages/home/home.wxss
@@ -1,31 +1,93 @@
/* 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;
+ font-size: 18px;
+ color: var(--fyui-text-color_1);
+ /* font-weight: 600; */
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+.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;
+ text-align: center;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+}
+
+.top-card_2 {
+ margin-left: 2px;
+ margin-right: 10px;
+ margin-bottom: 0.5vh;
+ height: 8.5vh;
+ background-color: #DDEEFF;
+ color: #2B7BCB;
+ text-align: start;
+}
+
+.top-card_3 {
+ margin-left: 2px;
+ margin-right: 10px;
+ margin-top: 0.5vh;
+ height: 8.5vh;
+ background-color: #FAFCF0;
+ color: #859438;
+ text-align: start;
}
.top-card>image{
+ width: 12vh;
+ height: 12vh;
+ position: absolute;
+ bottom: 0px;
+ right: 0px;
+ opacity: 0.6;
+}
+
+.top-card_2>image{
width: 13vw;
height: 14vw;
- position: absolute;
- bottom: -2px;
- right: -2px;
+ opacity: 0.5;
+}
+
+.top-card_3>image{
+ width: 13vw;
+ height: 14vw;
+ opacity: 0.5;
}
.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 +97,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 {
@@ -55,7 +117,7 @@
}
.top-card__items .top-card__item view {
- color: #ffffffde;
+ /* color: #ffffffde; */
font-size: 12px;
}
--
Gitblit v1.9.3