diff --git a/components/download/app.tsx b/components/download/app.tsx
index 40de423..aa9f586 100644
--- a/components/download/app.tsx
+++ b/components/download/app.tsx
@@ -40,15 +40,6 @@ export const AppDownload = (props: AppDownloadProps) => {
- {/* */}
{/* Description */}
diff --git a/components/download/qrCode.tsx b/components/download/qrCode.tsx
index 419fd8c..440ce64 100644
--- a/components/download/qrCode.tsx
+++ b/components/download/qrCode.tsx
@@ -1,7 +1,7 @@
import * as Haptics from 'expo-haptics';
import * as MediaLibrary from 'expo-media-library';
import React, { useRef } from 'react';
-import { Alert, StyleSheet, Text, TouchableOpacity, View } from 'react-native';
+import { Alert, StyleSheet, TouchableOpacity, View } from 'react-native';
import QRCode from 'react-native-qrcode-svg';
import { captureRef } from 'react-native-view-shot';
@@ -42,45 +42,26 @@ export default function QRDownloadScreen(prop: { url: string }) {
return (
- 长按保存二维码
-
{/* 可截图的容器 */}
-
- 👉 长按二维码即可保存
);
}
const styles = StyleSheet.create({
container: {
- flex: 1,
+ // flex: 1,
justifyContent: 'center',
alignItems: 'center',
- padding: 20,
- backgroundColor: '#f8f8f8',
- },
- title: {
- fontSize: 18,
- fontWeight: 'bold',
- marginBottom: 20,
- textAlign: 'center',
},
qrContainer: {
padding: 16,
backgroundColor: '#fff',
borderRadius: 12,
- borderWidth: 1,
- borderColor: '#ddd',
- shadowColor: '#000',
- shadowOffset: { width: 0, height: 2 },
- shadowOpacity: 0.1,
- shadowRadius: 4,
- elevation: 3,
},
tip: {
marginTop: 20,