diff --git a/App.vue b/App.vue index 2eec292..0cdf9de 100644 --- a/App.vue +++ b/App.vue @@ -37,7 +37,7 @@ export default { let title = msg.title let payload = JSON.stringify(msg.payload) plus.push.createMessage(content, payload, { - title: title, + title: title }) } } @@ -45,9 +45,13 @@ export default { let title = msg.title let content = msg.content plus.push.createMessage(content, JSON.stringify(msg.payload), { - title: title, + title: title }) } + // 在线语音播放 + // if(mes.payload.messageType == 1){ + + // } }, false ) @@ -58,7 +62,7 @@ export default { // 先默认进入应用就清除所有消息 plus.runtime.setBadgeNumber(0) }, - onHide: function () {}, + onHide: function () {} } diff --git a/apis/commonApi.js b/apis/commonApi.js index 96af0af..0d15d95 100644 --- a/apis/commonApi.js +++ b/apis/commonApi.js @@ -129,6 +129,17 @@ export function pushCustomerBind(cid, platformType = 'android', appId = XAPPID) }) } +/** + * 推送客户绑定 + * + */ +export function pushCustomerOff(cid, platformType = 'android', appId = XAPPID) { + return http.post({ + url: '/base-paper-trading/user/geTui/offline', + data: { cid, appId, platformType } + }) +} + /** * 营业执照OCR识别 photoUrl */ diff --git a/pages.json b/pages.json index 3cddae0..b812eea 100644 --- a/pages.json +++ b/pages.json @@ -63,7 +63,10 @@ "style": { "navigationBarTitleText": "登录", "enablePullDownRefresh": false, - "navigationStyle": "custom" + "navigationStyle": "custom", + "app-plus": { + "softinputMode": "adjustResize" + } } }, { diff --git a/pages/setting/index.vue b/pages/setting/index.vue index 40fd983..7174252 100644 --- a/pages/setting/index.vue +++ b/pages/setting/index.vue @@ -28,7 +28,7 @@