Skip to content

Commit edbad19

Browse files
Merge pull request MuxiKeStack#130 from MuxiKeStack/feat/spzy/official-notification-closing
🔨 refactor:关闭官方通知模块,未来后台系统完善后再开放
2 parents 3c84be1 + 6bd5adb commit edbad19

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/modules/notification/components/Items.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ interface OfficialProps {
1212
}
1313

1414
const ImageOfficial: React.FC<OfficialProps> = memo(({ title, description }) => (
15-
<View className="flex h-[30vh] w-full flex-col overflow-hidden rounded-lg bg-[#f9f9f2]">
15+
<View className="flex h-[30vh] w-full flex-col overflow-hidden rounded-lg bg-[#f9f9f2] shadow-lg">
1616
<View className="flex-[4] border-b-2 border-[#ffd777]"></View>
1717
<View className="flex flex-1 flex-col gap-1 px-4 py-2">
1818
<Text className="text-md">{title}</Text>
@@ -22,7 +22,7 @@ const ImageOfficial: React.FC<OfficialProps> = memo(({ title, description }) =>
2222
));
2323

2424
const AlertOfficial: React.FC<OfficialProps> = memo(({ title }) => (
25-
<View className="flex w-full items-center rounded-l-full rounded-r-full bg-[#f9f9f2] p-4 text-sm">
25+
<View className="flex w-full items-center rounded-l-full rounded-r-full bg-[#f9f9f2] px-4 py-2 text-sm shadow-lg">
2626
<Text className="text-sm text-[#f18900]">{title}</Text>
2727
</View>
2828
));
@@ -50,13 +50,16 @@ export const OfficialItem = memo(
5050
return (
5151
<>
5252
<View className="flex w-full flex-col items-center gap-4">
53+
<AlertOfficial title="此版块暫未开放,未来将会有更多精彩内容" />
54+
</View>
55+
{/* <View className="flex w-full flex-col items-center gap-4">
5356
<View className="text-xs text-gray-500">07:25</View>
5457
<ImageOfficial title="评课活动要开始了" description="摘要" />
5558
</View>
5659
<View className="flex w-full flex-col items-center gap-4">
5760
<View className="text-xs text-gray-500">07:25</View>
5861
<AlertOfficial title="您在高等数学下方的评论违规,请注意您的发言" />
59-
</View>
62+
</View> */}
6063
</>
6164
);
6265
}

0 commit comments

Comments
 (0)