摘要:
这部分修饰代码,比如美颜啥的不能用,用了会无法推流还未找到具体原因 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale 阅读全文
摘要:
首先先看官网:https://developers.weixin.qq.com/miniprogram/dev/framework/ability/custom-tabbar.html 详细官方都有介绍,下面具体介绍用法: 在tabBar组件的indexjs里: switchTab(e) { con 阅读全文
摘要:
获取方式: function getIPAdress() { var interfaces = require('os').networkInterfaces(); for (var devName in interfaces) { var iface = interfaces[devName]; 阅读全文
摘要:
tab.html:主要控制tab切换的: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-sc 阅读全文
摘要:
报错信息: npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-sass@4.14.0 postinstall: `node scripts/build.js` npm ERR! Exit status 1 npm ERR! npm ERR 阅读全文
摘要:
1.配置访问服务器的地址config.js: const config = {//192.18.1.2:8083 https://www.so.com/ api_base_url: 'http://192.168.1.12:8083', // api_base_url:"https://www.ba 阅读全文
摘要:
1.先在app.js里写一个方法,然后在onload里调用即可,具体说明看代码 loadToData:function(){ var that = this; var user = wx.getStorageSync('user') || {}; var userInfo = wx.getStora 阅读全文
摘要:
1html部分 2.js部分 阅读全文
摘要:
1.pc端: 2.移动端:此方法针对多组图片,多个图片可以添加相同的class然后js根据class的长度来进行操作。其中主要用到plus.downloader.createDownload(url, options, completedCB); url: ( String ) 必选 要下载文件资源 阅读全文
摘要:
css部分: HTML部分: JS部分: 文中用到的图片: 阅读全文