|
@@ -205,12 +205,12 @@ export default {
|
|
|
},
|
|
|
weixin(){
|
|
|
let params = {
|
|
|
- "eventType": "com.launchMiniProgram",
|
|
|
- "data": {
|
|
|
- userName: 'gh_e9f7d5c76d18',
|
|
|
- miniProgramType: 0,
|
|
|
- path: `/pages/index/index?money=${this.money}&scene=3&userId=${localStorage.getItem("user")}&channelId=null&openid=null`
|
|
|
- }
|
|
|
+ "eventType": "com.launchMiniProgram",
|
|
|
+ "data": {
|
|
|
+ userName: 'gh_e9f7d5c76d18',
|
|
|
+ miniProgramType: 2,
|
|
|
+ path: `/pages/index/index?money=${this.money}&scene=3&userId=${localStorage.getItem("user")}&channelId=null&openid=null`
|
|
|
+ }
|
|
|
}
|
|
|
window.ReactNativeWebView.postMessage(JSON.stringify(params));
|
|
|
this.loading = false;
|