先看一下效果吧 部分代码 <!-- 使用方法 --> <uni-pay-password :show="show" @close="tapClose"></uni-pay-password> 可以扫码下方小程序自行下载源码