Browse Source

小游戏y修改

tags/2.2.4
海洋之声 6 years ago
parent
commit
a5a728c85e
2 changed files with 5 additions and 4 deletions
  1. +4
    -3
      pages/game/index.js
  2. +1
    -1
      pages/game/index.json

+ 4
- 3
pages/game/index.js View File

@@ -2,12 +2,13 @@ let app = getApp();
Page({
data: {
token:'',
url:'http://10.11.195.31:8080/luckCard/'
url:'https://game.youlane.cn/luckCard/index.html'
},
onLoad() {
console.log("http://10.11.195.31:8080/luckCard?token="+app.globalData.token)
console.log("http://10.11.195.31:8080/luckCard/?token="+app.globalData.token)
this.setData({
url:"http://10.11.195.31:8080/luckCard?token="+app.globalData.token
// url:"https://game.youlane.cn/luckCard/index.html?token="+app.globalData.token,
url:"http://10.11.195.31:8080/luckCard/?token="+app.globalData.token
});
}
});

+ 1
- 1
pages/game/index.json View File

@@ -2,5 +2,5 @@
"usingComponents": {
},
"navigationBarTitleText": "游戏"
"navigationBarTitleText": ""
}

Loading…
Cancel
Save