Skip to content

Commit

Permalink
超大改动新更新
Browse files Browse the repository at this point in the history
  • Loading branch information
MFn233 authored Jun 16, 2024
1 parent ecf9675 commit 99710e0
Showing 1 changed file with 36 additions and 16 deletions.
52 changes: 36 additions & 16 deletions Custom.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!--
<!--
____ ___
/\ _`\ __ /\_ \ /'\_/`\ __
\ \,\L\_\/\_\ ___ ___ _____\//\ \ __ /\ \ __ /\_\ ___ _____ __ __ __
Expand All @@ -13,7 +13,7 @@
-->

<!--欢迎页-->
<local:MyCard Margin="0,0,0,8" Title="欢迎页"> <!--下面不是卡片,所以不用0,0,0,12-->
<local:MyCard Margin="0,0,0,8" Title="欢迎"> <!--下面不是卡片,所以不用0,0,0,12-->
<StackPanel Margin="24,40,24,15">
<TextBlock HorizontalAlignment="Center" Margin="0,0,0,12" Foreground="{DynamicResource ColorBrush2}" FontSize="20"
Text="欢迎使用Simple Mainpage!" />
Expand All @@ -29,8 +29,8 @@
<ColumnDefinition Width="0.5*" />
</Grid.ColumnDefinitions>
<local:MyIconButton Grid.Column="1" LogoScale="1.2" Logo="M13.5,4A1.5,1.5 0 0,0 12,5.5A1.5,1.5 0 0,0 13.5,7A1.5,1.5 0 0,0 15,5.5A1.5,1.5 0 0,0 13.5,4M13.14,8.77C11.95,8.87 8.7,11.46 8.7,11.46C8.5,11.61 8.56,11.6 8.72,11.88C8.88,12.15 8.86,12.17 9.05,12.04C9.25,11.91 9.58,11.7 10.13,11.36C12.25,10 10.47,13.14 9.56,18.43C9.2,21.05 11.56,19.7 12.17,19.3C12.77,18.91 14.38,17.8 14.54,17.69C14.76,17.54 14.6,17.42 14.43,17.17C14.31,17 14.19,17.12 14.19,17.12C13.54,17.55 12.35,18.45 12.19,17.88C12,17.31 13.22,13.4 13.89,10.71C14,10.07 14.3,8.67 13.14,8.77Z"
Height="21" Margin="0,5,0,0" ToolTip="关于作者"
EventData="关于作者|我是MFn233,一个妄图写出完美代码的程序员,该主页目前由我独立完成,并在GitHub上开源。欢迎你前往仓库为我的项目提issue\n\n如果你真的很希望更多地了解我,欢迎访问我的网站: mfn233.github.io\n\n©MFn233 2023/7/22" EventType="弹出窗口" VerticalAlignment="Bottom"/>
Height="21" Margin="0,5,0,0" ToolTip="作者网站"
EventData="https://mfn233.github.io/PCL-Mainpage/redirect/index.html" EventType="打开网页" VerticalAlignment="Bottom"/>
<local:MyIconButton Grid.Column="2" LogoScale="1.2" Logo="M256.455,8C322.724,8.119,382.892,34.233,427.314,76.685L463.029,40.97C478.149,25.851,504,36.559,504,57.941L504,192C504,205.255,493.255,216,480,216L345.941,216C324.559,216,313.851,190.149,328.97,175.029L370.72,133.279C339.856,104.38 299.919,88.372 257.49,88.006 165.092,87.208 87.207,161.983 88.0059999999999,257.448 88.764,348.009 162.184,424 256,424 297.127,424 335.997,409.322 366.629,382.444 371.372,378.283 378.535,378.536 382.997,382.997L422.659,422.659C427.531,427.531 427.29,435.474 422.177,440.092 378.202,479.813 319.926,504 256,504 119.034,504 8.001,392.967 8,256.002 7.999,119.193 119.646,7.755 256.455,8z"
Height="21" Margin="0,5,0,0"
ToolTip="点此刷新" EventType="刷新主页" VerticalAlignment="Bottom"/>
Expand All @@ -40,25 +40,26 @@

<!--网页捷径(头一次知道能这么玩)-->
<TextBlock HorizontalAlignment="Center" Margin="0,0,0,8" Foreground="{DynamicResource ColorBrush4}" FontSize="15"
Text="--------------------------------网页捷径--------------------------------"/>
Text="------------------------------网页捷径------------------------------"/>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="3*" />
<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="打开网页" Margin="5,0,0,10" Height="30" Grid.Column="1" ToolTip="按我打开" Padding="2,0,2,0" ColorType="Highlight"/>
<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="打开网页" 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,15" Title="常用网站" CanSwap="True" IsSwaped="True">
<local:MyCard Margin="0,0,0,12" Title="常用网站" CanSwap="True" IsSwaped="True">
<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" />
<local:MyListItem Margin="-2,0,0,0" Logo="https://cn.bing.com/favicon.ico" Title="Bing" Info="有求必应" EventType="打开网页" EventData="https://cn.bing.com/" Type="Clickable" />
<local:MyListItem Margin="-2,0,0,0" Logo="https://cn.bing.com/favicon.ico" Title="必应" Info="有求必应" EventType="打开网页" EventData="https://cn.bing.com/" Type="Clickable" />
<local:MyListItem Margin="-2,0,0,0" Logo="https://static.hdslb.com/images/favicon.ico" Title="Bilibili" Info="哔哩哔哩 (゜-゜)つロ 干杯~" EventType="打开网页" EventData="https://www.bilibili.com/" Type="Clickable" />
<local:MyListItem Margin="-2,0,0,0" Logo="https://github.githubassets.com/favicon.ico" Title="GitHub" Info="Let's build from here" EventType="打开网页" EventData="https://github.com/" Type="Clickable" />
<local:MyListItem Margin="-2,0,0,0" Logo="https://gitee.com/favicon.ico" Title="Gitee" Info="基于 Git 的代码托管和研发协作平台" EventType="打开网页" EventData="https://gitee.com/" Type="Clickable" />
<local:MyListItem Margin="-2,0,0,0" Logo="https://static.zhihu.com/heifetz/favicon.ico" Title="知乎" Info="有问题,就会有答案" EventType="打开网页" EventData="https://www.zhihu.com/" Type="Clickable" />
</StackPanel>
</local:MyCard>
<local:MyCard Margin="0,0,0,8" Title="Minecraft相关" CanSwap="True" IsSwaped="True">
<local:MyCard Margin="0,0,0,12" Title="Minecraft官方" CanSwap="True" IsSwaped="True">
<StackPanel Margin="24,40,24,15">
<local:MyListItem Margin="-2,0,0,0" Logo="pack://application:,,,/images/Blocks/Grass.png"
Title="Minecraft官网" Info="Minecraft国际版官网" EventType="打开网页" EventData="https://www.minecraft.net" Type="Clickable" />
Expand All @@ -70,19 +71,38 @@
<!-- https://mc.163.com/favicon.ico
太低清。。
-->
</StackPanel>
</local:MyCard>
<local:MyCard Margin="0,0,0,12" Title="Minecraft国内" CanSwap="True" IsSwaped="True">
<StackPanel Margin="24,40,24,15">
<!--
<local:MyListItem Margin="-2,0,0,0" Logo="pack://application:,,,/images/Blocks/GrassPath.png" Title="MCBBS" Info="最大的我的世界《Minecraft》中文论坛" EventType="打开网页" EventData="https://www.mcbbs.net" Type="Clickable" />
已寄 R.I.P.
-->
<local:MyListItem Margin="-2,0,0,0" Logo="https://zh.minecraft.wiki/favicon.ico" Title="中文Minecraft Wiki" Info="最详细的我的世界百科" EventType="打开网页" EventData="https://zh.minecraft.wiki/" Type="Clickable" />
<local:MyListItem Margin="-2,0,0,0" Logo="https://klpbbs.com/favicon.ico" Title="苦力怕BBS" Info="最大的我的世界《Minecraft》基岩版(BE)中文资源、交流论坛之一" EventType="打开网页" EventData="https://klpbbs.com/" Type="Clickable" />
<local:MyListItem Margin="-2,0,0,0" Logo="https://www.minebbs.com/favicon.ico" Title="MineBBS" Info="以我的世界基岩版(MCBE)内容为主的Minecraft中文论坛。" EventType="打开网页" EventData="https://www.minebbs.com/" Type="Clickable" />
<local:MyListItem Margin="-2,0,0,0" Logo="https://www.mcmod.cn/favicon.ico" Title="MC百科" Info="最大的Minecraft中文Mod百科" EventType="打开网页" EventData="https://www.mcmod.cn/" Type="Clickable" />
<local:MyListItem Margin="-2,0,0,0" Logo="https://zh.minecraft.wiki/favicon.ico" Title="中文Minecraft Wiki" Info="最详细的我的世界百科" EventType="打开网页" EventData="https://zh.minecraft.wiki/" Type="Clickable" />
<local:MyListItem Margin="-2,0,0,0" Logo="https://remcbbs.com/favicon.ico" Title="REMCBBS" Info="重建MCBBS!" EventType="打开网页" EventData="https://www.remcbbs.com" Type="Clickable" />
<local:MyListItem Margin="-2,0,0,0" Logo="pack://application:,,,/images/blocks/CommandBlock.png" Title="MCArchive" Info="a website where old (and new) Minecraft mods can be hosted and preserved for future generations." EventType="打开网页" EventData="https://github.com/MCArchive/MCArchive" Type="Clickable" />
<local:MyListItem Margin="-2,0,0,0" Logo="https://www.mcmod.cn/favicon.ico" Title="MC百科" Info="最大的Minecraft中文Mod百科" EventType="打开网页" EventData="https://www.mcmod.cn/" Type="Clickable" />
<!-- 国内知名我居然不知道 -->
<local:MyListItem Margin="-2,0,0,0" Logo="https://img1.minecraftzw.com/wp-content/uploads/2022/01/minecraftzw_20220126_1643240497.png" Title="我的世界中文站" Info="国内知名Minecraft中文主题网站" EventType="打开网页" EventData="https://www.minecraftzw.com/" Type="Clickable" />
<local:MyListItem Margin="-2,0,0,0" Logo="https://i.sodamc.com/soda/2024/02/f.png" Title="SodaMC" Info="SodaMC我的世界中文论坛" EventType="复制文本" EventData="https://sodamc.com/" Type="Clickable" />
<local:MyListItem Margin="-2,0,0,0" Logo="http://oss.minecraftxz.com/favicon.ico" Title="我的世界中文下载站" Info="这个网站提供了各种我的世界的MOD/模组,包括光影包,材质包,地图,整合包,RPG模组等。你可以浏览最新推荐,最新投稿,或者按照分类查找你感兴趣的MOD/模组。" EventType="复制文本" EventData="https://minecraftxz.com/" Type="Clickable" />
</StackPanel>
</local:MyCard>
<local:MyCard Margin="0,0,0,8" Title="Minecraft国外" CanSwap="True" IsSwaped="True">
<StackPanel Margin="24,40,24,15">
<local:MyListItem Margin="-2,0,0,0" Logo="https://minecraft.wiki/favicon.ico" Title="Minecraft Wiki" Info="The most detailed Minecraft wiki." EventType="打开网页" EventData="https://minecraft.wiki/" Type="Clickable" />
<local:MyListItem Margin="-2,0,0,0" Logo="pack://application:,,,/images/blocks/Anvil.png" Title="Curseforge" Info="The Home for the Best Minecraft Mods" EventType="打开网页" EventData="https://www.curseforge.com/minecraft" Type="Clickable" />
<local:MyListItem Margin="-2,0,0,0" Logo="https://modrinth.com/favicon.ico" 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" />
<local:MyListItem Margin="-2,0,0,0" Logo="pack://application:,,,/images/blocks/CommandBlock.png" Title="MCArchive" Info="a website where old (and new) Minecraft mods can be hosted and preserved for future generations." EventType="打开网页" EventData="https://github.com/MCArchive/MCArchive" Type="Clickable" />
<!-- 下面这三个图标都是草方块,给你统一了 -->
<local:MyListItem Margin="-2,0,0,0" Logo="pack://application:,,,/images/Blocks/Grass.png" Title="9Minecraft" Info="The Best Resource for Minecraft" EventType="打开网页" EventData="https://9minecraft.net/" Type="Clickable" />
<local:MyListItem Margin="-2,0,0,0" Logo="pack://application:,,,/images/Blocks/Grass.png" Title="Minecraft Forum" Info="Join the Minecraft community forums to chat about the latest versions, features and bugs ofJoin the Minecraft community forums to chat about the latest versions, features and bugs of the game. the game." EventType="打开网页" EventData="https://www.minecraftforum.net/" Type="Clickable" />
<!-- 居然还有个mc-mod,跟mcmod不一样 -->
<local:MyListItem Margin="-2,0,0,0" Logo="pack://application:,,,/images/Blocks/Grass.png" Title="Mc-Mod" Info="Find and download Minecraft mods, addons, texture packs, shaders, clients, maps, seeds and more for Java and Bedrock editions." EventType="打开网页" EventData="https://www.mc-mod.net/" Type="Clickable" />
<local:MyListItem Margin="-2,0,0,0" Logo="https://mcpedl.com/favicon.ico" Title="MCPEDL" Info="Minecraft PE Mods, Maps, Skins, Seeds, Texture Packs" EventType="打开网页" EventData="https://mcpedl.com/" Type="Clickable" />
<local:MyListItem Margin="-2,0,0,0" Logo="https://mcdlspot.com/assets/img/favicon.png" Title="MCDLSpot" Info="Minecraft PE Downloads, Mods, Skins and Guides" EventType="打开网页" EventData="https://mcdlspot.com/" Type="Clickable" />
</StackPanel>
</local:MyCard>

