設(shè)置show-menu-by-longpress="true"即可,長按圖片后會彈出一個菜單,若圖片中包含二維碼或小程序碼,菜單中會有響應(yīng)入口
<image src="圖片地址" show-menu-by-longpress="true"></image>
官方說明文章來源:http://www.zghlxwxcb.cn/news/detail-774966.html
文章來源地址http://www.zghlxwxcb.cn/news/detail-774966.html
到了這里,關(guān)于微信小程序長按圖片識別二維碼的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!