Skip to content

✨ feat: 支持无智慧学工信息学生导入课表 - #34

Draft
li-chx wants to merge 1 commit into
mainfrom
feat/course
Draft

✨ feat: 支持无智慧学工信息学生导入课表#34
li-chx wants to merge 1 commit into
mainfrom
feat/course

Conversation

@li-chx

@li-chx li-chx commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread app/(tabs)/function.tsx
Comment on lines +237 to +306
{!isBound && (
<View
style={{
position: "absolute",
top: 0,
left: 0,
right: 0,
bottom: 0,
backgroundColor: isDark
? "rgba(0,0,0,0.65)"
: "rgba(255,255,255,0.75)",
alignItems: "center",
justifyContent: "center",
gap: 12,
}}
>
<View
style={{
width: 56,
height: 56,
borderRadius: 28,
backgroundColor: isDark
? "rgba(255,255,255,0.06)"
: "rgba(0,0,0,0.04)",
justifyContent: "center",
alignItems: "center",
}}
>
<Ionicons
name="person-circle-outline"
size={26}
color={isDark ? "#525252" : "#a3a3a3"}
/>
</View>
<Text
style={{
fontSize: 15,
fontWeight: "600",
color: isDark ? "#a3a3a3" : "#737373",
}}
>
{t("course.needBindTitle")}
</Text>
<Pressable
style={({ pressed }) => ({
marginTop: 4,
flexDirection: "row",
alignItems: "center",
gap: 2,
opacity: pressed ? 0.5 : 1,
})}
onPress={() => {
haptic();
router.navigate("/(tabs)/user");
}}
>
<Text
style={{
fontSize: 13,
color: "#3b82f6",
fontWeight: "500",
}}
>
{t("course.goBind")}
</Text>
<Ionicons name="chevron-forward" size={13} color="#3b82f6" />
</Pressable>
</View>
)}

@zhxycn zhxycn Aug 27, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

是否可以复用 components/layout/course-drawer.tsx

rename: course-drawer.tsx -> unbind-drawer.tsx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants