From 203e00636426d36b3b78e0d45c24199e880f548c Mon Sep 17 00:00:00 2001
From: fifththirteen <570205219@qq.com>
Date: Mon, 4 Dec 2023 10:40:28 +0800
Subject: [PATCH] =?UTF-8?q?fix:=E6=97=A5=E5=B8=B8=E4=BA=91=E4=BB=8E?=
=?UTF-8?q?=E7=A4=BE=20=E6=A5=9A=E5=A4=A9=E7=A4=BE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/assets/css/gonggao/daily.less | 49 +++--
src/components/gonggao/Daily.vue | 55 +----
.../gonggao/daily/SimpleCelebrity.vue | 188 ++++++++++++++----
src/service/gonggao.js | 18 +-
src/utils/index.js | 48 +++--
5 files changed, 234 insertions(+), 124 deletions(-)
diff --git a/src/assets/css/gonggao/daily.less b/src/assets/css/gonggao/daily.less
index cb1b56221..6b80384d9 100644
--- a/src/assets/css/gonggao/daily.less
+++ b/src/assets/css/gonggao/daily.less
@@ -16,6 +16,15 @@
.u-server {
font-size: 16px;
}
+ .flex;
+ justify-content: space-between;
+ align-items: flex-end;
+ span {
+ font-size: 14px;
+ color: #989898;
+ cursor: pointer;
+ margin-right: 10px;
+ }
}
.m-daily-content {
.size(420px, 248px);
@@ -222,52 +231,54 @@
}
.m-simple-celebrity {
- .mt(20px);
.flex;
flex-direction: column;
- gap: 20px;
+ gap: 10px;
.m-celebrity-item {
flex: none;
.flex;
flex-direction: column;
padding: 10px;
- gap: 13px;
+ gap: 20px;
width: 100%;
- height: 80px;
+ height: 76px;
box-sizing: border-box;
background: #ffffff;
color: #000000;
border-radius: 10px;
+ font-size: 14px;
+ line-height: 18px;
.u-celebrity-title {
.flex;
justify-content: space-between;
align-items: center;
- // font-weight: 700;
- font-size: 16px;
- line-height: 26px;
- color: #888;
+ .bold;
+ }
+ .u-celebrity-staged {
+ .flex;
+ justify-content: space-between;
+ align-items: center;
+ .bold;
+ img {
+ .size(18px);
+ margin-right: 2px;
+ }
}
.u-celebrity-desc {
.flex;
justify-content: space-between;
align-items: center;
- font-weight: 400;
- font-size: 15px;
- line-height: 21px;
- & > div {
+ .u-map {
.flex;
align-items: center;
+ gap: 5px;
}
- img {
- .size(21px, 21px);
- .mr(2px);
+ .u-desc {
+ font-size: 12px;
+ color: rgba(0, 0, 0, 0.5);
}
}
- &.current-item {
- // background-color: #ffad31;
- // color: #fff;
- }
}
}
diff --git a/src/components/gonggao/Daily.vue b/src/components/gonggao/Daily.vue
index 16d853d35..f17191680 100644
--- a/src/components/gonggao/Daily.vue
+++ b/src/components/gonggao/Daily.vue
@@ -14,25 +14,12 @@