assess.html
2.3 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="../assets/css/swiper-3.4.2.min.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_724456_0m7h09j73i3.css">
<link rel="stylesheet" href="../assets/css/jquery.raty.css">
<link rel="stylesheet" href="../assets/css/labs.css">
<script type="text/javascript" src="../assets/js/fontsize.js"></script>
<link rel="stylesheet" href="../assets/css/style.css">
<title>评价</title>
<style>
body {
background-color: #f7f7f7;
}
</style>
</head>
<body>
<div class="assess_item">
<div>感谢您评价我们的服务!</div>
<div ></div>
<div class="assess_xingbox" id="start">
<!--<div class="xingbox">-->
<!--<img src="../assets/imgs/xingxing.png" alt="">-->
<!--</div>-->
<!--<div class="xingbox">-->
<!--<img src="../assets/imgs/xingxing.png" alt="">-->
<!--</div>-->
<!--<div class="xingbox">-->
<!--<img src="../assets/imgs/xingxing.png" alt="">-->
<!--</div>-->
<!--<div class="xingbox">-->
<!--<img src="../assets/imgs/xingxing.png" alt="">-->
<!--</div>-->
<!--<div class="xingbox">-->
<!--<img src="../assets/imgs/xingxing.png" alt="">-->
<!--</div>-->
</div>
</div>
<div class="assess_item padding30">
<textarea placeholder="请在这里填写评价" maxlength="50" id="feedback_content"></textarea>
<div class="assess_text"><span id="textLength">0</span>/<span>50</span>字</div>
</div>
<div class="assess_btn">提交</div>
</body>
</html>
<script src="../assets/js/jquery-2.1.0.js"></script>
<script src="../assets/js/jquery.raty.js"></script>
<script>
$(document).ready(function () {
$('.assess_item textarea').bind("input propertychange", function () {
var l = $('#feedback_content').val().length;
if (l < 200) {
$('#textLength').text(l)
} else {
return false
}
});
$('#start').raty()
})
</script>