2020年4月8日

摘要: _getGoodsData(type) { const page = this.data.goods[type].page + 1 getGoodsData(type, page).then(res => { const list = res.data.data.list const oldList 阅读全文
posted @ 2020-04-08 22:51 dengsicode 阅读(160) 评论(0) 推荐(0) 编辑
 
摘要: text标签不要换行 不然会布局会占两行 影响样式的显示 阅读全文
posted @ 2020-04-08 20:09 dengsicode 阅读(1953) 评论(1) 推荐(0) 编辑
 
摘要: APP({ login() { // 登录方法 wx.login({ success: res => { const code = res.code wx.request({ url: 'http://123.207.32.32:3000/login', method: 'post', data: 阅读全文
posted @ 2020-04-08 13:24 dengsicode 阅读(406) 评论(0) 推荐(0) 编辑
 
摘要: export default function request(options) { return new Promise((reslove, reject) => { wx.request({ url: options.url, method: options.method || 'get', d 阅读全文
posted @ 2020-04-08 13:22 dengsicode 阅读(317) 评论(0) 推荐(0) 编辑
 
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
posted @ 2020-04-08 10:53 dengsicode 阅读(374) 评论(0) 推荐(0) 编辑