添加首页

This commit is contained in:
zhouyanli
2026-08-15 17:57:18 +08:00
parent 491c3a320a
commit 1ab7b22221
6 changed files with 275 additions and 56 deletions

View File

@@ -48,7 +48,7 @@ onShow(() => {
const loadPaymentItem = () => {
const appData = getAppPaymentData()
if (appData) {
console.log('检测到 App 跳转参数:', appData)
console.log('-----检测到 App 跳转参数:', appData)
clearAppPaymentData()
const item = buildPaymentItemFromApp(appData)
uni.setStorageSync('arrearsPayment', item)
@@ -65,7 +65,8 @@ const handlePay = async () => {
return
}
delete apiParams.token
delete apiParams.billId // billId 已归一化为 billIds 数组,删除冗余字段
console.log('-----传递小程序参数2222------:', apiParams)
uni.showLoading({ title: '加载中...', mask: true })
try {
const res = await getBankMiniProgramParams(apiParams)