小程序使用vant

 1.使用 git bash here

安装git init  和  npm i @vant/weapp -S --production,然后会多一个文件将里面的dist文件放入项目内

 使用时在页面的index.json里按需加载,就能使用vant了

 decodeURIComponent(url) //解密js方法
原文地址:https://www.cnblogs.com/minghan/p/12766011.html