nice-router-taro里面有个组件,你取试试呢 https://github.com/kala888/nice-router-taro/blob/master/src/components/elements/ele-qrcode.jsx 效果入下