diff --git a/docs/uniCloud/uni-push/api.md b/docs/uniCloud/uni-push/api.md index 6b44d0bf86dbf14cfdce0dc53bfb46cd8e67a963..606c427580b6a77da19ab52f8a59b7f62c48a35e 100644 --- a/docs/uniCloud/uni-push/api.md +++ b/docs/uniCloud/uni-push/api.md @@ -35,7 +35,7 @@ uni.onPushMessage((res)=>{ ### offPushMessage([eventName]) 关闭推送消息监听事件 示例代码: -``` +```js let eventName = (res)=>{ console.log(res) } @@ -1550,7 +1550,12 @@ uni-cloud-push 扩展库的errCode码以uni-cloud-push-error-开头,如:uni- position: fixed; z-index: 10; bottom: calc(10% + 265px); - right: 10px; + right: 230px; +} +@media screen and (max-width: 1350px) { + .weixin-support { + right: 10px; + } } .weixin-support img{ background: #0591F0; @@ -1588,8 +1593,8 @@ uni-cloud-push 扩展库的errCode码以uni-cloud-push-error-开头,如:uni- text-align: center; box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); width: 230px; - height: 270px; font-size: 14px; + box-shadow: 0 0 10px #ccc; } .weixin-support:hover .weixin-support-content{ display: block; diff --git a/docs/uniCloud/uni-push/introduction.md b/docs/uniCloud/uni-push/introduction.md index f49fb1c0b1c459039413991b2dc3bbd395ee18cf..8ed312531c279cd791b4805ceb87ca126d3a02ec 100644 --- a/docs/uniCloud/uni-push/introduction.md +++ b/docs/uniCloud/uni-push/introduction.md @@ -26,8 +26,8 @@ push,指服务器主动向客户端发送消息的技术。无需客户端持 2. 专业push服务器再向客户端发送消息 3. 手机用户在操作系统的通知栏中看到push消息,点击后呼起客户端应用,客户端代码才能接收响应;如果是小程序的话,则是在微信消息里看到订阅消息,点击后呼起小程序。
- - + +
由于手机厂商众多,他们各自都有不同的推送服务,包括Apple、google(仅能在海外使用)、华为、小米、oppo、vivo、魅族,以及还有一些没有专业推送服务的中小手机品牌。他们对App后台耗电都有查杀机制,除了微信等大应用,普通应用很难常驻后台。 diff --git a/docs/uniCloud/uni-push/options.md b/docs/uniCloud/uni-push/options.md index cecddf6db2b8c751cd929061a0dc05368ee53199..83557104be5909acb06483e70b4c7a4cd2482afe 100644 --- a/docs/uniCloud/uni-push/options.md +++ b/docs/uniCloud/uni-push/options.md @@ -786,7 +786,12 @@ apn静默推送 可参考