10 2019 档案
摘要:前言 protocol-buffers 是 node.js 平台对支持 protobuf 封装的三方模块,下面的例子都通过 protocol-buffers 的使用来说明。 什么是protobuf Google Protocol Buffer( 简称 Protobuf) 是 Google 公司内部的
阅读全文
摘要:思路 自定义导航栏高度组成:状态栏(绿色部分)、导航栏(蓝色部分) 状态栏 通过调用 wx.getSystemInfoSync 获取 const res = wx.getSystemInfoSync() this.setData({ statusBarHeight:res.statusBarHeig
阅读全文
摘要:下载 regenerator-runtime 如何使用 在小程序中,不认识 node_modules 文件夹,无法通过以下方法来直接找到包文件 所以需要将 regenerator-runtime 中的 runtime.js(支持async/await的核心文件) 拿出来存放到一个文件夹中,通过一般的
阅读全文
![](https://images.cnblogs.com/cnblogs_com/chanwahfung/1579917/o_200311162126avatar.jpg)