Skip to content

Commit

Permalink
build v2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
smallweis committed Mar 17, 2020
1 parent 7b50ecd commit 1a39f09
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 44 deletions.
9 changes: 7 additions & 2 deletions examples/element-ui/chat/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<body>
<div id="app">
<avue-chat :keylist="keylist" @keysend="handleSubmit" @keyadd="handleAdd" :config="config" width="500" height="520"
<avue-chat :keylist="keylist" @keysend="handleSubmit" @keyadd="handleAdd" :config="config" width="500" height="720"
ref="chat" @submit="handleSubmit" v-model="msg" :list="list">
<div>这里是内容</div>
</avue-chat>
Expand Down Expand Up @@ -93,7 +93,12 @@
};
} else if (msg === '如何贷款') {
return {
text: '我行提供了如下贷款方式<img data-type="IMG" data-src="https://avuejs.com/images/logo-bg.jpg" /><video data-type="VIDEO" data-src="https://www.w3school.com.cn/i/movie.ogg"></video><file data-type="FILE" data-name="小程序申诉文件.doc" data-src="https://www.w3school.com.cn/i/movie.ogg"></file><map data-type="MAP" data-longitude="116.307852" data-latitude="40.057031" data-address="这是一个很长很长这是一个很长很长的地址"></map>',
text: `我行提供了如下贷款方式
<img data-type="IMG" data-src="https://avuejs.com/images/logo-bg.jpg" />
<video data-type="VIDEO" data-src="https://www.w3school.com.cn/i/movie.ogg"></video>
<audio data-type="AUDIO" data-src="https://www.w3school.com.cn/i/house.ogg"></audio>
<file data-type="FILE" data-name="小程序申诉文件.doc" data-src="https://www.w3school.com.cn/i/movie.ogg"></file>
<map data-type="MAP" data-longitude="116.307852" data-latitude="40.057031" data-address="这是一个很长很长这是一个很长很长的地址"></map>`,
list: [{
text: "1.微信线上申请",
ask: '微信线上申请'
Expand Down
Loading

0 comments on commit 1a39f09

Please sign in to comment.