Commit d51acd0d authored by 潘永坪's avatar 潘永坪

半屏小程序开发

parent dd4f9359
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
"enable" : false "enable" : false
}, },
"requiredPrivateInfos" : [ "getLocation" ], "requiredPrivateInfos" : [ "getLocation" ],
"embeddedAppIdList" : [ "wx882fabc8844b5363", "wx888e5ed62eb274db" ] //第一个途比达,第二个长江索道 "embeddedAppIdList" : [ "wx888e5ed62eb274db" ] //第一个途比达,第二个长江索道
}, },
"mp-alipay" : { "mp-alipay" : {
"usingComponents" : true, "usingComponents" : true,
......
...@@ -195,10 +195,11 @@ export default { ...@@ -195,10 +195,11 @@ export default {
}, },
aaa(){ aaa(){
uni.openEmbeddedMiniProgram({ uni.openEmbeddedMiniProgram({
appId: 'wx882fabc8844b5363', // 目标小程序的appid appId: 'wx888e5ed62eb274db', // 目标小程序的appid
path: 'pages/orders/orders', // 打开的页面路径,可选 path: 'pages/payment/orderPayment/orderPayment', // 打开的页面路径,可选
extraData: { // 需要传递给目标小程序的数据,可选 extraData: { // 需要传递给目标小程序的数据,可选
orderId: 'z001715240555636905c358cf6758baa' orderId: 'z0017322618978189e13cc13adb58918',
openid:'oroHZ5D2kemXkyFtTb_KnJMH1fqc'
}, },
success: (res) => { success: (res) => {
// 打开成功的回调 // 打开成功的回调
......
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