支付宝优化更新

This commit is contained in:
GaoHao
2024-10-31 09:07:26 +08:00
parent b2abe69e37
commit bec723cd69
12 changed files with 845 additions and 135 deletions

View File

@@ -82,7 +82,12 @@
//处理按键
_handleKeyPress(e) {
// console.log('点击传e', e.target.dataset.num);
// #ifdef MP-WEIXIN
let num = e.target.dataset.num;
// #endif
// #ifdef MP-ALIPAY
let num = e.target.targetDataset.num;
// #endif
//不同按键处理逻辑
// -1 代表无效按键,直接返回
if (num == -1) return false;
@@ -154,6 +159,7 @@
// this.money = S + num;
// }
// }
console.log(num)
if (this.money.length == 6) {
this.$emit('confirmEvent', this.money); //提交参数
return