From 49485394799fdf39d01492018cd91e2751d23f5f Mon Sep 17 00:00:00 2001 From: kira <164851225@qq.com> Date: Tue, 24 Jul 2018 17:02:24 +0800 Subject: [PATCH] tmp --- .../manage/openim/core/OpenimClient.java | 2 +- src/main/ui/service_client_app.html | 13 +- src/main/ui/service_client_app_outside.html | 34 +++- src/main/ui/service_contact_list_app.html | 14 +- src/main/ui/service_customer.html | 23 +++ src/main/ui/static/images/im/back.png | Bin 0 -> 4254 bytes .../impls/CustomerImpressionImplTest.java | 152 +++++++++++++++--- 7 files changed, 205 insertions(+), 33 deletions(-) create mode 100644 src/main/ui/service_customer.html create mode 100644 src/main/ui/static/images/im/back.png diff --git a/src/main/java/au/com/royalpay/payment/manage/openim/core/OpenimClient.java b/src/main/java/au/com/royalpay/payment/manage/openim/core/OpenimClient.java index 488a36e6d..99d42abac 100644 --- a/src/main/java/au/com/royalpay/payment/manage/openim/core/OpenimClient.java +++ b/src/main/java/au/com/royalpay/payment/manage/openim/core/OpenimClient.java @@ -124,7 +124,7 @@ public class OpenimClient { list2.add(obj3); obj3.setNick("king"); obj3.setIconUrl("https://ss0.baidu.com/73t1bjeh1BF3odCf/it/u=1948403834,955109320&fm=85&s=0D06E5134AD145F30C8D6D680300303A"); - obj3.setUserid("kira1"); + obj3.setUserid("kira2"); obj3.setPassword("xxxxxx"); req.setUserinfos(list2); OpenimUsersAddResponse rsp = null; diff --git a/src/main/ui/service_client_app.html b/src/main/ui/service_client_app.html index ebefe90ef..3332ffd4a 100644 --- a/src/main/ui/service_client_app.html +++ b/src/main/ui/service_client_app.html @@ -5,6 +5,8 @@ + + @@ -26,8 +28,12 @@ error: function (jqXHR) { } }); + $("#back").bind('click',function () { + parent.hideContent(); + }) }; + function loginOpenim() { WKIT.init({ container: document.getElementById('J_demo'), @@ -44,7 +50,7 @@ }); initUnreadMsgAndContact(); WKIT.Conn.sdk.Base.startListenAllMsg(); - window.sdk = document.getElementById("J_wkitPluginFrame").contentWindow; + window.sdk = parent.document.getElementById("subPageList").contentWindow; } }); } @@ -143,4 +149,9 @@ } +
+