Skip to content

Commit

Permalink
Update main.xaml
Browse files Browse the repository at this point in the history
  • Loading branch information
MFn233 authored Aug 16, 2024
1 parent 7e27f9c commit f40fde5
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions urlshortcut/main.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!--网页捷径(头一次知道能这么玩)-->
<!--网页捷径迁移至此-->
<Grid Margin="0,0,0,8">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
Expand All @@ -15,12 +15,12 @@
<ColumnDefinition Width="1*" />
</Grid.ColumnDefinitions>
<local:MyTextBox HintText="在此输入网页链接…" Margin="0,0,0,10" Name="site" Height="30" Grid.Column="0"
ToolTip="在此输入链接,点击右边按钮打开自定义网页。&#xA;注意不要按下Enter键,这会直接启动游戏。" />
<local:MyButton EventType="打开网页" EventData="{Binding ElementName=site,Path=Text}" Text="打开网页"
ToolTip="在此输入链接,点击右边按钮打开自定义网页。&#xA;注意不要按下Enter键,这会直接启动游戏。" Text="https://www.baidu.com" />
<local:MyButton EventType="打开网页" EventData="{Binding ElementName=site,Path=Text}" Text="打开网页"
Margin="5,0,0,10" Height="30" Grid.Column="1" ToolTip="点我打开" Padding="2,0,2,0"
ColorType="Highlight" />
</Grid>
<local:MyCard Margin="0,0,0,12" Title="常用网站" CanSwap="True" IsSwaped="True">
<local:MyCard Margin="0,0,0,12" Title="常用网站" CanSwap="True" IsSwaped="False">
<StackPanel Margin="24,40,24,15">
<local:MyListItem Margin="-2,0,0,0" Logo="https://www.baidu.com/favicon.ico" Title="百度"
Info="百度一下,你就知道" EventType="打开网页" EventData="https://www.baidu.com/" Type="Clickable" />
Expand Down Expand Up @@ -116,8 +116,7 @@
Title="Modrinth"
Info="Discover, play, and share Minecraft content through our open-source platform built for the community."
EventType="打开网页" EventData="https://modrinth.com/" Type="Clickable" />
<!-- 这下知道为啥放mcnav了吧(doge -->
<local:MyListItem Margin="-2,0,0,0" Logo="https://www.mcnav.net/wp-content/uploads/2021/07/1627453946-planetminecraft_logo.png"
<local:MyListItem Margin="-2,0,0,0" Logo="https://www.planetminecraft.com/favicon.ico"
Title="Planet Minecraft"
Info="Trending Minecraft Community Content."
EventType="打开网页" EventData="https://www.planetminecraft.com/" Type="Clickable" />
Expand Down

0 comments on commit f40fde5

Please sign in to comment.