Commit 6ac6148c authored by xieyishang's avatar xieyishang

addxx

parent e6d705b4
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
"name" : "鹿马商家助手", "name" : "鹿马商家助手",
"appid" : "__UNI__1EA80F1", //这个是 web "appid" : "__UNI__1EA80F1", //这个是 web
"description" : "商家", "description" : "商家",
"versionName" : "1.166", "versionName" : "1.168",
"versionCode" : 1166, "versionCode" : 1168,
"transformPx" : false, "transformPx" : false,
"compatible" : { "compatible" : {
"ignoreVersion" : true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持 "ignoreVersion" : true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持
...@@ -188,14 +188,14 @@ ...@@ -188,14 +188,14 @@
}, },
"TX-TencentIM" : { "TX-TencentIM" : {
"__plugin_info__" : { "__plugin_info__" : {
"name" : "腾讯即时通信IM(完整版) qq群933785472 - [试用版,仅用于自定义调试基座]", "name" : "腾讯即时通信IM(完整版) qq群933785472",
"description" : "腾讯im插件致力于让用户轻松接入im功能", "description" : "腾讯im插件致力于让用户轻松接入im功能",
"platforms" : "Android,iOS", "platforms" : "Android,iOS",
"url" : "https://ext.dcloud.net.cn/plugin?id=2615", "url" : "https://ext.dcloud.net.cn/plugin?id=2615",
"android_package_name" : "", "android_package_name" : "com.app.lumastore",
"ios_bundle_id" : "", "ios_bundle_id" : "com.app.lumastore",
"isCloud" : true, "isCloud" : true,
"bought" : 0, "bought" : 1,
"pid" : "2615", "pid" : "2615",
"parameters" : {} "parameters" : {}
} }
......
...@@ -597,7 +597,7 @@ page{ ...@@ -597,7 +597,7 @@ page{
.navimgs{ .navimgs{
margin: 0 auto; margin: 0 auto;
width: 60upx; width: 60upx;
height: 50upx; height: 60upx;
} }
.navnames{ .navnames{
margin-top: 10upx; margin-top: 10upx;
......
static/chat/chaticon.png

4.07 KB | W: | H:

static/chat/chaticon.png

2.96 KB | W: | H:

static/chat/chaticon.png
static/chat/chaticon.png
static/chat/chaticon.png
static/chat/chaticon.png
  • 2-up
  • Swipe
  • Onion skin
static/chat/reporticon.png

7.04 KB | W: | H:

static/chat/reporticon.png

1.47 KB | W: | H:

static/chat/reporticon.png
static/chat/reporticon.png
static/chat/reporticon.png
static/chat/reporticon.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -126,6 +126,7 @@ const Im_store = { ...@@ -126,6 +126,7 @@ const Im_store = {
// 1.刷新聊天界面里面的消息 // 1.刷新聊天界面里面的消息
// 2.刷新消息 页面里面的消息 // 2.刷新消息 页面里面的消息
//如果当前对话的人 和 给我发消息的人是一个人 就自动同步一波 //如果当前对话的人 和 给我发消息的人是一个人 就自动同步一波
if(result.type=='onRecvNewMessage'){
if (store.state.dfuserId == result.msg.userId) { if (store.state.dfuserId == result.msg.userId) {
store.dispatch("getC2CHistoryMessageList", {msgId:""}).then((res) => {}); //去刷新聊天界面的消息 store.dispatch("getC2CHistoryMessageList", {msgId:""}).then((res) => {}); //去刷新聊天界面的消息
store.dispatch("getConversationList", {}).then(()=>{}); //刷新获取会话列表 store.dispatch("getConversationList", {}).then(()=>{}); //刷新获取会话列表
...@@ -133,6 +134,18 @@ const Im_store = { ...@@ -133,6 +134,18 @@ const Im_store = {
store.dispatch("getConversationList", {}).then(()=>{}); //刷新获取会话列表 store.dispatch("getConversationList", {}).then(()=>{}); //刷新获取会话列表
store.dispatch("messageTisfun", {}); //播放提醒消息 store.dispatch("messageTisfun", {}); //播放提醒消息
} }
}else if(result.type=='onRecvC2CReadReceipt'){
if (store.state.dfuserId == result.receiptList[0].userId) {
store.dispatch("getC2CHistoryMessageList", {msgId:""}).then((res) => {}); //去刷新聊天界面的消息
store.dispatch("getConversationList", {}).then(()=>{}); //刷新获取会话列表
} else {
store.dispatch("getConversationList", {}).then(()=>{}); //刷新获取会话列表
store.dispatch("messageTisfun", {}); //播放提醒消息
}
}else{
store.dispatch("getConversationList", {}).then(()=>{}); //刷新获取会话列表
store.dispatch("messageTisfun", {}); //播放提醒消息
}
if(store.state.groupId==result.msg.groupId){ if(store.state.groupId==result.msg.groupId){
store.dispatch("getGroupHistoryMessageList", {}); //获取最新的群消息 store.dispatch("getGroupHistoryMessageList", {}); //获取最新的群消息
......
...@@ -119,7 +119,8 @@ export default function request(api, method, data, {noAuth = false, noVerify = f ...@@ -119,7 +119,8 @@ export default function request(api, method, data, {noAuth = false, noVerify = f
header: header, header: header,
data: data || {}, data: data || {},
success: (res) => { success: (res) => {
// console.info("res",res); console.info("data",data);
console.info("res",res);
// uni.hideLoading(); // uni.hideLoading();
if (noVerify) if (noVerify)
reslove(res.data, res); reslove(res.data, res);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment