add 添加 4 种道具

This commit is contained in:
yupi
2022-09-17 12:09:46 +08:00
parent 200b2a47d0
commit 9b8077c536
8 changed files with 189 additions and 66 deletions

View File

@@ -39,6 +39,20 @@
代码完全开源欢迎 star
</div>
</a>
<div class="footer">
鱼了个鱼 ©2022 by
<a href="https://github.com/liyupi" target="_blank" style="color: #fff">
程序员鱼皮
</a>
|
<a
href="https://github.com/liyupi/yulegeyu"
target="_blank"
style="color: #fff"
>
代码开源
</a>
</div>
</div>
</template>
@@ -57,7 +71,7 @@ const router = useRouter();
const { setGameConfig } = useGlobalStore();
const toGamePage = (config?: GameConfig) => {
const toGamePage = (config?: GameConfigType) => {
if (config) {
setGameConfig(config);
router.push("/game");
@@ -71,4 +85,15 @@ const toGamePage = (config?: GameConfig) => {
#indexPage {
text-align: center;
}
.footer {
background: rgba(0, 0, 0, 0.6);
color: #fff;
padding: 12px;
text-align: center;
position: fixed;
bottom: 0;
left: 0;
right: 0;
}
</style>