Commit 6ac6148c authored by xieyishang's avatar xieyishang

addxx

parent e6d705b4
......@@ -2,8 +2,8 @@
"name" : "鹿马商家助手",
"appid" : "__UNI__1EA80F1", //这个是 web
"description" : "商家",
"versionName" : "1.166",
"versionCode" : 1166,
"versionName" : "1.168",
"versionCode" : 1168,
"transformPx" : false,
"compatible" : {
"ignoreVersion" : true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持
......@@ -188,14 +188,14 @@
},
"TX-TencentIM" : {
"__plugin_info__" : {
"name" : "腾讯即时通信IM(完整版) qq群933785472 - [试用版,仅用于自定义调试基座]",
"name" : "腾讯即时通信IM(完整版) qq群933785472",
"description" : "腾讯im插件致力于让用户轻松接入im功能",
"platforms" : "Android,iOS",
"url" : "https://ext.dcloud.net.cn/plugin?id=2615",
"android_package_name" : "",
"ios_bundle_id" : "",
"android_package_name" : "com.app.lumastore",
"ios_bundle_id" : "com.app.lumastore",
"isCloud" : true,
"bought" : 0,
"bought" : 1,
"pid" : "2615",
"parameters" : {}
}
......
......@@ -597,7 +597,7 @@ page{
.navimgs{
margin: 0 auto;
width: 60upx;
height: 50upx;
height: 60upx;
}
.navnames{
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,10 +126,23 @@ const Im_store = {
// 1.刷新聊天界面里面的消息
// 2.刷新消息 页面里面的消息
//如果当前对话的人 和 给我发消息的人是一个人 就自动同步一波
if (store.state.dfuserId == result.msg.userId) {
store.dispatch("getC2CHistoryMessageList", {msgId:""}).then((res) => {}); //去刷新聊天界面的消息
store.dispatch("getConversationList", {}).then(()=>{}); //刷新获取会话列表
} else {
if(result.type=='onRecvNewMessage'){
if (store.state.dfuserId == result.msg.userId) {
store.dispatch("getC2CHistoryMessageList", {msgId:""}).then((res) => {}); //去刷新聊天界面的消息
store.dispatch("getConversationList", {}).then(()=>{}); //刷新获取会话列表
} else {
store.dispatch("getConversationList", {}).then(()=>{}); //刷新获取会话列表
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", {}); //播放提醒消息
}
......
......@@ -119,7 +119,8 @@ export default function request(api, method, data, {noAuth = false, noVerify = f
header: header,
data: data || {},
success: (res) => {
// console.info("res",res);
console.info("data",data);
console.info("res",res);
// uni.hideLoading();
if (noVerify)
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