|
|
@@ -303,14 +303,14 @@ const PassengersPage: React.FC = () => {
|
|
|
{/* 顶部操作栏 */}
|
|
|
<View className="px-4 py-4 bg-white shadow-sm">
|
|
|
<View className="mb-3">
|
|
|
- <Button
|
|
|
+ <Button
|
|
|
variant="outline"
|
|
|
- className="w-full"
|
|
|
+ className="w-full bg-[rgba(74,144,194,0.1)] border-2 border-[rgba(74,144,194,0.2)] text-primary rounded-[50rpx] px-[32rpx] py-[20rpx] transition-all duration-300 active:bg-[rgba(74,144,194,0.15)] active:scale-98"
|
|
|
onClick={() => setShowSearchBar(!showSearchBar)}
|
|
|
>
|
|
|
<View className="flex items-center justify-center">
|
|
|
- <View className="i-heroicons-magnifying-glass-20-solid w-4 h-4 mr-2" />
|
|
|
- 搜索乘车人
|
|
|
+ <View className="text-[32rpx] mr-[12rpx]">🔍</View>
|
|
|
+ <Text className="text-[28rpx] font-medium">搜索乘车人</Text>
|
|
|
</View>
|
|
|
</Button>
|
|
|
</View>
|
|
|
@@ -402,10 +402,10 @@ const PassengersPage: React.FC = () => {
|
|
|
编辑
|
|
|
</Button>
|
|
|
<Button
|
|
|
- variant="destructive"
|
|
|
+ variant="outline"
|
|
|
size="sm"
|
|
|
onClick={() => deletePassenger(passenger)}
|
|
|
- className="min-w-20"
|
|
|
+ className="min-w-20 border-red-500 text-red-500 hover:bg-red-50"
|
|
|
>
|
|
|
删除
|
|
|
</Button>
|