Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
jls-weapp
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2026-05-15 15:46:28 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
50ee77f529bedd2f61885f3f4b2f63dfeafe52ec
50ee77f5
1 parent
49a1ad84
docs(pay-confirm): 添加支付确认页给外部H5的小程序跳转参数说明
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
src/pages/pay-confirm/index.vue
src/pages/pay-confirm/index.vue
View file @
50ee77f
...
...
@@ -122,6 +122,12 @@ useLoad((options) => {
console.error('支付确认页预加载图片版本配置失败:', error)
})
// TODO: 提供给外部 H5 配合同学的小程序跳转地址请按下面拼接:
// 1. 页面路径:/pages/pay-confirm/index
// 2. 必传参数:order_id(后端支付订单 ID)
// 3. 展示参数:amount(支付确认页展示金额,建议传字符串,如 99.00)
// 4. 完整示例:/pages/pay-confirm/index?order_id=202605150001&amount=99.00
// 5. 当前页面也兼容旧参数 money,但新接入默认统一传 amount,不要再继续扩散 money
order_id.value = String(options?.order_id || '').trim()
amount.value = String(options?.amount || options?.money || '').trim()
...
...
Please
register
or
login
to post a comment