更新记录
1.0.0(2025-09-29)
下载此版本
初次版本
平台兼容性
uni-app(3.8.5)
Vue2 |
Vue3 |
Chrome |
Safari |
app-vue |
app-nvue |
Android |
iOS |
鸿蒙 |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
微信小程序 |
支付宝小程序 |
抖音小程序 |
百度小程序 |
快手小程序 |
京东小程序 |
鸿蒙元服务 |
QQ小程序 |
飞书小程序 |
快应用-华为 |
快应用-联盟 |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
√ |
其他
zmt-pay-success 支付成功提醒弹窗,内容灵活自定义,非常好用
采用uni-popup组件开发,组件内使用uni-icons图标组件,确保这两个组件已经安装,否则没有效果。
使用方法:
<zmt-pay-success :show="showPaySuccess" :showClose="true" @close="setPaySuccessStatus"></zmt-pay-success>
相关参数说明
参数名 |
类型 |
默认值 |
说明 |
show |
bool |
false |
是否显示,true:显示,false:不显示 |
showClose |
bool |
false |
是否显示标题右侧的关闭按钮,true:显示,false:不显示 |
title |
string |
下单成功 |
标题内容 |
maskClickClose |
bool |
false |
关闭遮罩层是否关闭弹窗,true:关闭,false:不关闭 |
buttons |
array |
见下方说明 |
下方两个按钮定义的内容 |
buttons定义说明:
默认值:
[ { text:'查看订单', page:'/pages/order/detail', order_no:'' }, { text:'返回首页', page:'/pages/index/index' } ]
相关方法说明
方法名 |
说明 |
默认值 |
@close |
弹窗关闭时的回调 |
一般返回false |
@status |
弹窗状态变化时的回调 |
关闭:false,打开:true |