mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 02:56:43 +08:00
GFRS-2561【前端】智能客服新增图片预览功能(删除无用的代码)--提交人:张齐
This commit is contained in:
@@ -79,8 +79,7 @@ export default {
|
|||||||
MessageId: '',
|
MessageId: '',
|
||||||
sendtext: '', //input发送信息
|
sendtext: '', //input发送信息
|
||||||
//聊天数据 isRichText 0标准回答 1图文 2单图片 3超链接
|
//聊天数据 isRichText 0标准回答 1图文 2单图片 3超链接
|
||||||
list: [],
|
list: []
|
||||||
imgUrlArr: []
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created: function() {
|
created: function() {
|
||||||
@@ -114,15 +113,6 @@ export default {
|
|||||||
if (itm.singleNode.isRichText == 2) {
|
if (itm.singleNode.isRichText == 2) {
|
||||||
itm.singleNode.PicUrl = xmlLoad.xmlStr2json(itm.singleNode.answerMsg).root.PicUrl;
|
itm.singleNode.PicUrl = xmlLoad.xmlStr2json(itm.singleNode.answerMsg).root.PicUrl;
|
||||||
}
|
}
|
||||||
if ('PicUrl' in itm.singleNode) {
|
|
||||||
that.imgUrlArr.push([{
|
|
||||||
url: itm.singleNode.PicUrl
|
|
||||||
}]);
|
|
||||||
} else {
|
|
||||||
that.imgUrlArr.push([{
|
|
||||||
url: ''
|
|
||||||
}]);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
that.list = res.content.list;
|
that.list = res.content.list;
|
||||||
//加延时器解决历史数据渲染执行顺序时,滚动条未达到底部
|
//加延时器解决历史数据渲染执行顺序时,滚动条未达到底部
|
||||||
@@ -180,7 +170,6 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang='scss' scoped>
|
<style lang='scss' scoped>
|
||||||
|
|
||||||
.v-super {
|
.v-super {
|
||||||
vertical-align: super;
|
vertical-align: super;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user