client.hbs
2.92 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{{title}}</title>
<meta name="keywords" content="{{keywords}}">
<meta name="description" content="{{description}}">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<meta http-equiv="cleartype" content="on">
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta content="telephone=no" name="format-detection" />
<meta content="email=no" name="format-detection" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="renderer" content="webkit" />
{{#if devEnv}}
<link rel="stylesheet" href="//{{devHost}}:5002/css/base.css">
<link rel="stylesheet" href="//{{devHost}}:5002/css/{{#if cssModule}}{{cssModule}}.css{{^}}{{module}}.css{{/if}}">
{{^}}
<link rel="stylesheet" href="//{{#isEqual cdn 'qcloud'}}qcdn.yoho.cn{{^}}cdn.yoho.cn{{/isEqual}}/yohobuy-node/{{version}}/base.css">
<link rel="stylesheet" href="//{{#isEqual cdn 'qcloud'}}qcdn.yoho.cn{{^}}cdn.yoho.cn{{/isEqual}}/yohobuy-node/{{version}}/{{#if cssModule}}{{cssModule}}.css{{^}}{{module}}.css{{/if}}">
{{/if}}
</head>
<body class="client">
<div class="online-user">
<div class="header">
<div class="chat"></div>
<img class="logo" src="{{image2 csSetting.windowLogo}}" alt="客服logo">
<div class="page-desc">{{csSetting.windowTitle}}</div>
<div class="close"></div>
</div>
<div class="main">
<div class="chat-panel">
{{> panel-left}}
{{> panel-main}}
{{> panel-right}}
</div>
</div>
</div>
<!-- 表情弹出层 -->
{{> leave-msg}}
<!--服务评价Modal-->
{{> service-eval}}
<!-- 表情弹出层 -->
{{> emoji}}
<!-- 消息图片放大显示 -->
{{> img-zoom-in}}
<!-- 不支持websocket -->
{{> un-support}}
<!-- websocket连接失败 -->
{{> connect-fail}}
<input name="encryptedUid" type="text" type="hidden" value={{encryptedUid}}>
{{#if devEnv}}
<input name="assetsPrefix" type="text" type="hidden" value="">
<script src="//{{devHost}}:5002/libs.js"></script>
<script src="//{{devHost}}:5002/{{module}}.{{page}}.js"></script>
{{^}}
<input name="assetsPrefix" type="text" type="hidden" value="//cdn.yoho.cn/yohobuy-node/assets">
<script src="//cdn.yoho.cn/yohobuy-node/{{version}}/libs.js"></script>
<script src="//cdn.yoho.cn/yohobuy-node/{{version}}/{{module}}.{{page}}.js"></script>
{{> analysis}}
{{/if}}
</body>
</html>