This commit is contained in:
weicw
2023-09-28 21:19:51 +08:00
parent 81ecfd9df0
commit 0256bd355d
21 changed files with 1025 additions and 596 deletions

View File

@@ -94,13 +94,24 @@
// my.alert({ title: res.code });
// }
// })
my.scan({
scanType: ['barCode'],
my.ap.openAlipayApp({
appCode: 'alipayScan',
success: res => {
console.log("res: ",res);
my.alert({ title: res.code });
console.log('openAlipayApp success', res);
},
fail: err => {
console.log('openAlipayApp fail', err);
}
});
// my.scan({
// scanType: ['qrCode'],
// autoDecodeCharset: true,
// success: res => {
// console.log("res: ",res);
// my.ap.openAlipayApp()
// },
// });
}
}
}
@@ -138,7 +149,12 @@
}
.bottom-bar{
position: fixed;
/* #ifdef H5 */
bottom: 100rpx;
/* #endif */
/* #ifndef H5 */
bottom: 10rpx;
/* #endif */
left: 25rpx;
z-index: 1000;
line-height: 70rpx;