优化空间内展示

This commit is contained in:
yezian 2024-04-25 19:01:48 +08:00
parent 33f076f2e9
commit 86cb9426a4
2 changed files with 5 additions and 3 deletions

View File

@ -317,7 +317,7 @@ export default function SpacePost({ data }) {
</View> </View>
{data.is_ironfan_visible === 1 && ( {data.is_ironfan_visible === 1 && (
<Text style={tailwind("text-xs text-[#FFFFFF40] mt-1")}> <Text style={tailwind("text-xs text-[#FFFFFF40] mt-1")}>
空间内任意消费满{data.ironfanship_price / 100}即可成为铁粉 空间内任意消费满{data.ironfanship_price / 100}即可成为铁粉
</Text> </Text>
)} )}
</TouchableOpacity> </TouchableOpacity>
@ -474,7 +474,7 @@ export default function SpacePost({ data }) {
</View> </View>
{data.is_ironfan_visible === 1 && ( {data.is_ironfan_visible === 1 && (
<Text style={tailwind("text-xs text-[#FFFFFF40] mt-1")}> <Text style={tailwind("text-xs text-[#FFFFFF40] mt-1")}>
空间内任意消费满{data.ironfanship_price / 100}即可成为铁粉 空间内任意消费满{data.ironfanship_price / 100}即可成为铁粉
</Text> </Text>
)} )}
</TouchableOpacity> </TouchableOpacity>

View File

@ -602,7 +602,9 @@ export default function StreamerSpace({ navigation, route }) {
<Text <Text
style={tailwind("text-white text-xs font-medium mt-0.5")} style={tailwind("text-white text-xs font-medium mt-0.5")}
> >
成为铁粉 {data?.is_ironfanship_unlocked === 1
? "已是铁粉"
: "成为铁粉"}
</Text> </Text>
<Text <Text
style={{ style={{