Commit ca0686d5 authored by haiyoucuv's avatar haiyoucuv

init

parent 8a86f62d
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<title>零食贪吃蛇</title> <title>零食贪吃蛇</title>
<!-- <script--> <!-- <script-->
<!-- src="https://yun.duiba.com.cn/polaris/zepto.min.f5f743714a5ee209f7451ba74d0ce24dbefb1d27.js"--> <!-- src="https://yun.duiba.com.cn/polaris/zepto.min.f5f743714a5ee209f7451ba74d0ce24dbefb1d27.js"-->
...@@ -53,7 +55,7 @@ ...@@ -53,7 +55,7 @@
<script> <script>
function clickBtn () { function clickBtn () {
wx.miniProgram.switchTab({ wx.miniProgram.switchTab({
url: "pages/home/index", url: "/pages/home/index",
success: () => { success: () => {
console.log("跳转成功"); console.log("跳转成功");
}, },
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<title>零食贪吃蛇</title> <title>零食贪吃蛇</title>
<!-- <script--> <!-- <script-->
<!-- src="https://yun.duiba.com.cn/polaris/zepto.min.f5f743714a5ee209f7451ba74d0ce24dbefb1d27.js"--> <!-- src="https://yun.duiba.com.cn/polaris/zepto.min.f5f743714a5ee209f7451ba74d0ce24dbefb1d27.js"-->
...@@ -53,7 +55,7 @@ ...@@ -53,7 +55,7 @@
<script> <script>
function clickBtn () { function clickBtn () {
wx.miniProgram.switchTab({ wx.miniProgram.switchTab({
url: "pages/home/index", url: "/pages/home/index",
success: () => { success: () => {
console.log("跳转成功"); console.log("跳转成功");
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment