2017年11月7日

摘要: node作为客户端调用第三方服务 nodejs.cn/api 1、 let http = require('http'); let util = require("util"); http.get('http://www.imooc.com/u/card',(res)=>{ let data = " 阅读全文
posted @ 2017-11-07 17:48 meixiaomin 阅读(2218) 评论(0) 推荐(0)
 
摘要: 1、Demo.js 创建Server let http = require('http'); let url = require("url"); let util = require("util") let fs = require("fs"); //文件读取模块 let server = http 阅读全文
posted @ 2017-11-07 16:47 meixiaomin 阅读(446) 评论(0) 推荐(0)
 
摘要: 1、 cnpm install vue-lazyload 2、main.js import vue-lazyload from ‘vue-lazyload’ Vue.use(vue-lazyload) or with options Vue.use(vue-lazyload,{ loading:"/ 阅读全文
posted @ 2017-11-07 15:19 meixiaomin 阅读(172) 评论(0) 推荐(0)