Skip to content

Commit

Permalink
解决更新弹窗的布局问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWFan authored and ThomasWFan committed Oct 19, 2016
1 parent 5ac90ea commit 76fa999
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions bilibili2/BundleArtifacts/x86.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
MainPackage=E:\Documents\Visual Studio 2015\Projects\BiliBili-UWP\bilibili2\bin\x86\Debug\bilibili2_2.7.1.0_x86_Debug.appx
SymbolPackage=E:\Documents\Visual Studio 2015\Projects\BiliBili-UWP\bilibili2\AppPackages\bilibili2_2.7.1.0_Debug_Test\bilibili2_2.7.1.0_x86_Debug.appxsym
MainPackage=E:\Documents\Visual Studio 2015\Projects\BiliBili-UWP\bilibili2\bin\x86\Debug\bilibili2_2.7.2.0_x86_Debug.appx
SymbolPackage=E:\Documents\Visual Studio 2015\Projects\BiliBili-UWP\bilibili2\AppPackages\bilibili2_2.7.2.0_Debug_Test\bilibili2_2.7.2.0_x86_Debug.appxsym
4 changes: 2 additions & 2 deletions bilibili2/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,7 @@

<local:MessageShow x:Name="messShow" Grid.RowSpan="4" Margin="10" HorizontalAlignment="Center" VerticalAlignment="Bottom"/>
<Grid x:Name="Feedback_Grid"></Grid>
<Controls:MyMessageDialog x:Name="mess_Info" Grid.RowSpan="2" RightClick="mess_Info_RightClick"/>
<Controls:MyMessageDialog x:Name="mess_Update" Grid.RowSpan="2"/>
<Controls:MyMessageDialog x:Name="mess_Info" Grid.Row="1" Grid.RowSpan="2" RightClick="mess_Info_RightClick"/>
<Controls:MyMessageDialog x:Name="mess_Update" Grid.Row="1" Grid.RowSpan="2"/>
</Grid>
</Page>
6 changes: 3 additions & 3 deletions bilibili2/MainPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1358,6 +1358,8 @@ private void ChangeTitbarColor()
//电脑标题栏颜色
var titleBar = Windows.UI.ViewManagement.ApplicationView.GetForCurrentView().TitleBar;
titleBar.BackgroundColor = ((SolidColorBrush)top_grid.Background).Color;
titleBar.ButtonForegroundColor = Colors.White;
titleBar.ButtonInactiveForegroundColor = Colors.White;
titleBar.ButtonHoverBackgroundColor = ((SolidColorBrush)menu_DarkBack.Background).Color;
titleBar.ButtonBackgroundColor = ((SolidColorBrush)top_grid.Background).Color;
titleBar.ButtonPressedBackgroundColor = Colors.WhiteSmoke;
Expand Down Expand Up @@ -2075,9 +2077,7 @@ private async void User_load_more_Click(object sender, RoutedEventArgs e)
}

private void btn_User_Click(object sender, RoutedEventArgs e)
{

}
=> btn_UserInfo_Click(sender, e);

private void btn_search_Click(object sender, RoutedEventArgs e)
{
Expand Down
20 changes: 10 additions & 10 deletions bilibili2/Package.appxmanifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" IgnorableNamespaces="uap mp">
<Identity Name="5421.BiliBiliUWP" Publisher="CN=43A199A3-3813-4434-830F-536BE5EFB42E" Version="2.7.1.0" />
<Identity Name="5421.BiliBiliUWP" Publisher="CN=43A199A3-3813-4434-830F-536BE5EFB42E" Version="2.7.2.0" />
<mp:PhoneIdentity PhoneProductId="58710062-37ab-4196-836d-1030d9d73897" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
<Properties>
<DisplayName>BiliBili UWP</DisplayName>
Expand All @@ -24,16 +24,11 @@
<uap:SplashScreen Image="Assets\SplashScreen.png" BackgroundColor="#DF85A0" />
</uap:VisualElements>
<Extensions>
<Extension Category="windows.backgroundTasks" EntryPoint="BackTask.BackgroundTask">
<Extension Category="windows.backgroundTasks" EntryPoint="BackTask.BackgroundAudioTask">
<BackgroundTasks>
<Task Type="timer" />
<Task Type="audio" />
</BackgroundTasks>
</Extension>
<uap:Extension Category="windows.protocol" EntryPoint="bilibili2.App">
<uap:Protocol Name="bilibili">
<uap:DisplayName>BiliBili UWP</uap:DisplayName>
</uap:Protocol>
</uap:Extension>
<uap:Extension Category="windows.fileTypeAssociation" EntryPoint="bilibili2.App">
<uap:FileTypeAssociation Name="23333">
<uap:DisplayName>BiliBili UWP</uap:DisplayName>
Expand All @@ -43,9 +38,14 @@
</uap:SupportedFileTypes>
</uap:FileTypeAssociation>
</uap:Extension>
<Extension Category="windows.backgroundTasks" EntryPoint="BackTask.BackgroundAudioTask">
<uap:Extension Category="windows.protocol" EntryPoint="bilibili2.App">
<uap:Protocol Name="bilibili">
<uap:DisplayName>BiliBili UWP</uap:DisplayName>
</uap:Protocol>
</uap:Extension>
<Extension Category="windows.backgroundTasks" EntryPoint="BackTask.BackgroundTask">
<BackgroundTasks>
<Task Type="audio" />
<Task Type="timer" />
</BackgroundTasks>
</Extension>
</Extensions>
Expand Down

0 comments on commit 76fa999

Please sign in to comment.