From 3714621173c606c4c58439ed8941100ce9ddea14 Mon Sep 17 00:00:00 2001
From: Codex Assistant <codex@example.com>
Date: 星期三, 05 十一月 2025 15:10:49 +0800
Subject: [PATCH] bug
---
wx/pages/index/index.wxss | 199 +++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 198 insertions(+), 1 deletions(-)
diff --git a/wx/pages/index/index.wxss b/wx/pages/index/index.wxss
index 00624fe..d2ef0c1 100644
--- a/wx/pages/index/index.wxss
+++ b/wx/pages/index/index.wxss
@@ -1,5 +1,83 @@
/* pages/index/index.wxss */
+/* 椤甸潰澶撮儴鍒嗕韩鍖哄煙鏍峰紡 */
+.header-section {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 20rpx;
+ background: #ffffff;
+ border-bottom: 1rpx solid #f0f0f0;
+}
+
+.page-title {
+ font-size: 36rpx;
+ font-weight: 700;
+ color: #0f172a;
+}
+
+.share-section {
+ display: flex;
+ align-items: center;
+}
+
+.share-btn {
+ display: flex;
+ align-items: center;
+ gap: 8rpx;
+ background: #007aff;
+ color: #ffffff;
+ border: none;
+ border-radius: 50rpx;
+ padding: 16rpx 24rpx;
+ font-size: 26rpx;
+ line-height: 1;
+}
+
+.share-btn::after {
+ border: none;
+}
+
+.share-btn:active {
+ background: #0056cc;
+}
+
+.share-icon {
+ font-size: 28rpx;
+}
+
+.share-text {
+ font-size: 26rpx;
+}
+
+/* 姣旇禌鍗$墖鍒嗕韩鎸夐挳鏍峰紡 */
+.share-activity-btn {
+ width: 80rpx;
+ height: 60rpx;
+ background: #f8fafc;
+ border: 1rpx solid #e2e8f0;
+ border-radius: 12rpx;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin-left: 16rpx;
+ padding: 0;
+ line-height: 1;
+}
+
+.share-activity-btn::after {
+ border: none;
+}
+
+.share-activity-btn:active {
+ background: #e2e8f0;
+}
+
+.share-icon-small {
+ font-size: 24rpx;
+ color: #64748b;
+}
+
/* 鎼滅储鏍忔牱寮� */
.search-bar {
padding: 20rpx;
@@ -47,11 +125,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 +244,14 @@
white-space: nowrap;
}
+/* 妯″潡鏍囬 */
+.section-title {
+ padding: 20rpx 20rpx 12rpx;
+ font-size: 40rpx;
+ font-weight: 700;
+ color: #0f172a;
+}
+
/* 绛涢�夋爮鏍峰紡 */
.filter-bar {
background: #ffffff;
@@ -194,6 +283,114 @@
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;
+}
+
+.btn-none {
+ box-shadow: none;
+ background-color: transparent;
+ line-height: inherit;
+ border-radius: 0;
+ margin: 0rpx;
+ margin-right: 0rpx !important;
+ padding: 0rpx;
+ outline: none;
+ font-weight: normal;
+ width: auto;
+}
+
+.ghost-btn {
+ background: #E6F0FF;
+ color: #007aff;
+ font-size: 26rpx;
+ border-radius: 999rpx;
+ width: 200rpx;
+ border: none;
+}
+
+.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