<template>
	<view class="legal-page">
		<view class="header">
			<view class="title">Privacy Policy</view>
			<view class="subtitle">Applicable to this service (Last updated: {{ effectiveDate }})</view>
		</view>

		<view class="card notice">
			<view class="p">We are well aware of the importance of personal information to you and will do our best to protect your personal information security. Please carefully read and understand this Privacy Policy before using {{ brandName }} services.</view>
		</view>

		<scroll-view class="content" scroll-y>
			<view class="h1">I. Scope of Application</view>
			<view class="p">
				This policy is formulated and published by {{ companyName }} and applies to {{ brandName }} mini program and its shared fan rental services. "We" in this text specifically refers to {{ companyName }}, and we will process your personal information in accordance with the principles of legality, legitimacy, and necessity.
			</view>

			<view class="h1">II. Information We Collect</view>
			<view class="p">2.1 Account information: Alipay login identifier (such as userId), nickname and avatar (with your authorization), mobile phone number (obtained through Alipay after your authorization).</view>
			<view class="p">2.2 Order and device information: rental records, usage duration, fees, return points, device status, abnormal records, etc.</view>
			<view class="p">2.3 Location and outlet information: used to find nearby outlets and navigation after your authorization, and will not be obtained without authorization.</view>
			<view class="p">2.4 Log information: To ensure service security and stability, we may record operation logs, network requests, and error information.</view>

			<view class="h1">III. Purpose of Information Use</view>
			<view class="p">3.1 Provide core functions: identity verification, deposit-free rental (Sesame Credit assessment), order billing and settlement, customer service and after-sales.</view>
			<view class="p">3.2 Security risk control: prevent fraud, violations and risk control; ensure system and device security.</view>
			<view class="p">3.3 Product optimization: statistics and analysis to improve experience (conducted after de-identification/anonymization).</view>

		<view class="h1">IV. Sesame Credit and Payment</view>
		<view class="p">4.1 To implement deposit-free rental, we will conduct necessary data interaction with Sesame Credit (such as credit assessment results and order settlement). Related data processing follows the rules of Alipay and Sesame Credit.</view>
			<view class="p">4.2 If you fail the assessment, pre-authorization or deposit processing may be required, subject to page prompts.</view>

			<view class="h1">V. Sharing, Transfer and Public Disclosure</view>
			<view class="p">5.1 We will not sell your personal information to third parties.</view>
			<view class="p">5.2 When realizing necessary functions, we may share necessary information with partners (such as payment and logistics service providers), and require them to protect your information according to standards not lower than this policy.</view>
			<view class="p">5.3 In case of transfer due to merger, division, reorganization or bankruptcy liquidation, we will require the new holder to continue to be bound by this policy, otherwise we will obtain your consent again.</view>
			<view class="p">5.4 Only in circumstances such as laws and regulations or regulatory requirements, litigation dispute handling, protection of personal and property safety, etc., may disclosure be made in accordance with the law.</view>

			<view class="h1">VI. Information Storage and Security</view>
			<view class="p">6.1 Storage location: Your personal information is in principle stored within the territory of the People's Republic of China. If cross-border transmission is required, we will comply with laws and regulations and obtain your consent.</view>
			<view class="p">6.2 Storage period: the shortest period necessary to achieve the purpose. After expiration, it will be deleted or anonymized, except as otherwise provided by laws and regulations.</view>
			<view class="p">6.3 Security measures: We adopt measures such as encrypted transmission, access control, minimized authorization, monitoring and auditing to protect the security of your information.</view>

			<view class="h1">VII. Your Rights</view>
			<view class="p">7.1 Access and correction: You can access or correct some information through "My-Personal Information/Support".</view>
			<view class="p">7.2 Deletion and withdrawal of consent: When meeting legal requirements and necessary conditions such as account settlement and dispute handling, you can apply for deletion or withdrawal of authorization; some functions may not be available after withdrawal.</view>
			<view class="p">7.3 Account cancellation: After meeting the conditions and completing fee settlement, device return, and dispute handling, you can apply for account cancellation.</view>

			<view class="h1">VIII. Protection of Minors</view>
			<view class="p">8.1 Minors should use the service under supervision. We will not knowingly collect unnecessary personal information of minors.</view>

			<view class="h1">IX. Policy Updates and Notifications</view>
			<view class="p">9.1 We may update this policy due to function iteration and changes in laws and regulations. Important changes will be notified through mini program announcements or in-app messages. Continued use after update is deemed as your consent.</view>

			<view class="h1">X. Contact Us</view>
			<view class="p">10.1 You can contact us through "My-Customer Service" to exercise the aforementioned rights or raise questions about this policy.</view>
		</scroll-view>

		<view class="footer">If you have any questions about this policy, please contact our customer service.</view>
	</view>
</template>

<script setup>
	import { ref, onMounted } from 'vue'

	onMounted(() => {
		uni.setNavigationBarTitle({
			title: 'Privacy Policy'
		})
	})

	const brandName = 'WindPower'
	const companyName = 'Shenzhen Lemu Zhiyun Technology Co., Ltd.'
	const effectiveDate = '2025-10-13'
</script>

<style lang="scss" scoped>
	.legal-page {
		min-height: 100vh;
		background: #f8f8f8;
		padding: 24rpx 24rpx 40rpx;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;

		.header {
			margin-bottom: 16rpx;
		}

		.title {
			font-size: 40rpx;
			font-weight: 600;
			color: #222;
			margin-bottom: 8rpx;
		}

		.subtitle {
			font-size: 24rpx;
			color: #888;
		}

		.card {
			background: #fff;
			border-radius: 16rpx;
			padding: 20rpx;
			box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.04);
		}

		.notice {
			margin-bottom: 16rpx;
		}

		.content {
			background: #fff;
			border-radius: 16rpx;
			padding: 16rpx 20rpx;
			flex: 1;
			min-height: 0;
			box-sizing: border-box;
			box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.04);
		}

		.h1 {
			font-size: 30rpx;
			font-weight: 600;
			color: #222;
			margin: 18rpx 0 12rpx;
		}

		.p {
			font-size: 26rpx;
			color: #444;
			line-height: 1.8;
			margin-bottom: 10rpx;
		}

		.bold {
			font-weight: 600;
			color: #222;
		}

		.footer {
			text-align: center;
			margin-top: 16rpx;
			font-size: 24rpx;
			color: #888;
		}
	}
</style>

