assess.html 2.3 KB
<!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>