|
@ -273,8 +273,17 @@ new Vue({
|
|
|
}
|
|
|
var content = '';
|
|
|
try{
|
|
|
if(reply.content_type == 18 || reply.content_type == 19){//居民名片、聊天记录
|
|
|
if(reply.content_type == 18 || reply.content_type == 19){//居民名片、聊天记录
|
|
|
content = "暂不支持此类信息";
|
|
|
}else if(reply.content_type == 3){ //语音
|
|
|
content = {};
|
|
|
content.path = JSON.parse(reply.content).path;
|
|
|
}else if(reply.content_type == 12){ //视频文件
|
|
|
var arr = reply.content.split(",");
|
|
|
content = {};
|
|
|
content.img = arr[0];
|
|
|
content.path = arr[1];
|
|
|
content.time = arr[2];
|
|
|
}else{
|
|
|
if(vm.isString(reply.content)){
|
|
|
content = reply.content;
|
|
@ -283,15 +292,7 @@ new Vue({
|
|
|
}
|
|
|
}
|
|
|
}catch(e){
|
|
|
if(reply.content_type == 12){ //视频文件
|
|
|
var arr = reply.content.split(",");
|
|
|
content = {};
|
|
|
content.img = arr[0];
|
|
|
content.path = arr[1];
|
|
|
content.time = arr[2];
|
|
|
}else{
|
|
|
content = reply.content;
|
|
|
}
|
|
|
|
|
|
}
|
|
|
var obj = {
|
|
|
isSelf: isSelf,
|