From ba94ceae1315174798ae1967ef62268c6d16cd5b Mon Sep 17 00:00:00 2001
From: Codex Assistant <codex@example.com>
Date: 星期一, 06 十月 2025 22:07:06 +0800
Subject: [PATCH] feat: 评审与活动相关改动 - backend(GraphQL): Activity schema 增加 updateActivityState(id, state);实现 resolver/service 仅更新 state=2 作为逻辑删除 - backend(GraphQL): region.graphqls 新增 Query leafRegions - backend(GraphQL): player.graphqls 的 projectReviewApplications 增加可选参数 regionId - backend(Service): listProjectReviewApplications 绑定 regionId 参数,修复 QueryParameterException - frontend(web): 新增 api/activity.js 的 updateActivityState 并接入 activity-list 删除逻辑 - frontend(web): review-list.vue 权限仅校验登录,移除角色限制;查询参数修正为 name/regionId - frontend(web): 删除未引用的 ActivityList.vue - frontend(web): projectReviewNew.js GraphQL 查询增加 name 参数
---
wx/pages/index/index.wxss | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 115 insertions(+), 1 deletions(-)
diff --git a/wx/pages/index/index.wxss b/wx/pages/index/index.wxss
index 00624fe..df62744 100644
--- a/wx/pages/index/index.wxss
+++ b/wx/pages/index/index.wxss
@@ -47,11 +47,14 @@
/* 杞挱鍥炬牱寮� */
.banner-section {
- margin-bottom: 20rpx;
+ margin-bottom: 24rpx;
+ padding: 0 20rpx;
}
.banner-swiper {
height: 400rpx;
+ border-radius: 24rpx;
+ overflow: hidden;
}
.banner-media {
@@ -163,6 +166,14 @@
white-space: nowrap;
}
+/* 妯″潡鏍囬 */
+.section-title {
+ padding: 20rpx 20rpx 12rpx;
+ font-size: 40rpx;
+ font-weight: 700;
+ color: #0f172a;
+}
+
/* 绛涢�夋爮鏍峰紡 */
.filter-bar {
background: #ffffff;
@@ -194,6 +205,109 @@
padding: 0 20rpx;
}
+/* 鏂扮増姘村钩鍗$墖 */
+.activity-card-horizontal {
+ background: #ffffff;
+ border-radius: 20rpx;
+ padding: 24rpx;
+ margin: 24rpx 0 0;
+}
+
+.activity-row {
+ display: flex;
+ align-items: center;
+ gap: 24rpx;
+}
+
+.info-col {
+ flex: 1;
+ min-width: 0;
+ display: flex;
+ flex-direction: column;
+ padding-top: 2rpx;
+}
+.btn-row {
+ width: 100%;
+ margin-top: auto; /* 灏嗘寜閽帹鍒板簳閮� */
+ display: flex;
+ flex-direction: row;
+ justify-content: flex-end;
+}
+
+.deadline {
+ font-size: 24rpx;
+ color: #64748b;
+ margin-bottom: 10rpx;
+}
+
+.activity-title-lg {
+ font-size: 34rpx;
+ font-weight: 700;
+ color: #0f172a;
+ line-height: 1.3;
+ margin-bottom: 12rpx;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+.registered {
+ font-size: 24rpx;
+ color: #94a3b8;
+ margin-bottom: 16rpx;
+}
+
+.ghost-btn {
+ background: #E6F0FF;
+ color: #007aff;
+ font-size: 26rpx;
+ padding: 14rpx 0;
+ border-radius: 999rpx;
+ line-height: 1;
+ border: none;
+ width: 140rpx;
+ text-align: center;
+ /* align-self 宸茬Щ闄わ紝鐢辩埗绾� .btn-row 鎺у埗瀵归綈 */
+ /* 绉婚櫎button榛樿鏍峰紡 */
+ margin: 0;
+ position: static;
+ display: inline-block;
+}
+
+.ghost-btn::after {
+ border: none;
+}
+
+.ghost-btn:active {
+ background: #e2e8f0;
+}
+
+.thumb-col {
+ width: 192rpx;
+ height: 192rpx;
+ flex-shrink: 0;
+ border-radius: 20rpx;
+ overflow: hidden;
+}
+
+.thumb-image {
+ width: 100%;
+ height: 100%;
+ border-radius: 20rpx;
+}
+
+.thumb-placeholder {
+ width: 100%;
+ height: 100%;
+ background: #e2e8f0;
+ color: #475569;
+ font-size: 36rpx;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ border-radius: 20rpx;
+}
+
.activity-card {
margin-bottom: 30rpx;
overflow: hidden;
--
Gitblit v1.8.0