Expand Down Expand Up @@ -131,8 +151,6 @@
<local:MyCard Margin="0,0,0,12" Title="更多" CanSwap="True" IsSwaped="True">
<StackPanel Margin="24,40,24,15">
<local:MyHint Text="基岩版启动暂时出现问题,请等待PCL解决" Margin="0,0,0,10"/>
<local:MyListItem Margin="-2,0,0,6" Logo="https://zh.minecraft.wiki/favicon.ico" Title="【重要】中文MC Wiki迁移通知" Info="中文Minecraft Wiki现已迁移至zh.minecraft.wiki,请不要再访问Fandom的旧wiki!" EventType="打开网页" EventData="https://zh.minecraft.wiki/w/Minecraft_Wiki:%E8%BF%81%E7%A7%BB%E9%80%9A%E7%9F%A5" Type="Clickable" />
<local:MyListItem Margin="-2,0,0,12" Logo="https://static.zhihu.com/heifetz/favicon.ico" Title="【重要】国内最大我的世界社区MCBBS将关闭" Info="基本确定!国内最大我的世界社区mcbbs将关闭!" EventType="打开网页" EventData="https://zhuanlan.zhihu.com/p/683019909" Type="Clickable" />
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*" />
Expand Down Expand Up @@ -186,7 +204,9 @@
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<local:MyButton Grid.Column="0" Margin="0,10,10,0" Height="35" Text="鸣谢" EventType="弹出窗口"
EventData="鸣谢(排名不分先后)|MCSteve123(GitHub)提交大量pull request\nAd_closeNN(GitHub)提交大量pull request\nJingHai-Lingyun(GitHub)提供改进建议\nwuliaodexiaoluo(GitHub)提供改进建议\nSIPC(sipc.ink)帮助将主页文件挂载于云服务器" ToolTip="查看鸣谢(排名不分先后)"/>
EventData="鸣谢(排名不分先后)|MCSteve123(GitHub)提交大量pull request\nAd_closeNN(GitHub)提交大量pull request\nJingHai-Lingyun(GitHub)提供改进建议\nwuliaodexiaoluo(GitHub)提供改进建议\nSIPC(sipc.ink)帮助将主页文件挂载于云服务器" ToolTip="查看鸣谢(排名不分先后)"/>
<local:MyButton Grid.Column="1" Margin="0,10,0,0" Height="35" Text="关于作者" EventType="弹出窗口"
EventData="关于作者|我是MFn233,一个妄图写出完美代码的程序员,该主页目前由我独立完成,并在GitHub上开源。欢迎你前往仓库为我的项目提issue\n\n如果你真的很希望更多地了解我,欢迎访问我的网站: mfn233.github.io\n\n©MFn233 2023/7/22" ToolTip="关于作者"/>
</Grid>
</StackPanel>
</local:MyCard>
Expand Down

0 comments on commit 99710e0

Please sign in to comment.