From 45b2c022e27dda53ee4e5266fbdbdf1ac3aa4c65 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 05 八月 2022 16:47:59 +0800
Subject: [PATCH] 2022.8.5
---
pages/home/home.wxss | 55 ++++++++++++++++++++++++++++++++++++++++++++++++-------
1 files changed, 48 insertions(+), 7 deletions(-)
diff --git a/pages/home/home.wxss b/pages/home/home.wxss
index 0dcdddc..0b03eb2 100644
--- a/pages/home/home.wxss
+++ b/pages/home/home.wxss
@@ -5,9 +5,10 @@
.top-card {
border-radius: 4px;
- background: linear-gradient(to bottom right, #bbf3eb, #62EAD2);
+ background: linear-gradient(to bottom right, #a5f5e9, #62EAD2);
color: white;
padding: 8px;
+ text-shadow: 1px 1px rgb(0, 0, 0, 0.4);
}
.top-card .top-card__time {
@@ -41,11 +42,6 @@
font-weight: 600;
}
-.icon {
- width: 13px;
- height: 13px;
-}
-
.title {
padding: 8px;
}
@@ -61,4 +57,49 @@
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
-}
\ No newline at end of file
+}
+
+.image-btn {
+ position: relative;
+}
+
+.image-btn>image {
+ width: 46vw;
+ height: 90px;
+}
+
+.image-btn .image-btn_title {
+ position: absolute;
+ left: 8px;
+ top: 4px;
+ color: white;
+ font-size: 15px;
+}
+
+.image-btn .image-btn_abstract {
+ position: absolute;
+ left: 8px;
+ top: 28px;
+ color: white;
+ font-size: 10px;
+}
+
+.image-btn .image-btn_goto {
+ position: absolute;
+ left: 8px;
+ top: 48px;
+ width: 24px;
+ height: 24px;
+ background-color: white;
+ text-align: center;
+ border-radius: 50%;
+ background-repeat: no-repeat;
+ background-position: center;
+ background-image: url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)
+}
+
+/* .image-btn .image-btn_goto>image {
+ width: 14px;
+ height: 20px;
+ src: url();
+} */
\ No newline at end of file
--
Gitblit v1.9.3