-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
236 lines (201 loc) · 8.31 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Chat Widget</title>
<!--图标库-->
<link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css'>
<!-- 默认样式-->
<link rel="stylesheet" href="css/reset.min.css">
<!-- 主要样式-->
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container clearfix">
<div class="people-list" id="people-list">
<div class="search">
<input type="text" placeholder="search" />
<i class="fa fa-search"></i>
</div>
<ul class="list">
<li class="clearfix">
<img src="img/樱岛麻衣.jpg" alt="avatar" />
<div class="about">
<div class="name">麻衣学姐</div>
<div class="status">
<i class="fa fa-circle online"></i> online
</div>
</div>
</li>
<li class="clearfix">
<img src="img/akuya.png" alt="avatar" />
<div class="about">
<div class="name">阿库娅</div>
<div class="status">
<i class="fa fa-circle offline"></i> left 2 mins ago
</div>
</div>
</li>
<li class="clearfix">
<img src="img/trump.jpg" alt="avatar" />
<div class="about">
<div class="name">特朗普同志</div>
<div class="status">
<i class="fa fa-circle offline"></i> left 7 mins ago
</div>
</div>
</li>
<li class="clearfix">
<img src="img/菜虚鲲.jpg" alt="avatar" />
<div class="about">
<div class="name">菜虚鲲</div>
<div class="status">
<i class="fa fa-circle online"></i> online
</div>
</div>
</li>
<li class="clearfix">
<img src="img/奥利给.jpg" alt="avatar" />
<div class="about">
<div class="name">奥利给</div>
<div class="status">
<i class="fa fa-circle online"></i> online
</div>
</div>
</li>
<li class="clearfix">
<img src="img/violet.png" alt="avatar" />
<div class="about">
<div class="name">Violet</div>
<div class="status">
<i class="fa fa-circle offline"></i> left 30 mins ago
</div>
</div>
</li>
<li class="clearfix">
<img src="img/周董.jpg" alt="avatar" />
<div class="about">
<div class="name">周董</div>
<div class="status">
<i class="fa fa-circle online"></i> online
</div>
</div>
</li>
<li class="clearfix">
<img src="img/李云龙.jpg" alt="avatar" />
<div class="about">
<div class="name">李云龙</div>
<div class="status">
<i class="fa fa-circle online"></i> online
</div>
</div>
</li>
<li class="clearfix">
<img src="img/明哥.jpeg" alt="avatar" />
<div class="about">
<div class="name">明哥</div>
<div class="status">
<i class="fa fa-circle online"></i> online
</div>
</div>
</li>
</ul>
</div>
<div class="chat">
<div class="chat-header clearfix">
<img src="img/樱岛麻衣.jpg" alt="avatar" />
<div class="chat-about">
<div class="chat-with">医疗小助手</div>
<div class="chat-num-messages">already 1 902 messages</div>
</div>
<i class="fa fa-star"></i>
</div>
<!-- end chat-header -->
<div class="chat-history">
<ul>
<li class="clearfix">
<div class="message-data align-right">
<span class="message-data-time">10:10 AM, Today</span>
<span class="message-data-name">Zhang J.F</span> <i class="fa fa-circle me"></i>
</div>
<div class="message other-message float-right">
简单的介绍一下自己呗
</div>
</li>
<li>
<div class="message-data">
<span class="message-data-name"><i class="fa fa-circle online"></i> 医疗小助手</span>
<span class="message-data-time">10:12 AM, Today</span>
</div>
<div class="message my-message">
您好,我是您的医疗小助手,配备有基于知识图谱+bert文本相似度+seq2seq模型搭建的问答系统。你可以对我进行心理咨询,问诊等哦~
</div>
</li>
</ul>
</div>
<!-- end chat-history -->
<div class="chat-message clearfix">
<textarea name="message-to-send" id="message-to-send" placeholder="Type your message" rows="3"></textarea>
<i class="fa fa-file-o"></i>
<i class="fa fa-file-image-o"></i>
<button>Send</button>
</div>
<!-- end chat-message -->
</div>
<!-- end chat -->
</div>
<!-- end container -->
<script id="message-template" type="text/x-handlebars-template">
<li class="clearfix">
<div class="message-data align-right">
<span class="message-data-time">{{time}}, Today</span>
<span class="message-data-name">Zhang J.F</span> <i class="fa fa-circle me"></i>
</div>
<div class="message other-message float-right">
{{messageOutput}}
</div>
</li>
</script>
<!--这一块回答问题-->
<script id="message-response-template" type="text/x-handlebars-template">
<li>
<div class="message-data">
<span class="message-data-name"><i class="fa fa-circle online"></i> 您的小助手</span>
<span class="message-data-time">{{time}}, Today</span>
</div>
<div class="message my-message" data-state="{{state}}">
{{response}}<img src="{{imgurl}}" class="myimg" >
</div>
</li>
</script>
<script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js">
</script>
<script type="text/javascript" src='js/handlebars.min.js'></script>
<script type="text/javascript" src='js/list.min.js'></script>
<script type="text/javascript" src="js/script.js"></script>
<script src="./lib/L2Dwidget.min.js"></script>
<script>
L2Dwidget.init({
pluginRootPath: "/5e8ab1e31368c/",
pluginJsPath: "lib/",
pluginModelPath: "assets/",
tagMode: !1,
debug: !1,
model: {
scale: 2,
jsonPath: "./assets/asuna_33.model.json"
},
display: {
position: "right",
width: 110,
height: 150,
hOffset: 20
},
mobile: {
show: !1
},
log: !1
});
</script>
</body>
</html>