-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #150 from eleliauk/main
fix:跳转bug
- Loading branch information
Showing
6 changed files
with
139 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,85 @@ | ||
/* eslint-disable react/jsx-key */ | ||
import { Swiper, SwiperItem, View } from '@tarojs/components'; | ||
import { ScrollView, View } from '@tarojs/components'; | ||
import React from 'react'; | ||
|
||
import './index.scss'; | ||
|
||
type FloatingWindowProps = object; | ||
|
||
const FloatingWindow: React.FC<FloatingWindowProps> = () => { | ||
const pages = [<Page1 />, <Page2 />, <Page3 />, <Page4 />]; | ||
|
||
return ( | ||
<View className="floating_window_background"> | ||
<Swiper | ||
<ScrollView | ||
className="floating_window_content" | ||
indicatorColor="#999" | ||
indicatorActiveColor="#333" | ||
circular | ||
indicatorDots | ||
scrollY | ||
style={{ height: '70vh' }} // 确保内容可以滚动 | ||
> | ||
{pages.map((page, index) => ( | ||
<SwiperItem key={index} className="floating_window_slide"> | ||
{page} | ||
</SwiperItem> | ||
))} | ||
</Swiper> | ||
<Page1 /> | ||
<Page2 /> | ||
<Page3 /> | ||
<Page4 /> | ||
</ScrollView> | ||
</View> | ||
); | ||
}; | ||
|
||
const Page1 = () => { | ||
return <View>1</View>; | ||
return ( | ||
<View className="page"> | ||
<View>木犀课栈隐私条例</View> | ||
作为华中师范大学学生自主运营的互联网技术团队,木犀一直高度重 | ||
视隐私保护、郑重对待相应责任,并已将隐私保护的要求融入日常业务活动流程。 | ||
希望您仔细阅读本条例,详细了解我们对信息的收集、使用方式,以便您更好地 | ||
了解我们的服务并作出适当的选择。若您使用木犀课栈的服务,即表示您认同我 | ||
们在本条例中所述内容。 | ||
</View> | ||
); | ||
}; | ||
|
||
const Page2 = () => { | ||
return <View>2</View>; | ||
return ( | ||
<View className="page"> | ||
我们收集的信息 | ||
我们根据合法、正当、必要的原则,仅收集实现产品功能所必要的信息,并将竭力通过有效的信息安全技术及管理流程,防止您的信息泄露、损毁、丢失。 | ||
1、您在使用我们服务时主动提供的信息 | ||
(1)您在登录时填写的信息。木犀课栈将采用华中师范大学一站式门户的账号密码进行登录,以此获取您的课程信息。 | ||
(2)您在使用服务时填写的信息。例如您上传的头像。 | ||
(3)我们的部分服务可能需要您提供特定的个人敏感信息来实现特定功能。若您选择不提供该类信息,则可能无法正常使用服务中的特定功能,但不影响您使用服务中的其他功能。若您主动提供您的个人敏感信息,即表示您同意我们按本条例所述目的和方式来处理您的个人敏感信息。 | ||
2、我们在您使用服务时获取的信息 | ||
当您使用我们的服务时,我们可能会存储服务日志信息。例如搜索、查看的信息、服务故障信息等。 | ||
</View> | ||
); | ||
}; | ||
|
||
const Page3 = () => { | ||
return <View>3</View>; | ||
return ( | ||
<View className="page"> | ||
3、其他相关信息 | ||
(1)其他用户分享的信息中含有您的信息。例如,其他用户分享的截图中可能包含您的信息。 | ||
(2)从第三方合作伙伴获取的信息。例如,您使用QQ授权登录时,我们会获得您登录的名称、登录时间,方便您进行授权管理。请您仔细阅读第三方合作伙伴服务的用户协议或隐私政策。 | ||
我们如何使用收集的信息 | ||
我们严格遵守法律法规的规定及与用户的约定,将收集的信息用于以下用途。若我们超出以下用途使用您的信息,我们将再次向您进行说明,并征得您的同意。 | ||
1、向您提供服务 | ||
2、产品开发和服务优化。例如,当我们的系统发生故障时,我们会记录和分析系统故障时产生的信息,优化我们的服务。 | ||
3、为了确保服务的安全,帮助我们更好地了解我们应用程序的运行情况,我们可能记录相关信息,例如,您使用应用程序的频率、故障信息、总体使用情况、性能数据以及应用程序的来源。我们不会将我们存储在分析软件中的信息与您在应用程序中提供的个人身份信息相结合。 | ||
您分享的信息 | ||
您可以通过我们的服务与好友分享相关课程或评价信息。例如,在空间中公开分享课程评价和课表。 | ||
请注意,这其中可能包含您的个人身份信息、个人课程信息等敏感信息,请您谨慎考虑披露您的相关个人敏感信息,这些信息可能由其他用户或不受我们控制的非关联第三方独立保存。 | ||
我们可能向您发送的信息 | ||
</View> | ||
); | ||
}; | ||
|
||
const Page4 = () => { | ||
return <View>4</View>; | ||
return ( | ||
<View className="page"> | ||
1、信息推送:您在使用我们的服务时,我们会向您发送通知信息。 | ||
2、与服务有关的公告:我们可能在必要时(例如,因系统维护而暂停某一项服务时)向您发出与服务有关的公告。 | ||
联系我们 如您对本条例或其他相关事宜有疑问, 请通过QQ群:799651462与我们联系。 | ||
您也可以将问题发送至邮箱:[email protected] | ||
我们将在验证您的用户身份后,尽快审核所涉问题并予以回复。 | ||
</View> | ||
); | ||
}; | ||
|
||
export default FloatingWindow; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters