修改会员相关文案;更改首页为动态页面;修改版本号到1.2.1
This commit is contained in:
parent
b86bf9fe9e
commit
dcfc81ed6f
2
app.json
2
app.json
|
@ -2,7 +2,7 @@
|
||||||
"expo": {
|
"expo": {
|
||||||
"name": "铁粉空间",
|
"name": "铁粉空间",
|
||||||
"slug": "ironfans",
|
"slug": "ironfans",
|
||||||
"version": "1.2.0",
|
"version": "1.2.1",
|
||||||
"orientation": "portrait",
|
"orientation": "portrait",
|
||||||
"icon": "./assets/icon.png",
|
"icon": "./assets/icon.png",
|
||||||
"splash": {
|
"splash": {
|
||||||
|
|
|
@ -194,7 +194,7 @@ export default function Post({ blur, data }) {
|
||||||
<Text
|
<Text
|
||||||
style={tailwind("mx-1 text-sm font-medium text-[#FF669E]")}
|
style={tailwind("mx-1 text-sm font-medium text-[#FF669E]")}
|
||||||
>
|
>
|
||||||
会员永久查看所有动态
|
会员动态
|
||||||
</Text>
|
</Text>
|
||||||
<NativeImage
|
<NativeImage
|
||||||
source={require("../../assets/icon/others/pinklink.png")}
|
source={require("../../assets/icon/others/pinklink.png")}
|
||||||
|
|
|
@ -19,29 +19,6 @@ export default function HomeTab() {
|
||||||
},
|
},
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
<Tab.Screen
|
|
||||||
name="Stream"
|
|
||||||
component={Stream}
|
|
||||||
options={{
|
|
||||||
title: "发现",
|
|
||||||
headerShown: false,
|
|
||||||
tabBarIcon: ({ focused, color, size }) => {
|
|
||||||
if (focused) {
|
|
||||||
return (
|
|
||||||
<Image
|
|
||||||
source={require("../../assets/icon/others/streamfocus.png")}
|
|
||||||
/>
|
|
||||||
);
|
|
||||||
} else {
|
|
||||||
return (
|
|
||||||
<Image
|
|
||||||
source={require("../../assets/icon/others/streamblur.png")}
|
|
||||||
/>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
<Tab.Screen
|
<Tab.Screen
|
||||||
name="Posts"
|
name="Posts"
|
||||||
component={Posts}
|
component={Posts}
|
||||||
|
@ -65,6 +42,29 @@ export default function HomeTab() {
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
<Tab.Screen
|
||||||
|
name="Stream"
|
||||||
|
component={Stream}
|
||||||
|
options={{
|
||||||
|
title: "发现",
|
||||||
|
headerShown: false,
|
||||||
|
tabBarIcon: ({ focused, color, size }) => {
|
||||||
|
if (focused) {
|
||||||
|
return (
|
||||||
|
<Image
|
||||||
|
source={require("../../assets/icon/others/streamfocus.png")}
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
return (
|
||||||
|
<Image
|
||||||
|
source={require("../../assets/icon/others/streamblur.png")}
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}}
|
||||||
|
/>
|
||||||
<Tab.Screen
|
<Tab.Screen
|
||||||
name="My"
|
name="My"
|
||||||
component={My}
|
component={My}
|
||||||
|
|
|
@ -272,7 +272,13 @@ export default function My({ navigation }) {
|
||||||
)}
|
)}
|
||||||
</View>
|
</View>
|
||||||
{/* 会员 */}
|
{/* 会员 */}
|
||||||
<View
|
<TouchableOpacity
|
||||||
|
activeOpacity={1}
|
||||||
|
onPress={() =>
|
||||||
|
navigation.navigate("WebWithoutHeader", {
|
||||||
|
uri: process.env.EXPO_PUBLIC_WEB_URL + "/vip",
|
||||||
|
})
|
||||||
|
}
|
||||||
style={tailwind(
|
style={tailwind(
|
||||||
"flex flex-col p-2.5 rounded-2xl mt-3.5 bg-[#301024]"
|
"flex flex-col p-2.5 rounded-2xl mt-3.5 bg-[#301024]"
|
||||||
)}
|
)}
|
||||||
|
@ -289,7 +295,7 @@ export default function My({ navigation }) {
|
||||||
style={tailwind("text-base text-[#FF669E] font-medium")}
|
style={tailwind("text-base text-[#FF669E] font-medium")}
|
||||||
>
|
>
|
||||||
{data?.is_a_member !== 1
|
{data?.is_a_member !== 1
|
||||||
? "开通会员永久看全场"
|
? "开通会员订阅动态"
|
||||||
: "尊贵的永久会员"}
|
: "尊贵的永久会员"}
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
|
@ -300,23 +306,18 @@ export default function My({ navigation }) {
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
{data?.is_a_member !== 1 && (
|
{data?.is_a_member !== 1 && (
|
||||||
<TouchableOpacity
|
<View
|
||||||
onPress={() =>
|
|
||||||
navigation.navigate("WebWithoutHeader", {
|
|
||||||
uri: process.env.EXPO_PUBLIC_WEB_URL + "/vip",
|
|
||||||
})
|
|
||||||
}
|
|
||||||
style={tailwind(
|
style={tailwind(
|
||||||
"flex justify-center items-center h-9 bg-[#FF669E] rounded-full px-4"
|
"flex justify-center items-center h-9 bg-[#FF669E] rounded-full px-4"
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<Text style={tailwind("text-white text-sm font-medium")}>
|
<Text style={tailwind("text-white text-sm font-medium")}>
|
||||||
点我看看
|
¥99/永久
|
||||||
</Text>
|
</Text>
|
||||||
</TouchableOpacity>
|
</View>
|
||||||
)}
|
)}
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</TouchableOpacity>
|
||||||
{/* 纵向列表设置区 */}
|
{/* 纵向列表设置区 */}
|
||||||
{data?.role === 3 && (
|
{data?.role === 3 && (
|
||||||
<View
|
<View
|
||||||
|
|
|
@ -141,7 +141,7 @@ export default function FeedPosts({ blur }) {
|
||||||
source={require("../../../assets/icon/others/vipbig.png")}
|
source={require("../../../assets/icon/others/vipbig.png")}
|
||||||
/>
|
/>
|
||||||
<Text style={tailwind("text-[#FF669E] text-base font-medium ml-1")}>
|
<Text style={tailwind("text-[#FF669E] text-base font-medium ml-1")}>
|
||||||
开通会员永久看全场
|
开通会员订阅动态
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
|
@ -155,7 +155,7 @@ export default function FeedPosts({ blur }) {
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<Text style={tailwind("text-white text-sm font-medium")}>
|
<Text style={tailwind("text-white text-sm font-medium")}>
|
||||||
点我看看
|
¥99/永久
|
||||||
</Text>
|
</Text>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
</View>
|
</View>
|
||||||
|
|
|
@ -176,7 +176,7 @@ export default function FollowPosts({ blur }) {
|
||||||
source={require("../../../assets/icon/others/vipbig.png")}
|
source={require("../../../assets/icon/others/vipbig.png")}
|
||||||
/>
|
/>
|
||||||
<Text style={tailwind("text-[#FF669E] text-base font-medium ml-1")}>
|
<Text style={tailwind("text-[#FF669E] text-base font-medium ml-1")}>
|
||||||
开通会员永久看全场
|
开通会员订阅动态
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
|
|
Loading…
Reference in New Issue