Compare commits

..

No commits in common. '61aade44b9949f7ed8b98c19009dc1cb18c0637f' and 'c3863f8cff33695819033087810c6f0cc8a33671' have entirely different histories.

@ -147,6 +147,9 @@ const ActivityCalendar = () => {
]} ]}
className={styles.segmented} className={styles.segmented}
/> />
<Button className={styles.dayButton} onClick={handleBackToToday}>
</Button>
</div> </div>
</div> </div>

@ -17,22 +17,22 @@
} }
.createButton { .createButton {
background: rgba(0, 212, 138, 1); background: linear-gradient(98deg, #12d49c 0%, #0ec9c9 100%);
border: none; border: none;
border-radius: 2px; border-radius: 8px;
padding: 2px 10px; padding: 6px 16px;
height: 30px; height: 34px;
box-shadow: 0 6px 14px rgba(18, 212, 156, 0.25);
&:hover, &:hover,
&:focus { &:focus {
background: rgba(0, 212, 138, 1); background: linear-gradient(98deg, #0fcf94 0%, #0cbcbc 100%);
} }
} }
.toolbarRight { .toolbarRight {
display: flex; display: flex;
align-items: center; align-items: center;
justify-self: center;
gap: 10px; gap: 10px;
} }
@ -40,10 +40,10 @@
width: 88px; width: 88px;
:global(.ant-select-selector) { :global(.ant-select-selector) {
border-radius: 2px; border-radius: 6px;
border-color: #e8e8e8; border-color: #e8e8e8;
box-shadow: none !important; box-shadow: none !important;
height: 30px; height: 34px;
} }
} }
@ -59,20 +59,16 @@
} }
:global(.ant-segmented-item) { :global(.ant-segmented-item) {
display: flex; padding: 4px 12px;
align-items: center;
justify-self: center;
padding: 2px 10px;
min-width: 38px; min-width: 38px;
height: 30px; height: 34px;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
:global(.ant-segmented-item-selected) { :global(.ant-segmented-item-selected) {
// background: #0fcfaf; background: #0fcfaf;
border: 1px solid rgba(0, 212, 138, 1); color: #fff;
color: #333;
} }
} }
@ -216,4 +212,4 @@
.eventIcon { .eventIcon {
color: #12a77c; color: #12a77c;
} }
} }

@ -9,10 +9,10 @@ import {
import styles from './ActivityManagement.less'; import styles from './ActivityManagement.less';
const statusMeta = { const statusMeta = {
ongoing: { label: '准备中', ribbon: '#20c997' }, ongoing: { label: '进行中', ribbon: '#20c997' },
published: { label: '已完成', ribbon: '#20c997' }, published: { label: '已发布', ribbon: '#20c997' },
finished: { label: '已发布', ribbon: '#fa8c16' }, finished: { label: '已结束', ribbon: '#fa8c16' },
archived: { label: '已取消', ribbon: '#999999' }, archived: { label: '已归档', ribbon: '#999999' },
}; };
const sampleFiles = [ const sampleFiles = [
@ -129,7 +129,6 @@ const ActivityManagement = () => {
</div> </div>
<div className={styles.cardBody}> <div className={styles.cardBody}>
<div className={styles.titleRow}> <div className={styles.titleRow}>
<span style={{ display: 'inline-block', width: 3, height: 16, background: 'rgba(0, 157, 111, 1)', borderRadius: 2, marginRight: 8 }} />
<div className={styles.title}>{item.title}</div> <div className={styles.title}>{item.title}</div>
</div> </div>
<div className={styles.metaRow}> <div className={styles.metaRow}>

@ -17,27 +17,23 @@
} }
.createButton { .createButton {
background: rgba(0, 212, 138, 1); background: linear-gradient(98deg, #12d49c 0%, #0ec9c9 100%);
border: none; border: none;
border-radius: 2px; border-radius: 8px;
padding: 2px 12px; padding: 6px 16px;
height: 32px; height: 34px;
box-shadow: 0 6px 14px rgba(18, 212, 156, 0.25);
&:hover, &:hover,
&:focus {} &:focus {
background: linear-gradient(98deg, #0fcf94 0%, #0cbcbc 100%);
}
} }
.filters { .filters {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 24px; gap: 24px;
:global {
.ant-checkbox-checked .ant-checkbox-inner {
background-color: rgba(0, 212, 138, 1);
border-color: rgba(0, 212, 138, 1);
}
}
} }
.filterGroup { .filterGroup {
@ -119,7 +115,7 @@
.titleRow { .titleRow {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: start; justify-content: space-between;
} }
.title { .title {
@ -194,4 +190,4 @@
.archive { .archive {
color: #999; color: #999;
} }

Loading…
Cancel
Save