修改会员相关文案;更改首页为动态页面;修改版本号到1.2.1

This commit is contained in:
yezian 2024-01-28 23:30:29 +08:00
parent b86bf9fe9e
commit dcfc81ed6f
6 changed files with 40 additions and 39 deletions

View File

@ -2,7 +2,7 @@
"expo": {
"name": "铁粉空间",
"slug": "ironfans",
"version": "1.2.0",
"version": "1.2.1",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {

View File

@ -194,7 +194,7 @@ export default function Post({ blur, data }) {
<Text
style={tailwind("mx-1 text-sm font-medium text-[#FF669E]")}
>
会员永久查看所有动态
会员动态
</Text>
<NativeImage
source={require("../../assets/icon/others/pinklink.png")}

View File

@ -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
name="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
name="My"
component={My}

View File

@ -272,7 +272,13 @@ export default function My({ navigation }) {
)}
</View>
{/* 会员 */}
<View
<TouchableOpacity
activeOpacity={1}
onPress={() =>
navigation.navigate("WebWithoutHeader", {
uri: process.env.EXPO_PUBLIC_WEB_URL + "/vip",
})
}
style={tailwind(
"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")}
>
{data?.is_a_member !== 1
? "开通会员永久看全场"
? "开通会员订阅动态"
: "尊贵的永久会员"}
</Text>
</View>
@ -300,23 +306,18 @@ export default function My({ navigation }) {
</Text>
</View>
{data?.is_a_member !== 1 && (
<TouchableOpacity
onPress={() =>
navigation.navigate("WebWithoutHeader", {
uri: process.env.EXPO_PUBLIC_WEB_URL + "/vip",
})
}
<View
style={tailwind(
"flex justify-center items-center h-9 bg-[#FF669E] rounded-full px-4"
)}
>
<Text style={tailwind("text-white text-sm font-medium")}>
点我看看
¥99/永久
</Text>
</TouchableOpacity>
</View>
)}
</View>
</View>
</TouchableOpacity>
{/* 纵向列表设置区 */}
{data?.role === 3 && (
<View

View File

@ -141,7 +141,7 @@ export default function FeedPosts({ blur }) {
source={require("../../../assets/icon/others/vipbig.png")}
/>
<Text style={tailwind("text-[#FF669E] text-base font-medium ml-1")}>
开通会员永久看全场
开通会员订阅动态
</Text>
</View>
<TouchableOpacity
@ -155,7 +155,7 @@ export default function FeedPosts({ blur }) {
)}
>
<Text style={tailwind("text-white text-sm font-medium")}>
点我看看
¥99/永久
</Text>
</TouchableOpacity>
</View>

View File

@ -176,7 +176,7 @@ export default function FollowPosts({ blur }) {
source={require("../../../assets/icon/others/vipbig.png")}
/>
<Text style={tailwind("text-[#FF669E] text-base font-medium ml-1")}>
开通会员永久看全场
开通会员订阅动态
</Text>
</View>
<TouchableOpacity