首页头部

master
CeZhu 2023-12-30 21:21:29 +08:00
parent aad65b63c6
commit a6e495b9b5
4 changed files with 54 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -15,14 +15,63 @@
<Switch IsToggled="{Binding IsToggled,Mode=TwoWay}"></Switch>
<Label Text="|" WidthRequest="20" HeightRequest="20" TextColor="#BFBFBF"></Label>
<StackLayout HorizontalOptions="End" Orientation="Vertical">
<Image Source="order_receiving_start.png" IsVisible="{Binding IsToggled}" HeightRequest="30" WidthRequest="30"/>
<Image Source="order_receiving_end.png" IsVisible="{Binding IsToggled,Converter={StaticResource BoolNegationConverter}}" HeightRequest="30" WidthRequest="30"/>
<Image Source="order_receiving_start.png" IsVisible="{Binding IsToggled}" HeightRequest="30"
WidthRequest="30" />
<Image Source="order_receiving_end.png"
IsVisible="{Binding IsToggled,Converter={StaticResource BoolNegationConverter}}"
HeightRequest="30" WidthRequest="30" />
<Label Text="订单" HorizontalOptions="Center"></Label>
</StackLayout>
</StackLayout>
</StackLayout>
<Grid></Grid>
<Grid Padding="20" Margin="0,30" RowSpacing="20">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<!-- 第一行,第一列 -->
<VerticalStackLayout Grid.Row="0" Grid.Column="0">
<Label Text="钱包(元)" FontSize="12" HorizontalOptions="Center"></Label>
</VerticalStackLayout>
<!-- 第一行,第二列 -->
<VerticalStackLayout Grid.Row="0" Grid.Column="1">
<Label Text="总订单数" FontSize="12" HorizontalOptions="Center"></Label>
</VerticalStackLayout>
<!-- 第一行,第三列 -->
<VerticalStackLayout Grid.Row="0" Grid.Column="2">
<Label Text="总金额(元)" FontSize="12" HorizontalOptions="Center"></Label>
</VerticalStackLayout>
<!-- 第二行,第一列 -->
<VerticalStackLayout Grid.Row="1" Grid.Column="0">
<Image Source="tixian_ic.png" WidthRequest="20" HeightRequest="30" HorizontalOptions="Center"></Image>
<Label Text="提现" FontSize="14" FontAttributes="Bold" HorizontalOptions="Center"></Label>
</VerticalStackLayout>
<!-- 第二行,第二列 -->
<VerticalStackLayout Grid.Row="1" Grid.Column="1">
<Image Source="gerenzhongxin_ic.png" WidthRequest="20" HeightRequest="30"
HorizontalOptions="Center">
</Image>
<Label Text="个人中心" FontSize="14" FontAttributes="Bold" HorizontalOptions="Center"></Label>
</VerticalStackLayout>
<!-- 第二行,第三列 -->
<VerticalStackLayout Grid.Row="1" Grid.Column="2">
<Image Source="shezhi_ic.png" WidthRequest="20" HeightRequest="30" HorizontalOptions="Center"></Image>
<Label Text="设置" FontSize="14" FontAttributes="Bold" HorizontalOptions="Center"></Label>
</VerticalStackLayout>
</Grid>
</VerticalStackLayout>
</ContentPage.Content>
</ContentPage>