- 博客(7)
- 收藏
- 关注
原创 vue H5微信支付代码
methods: { weixinPay() { if (typeof WeixinJSBridge == "undefined") { if (document.addEventListener) { document.addEventListener("WeixinJSBridgeReady",this.onBridgeReady(data),f...
2020-05-08 11:15:41 385
原创 用vue-cli3+vue-video-player写了个高佣联盟推广网站
安装npm i --save-devvue-video-playermain.jsimport VideoPlayer from 'vue-video-player'Vue.use(VideoPlayer)组件中使用<video-playerclass="video-player vjs-custom-skin"ref="videoPlayer"...
2020-04-20 14:37:45 384
原创 hexo
//第一条 这是安装hexo的基础框架npm install -g hexo//第二条 这是初始化hexo框架 这个可能会比较慢hexo init//第三条 安装所需要的组件npm install//第四条 编译生成静态页面hexo g//第五条 启动本地服务hexo s预览...
2019-10-14 11:12:16 131
原创 js给数组中对象添加新属性
let person =[{ id: 1, name: 'vhen'},{ id: 2, name: 'json'}]let newArr = obj.map((item,index) =>{ return Object.assign(item,{index:index})})程序员的兼职
2019-08-10 21:43:13 13859 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人