view_comment.html 7.14 KB
<script type="text/javascript" src="__PUBLIC__/js/rem_new.js"></script>
<!DOCTYPE html >
<html>
<head>
    <meta charset="UTF-8">
    <title>查看评价</title>
    <include file="public/header"/>
    <include file="public/menu"/>
    <include file="public/navBall"/>
    <style type="text/css">
        .jsstar {
            list-style: none;
            margin: 0px;
            padding: 0px;
            height: 30px;
            position: relative;
            top: -7px;
        }

        .jsstar li {
            padding: 0px;
            float: left;
            width: 25px;
            height: 25px;
            margin-right: 5px;
            background: url(__STATIC__/images/star_rating.png) 0 0px no-repeat;
            background-size: auto 50px
        }

        .jsstar span {
            font-size: 14px;
            line-height: 30px;
            margin-left: 10px;
            color: #F00;
            vertical-align: top;
            display: none;
        }

        /*修改评价框  20170512*/
        .contentBox {
            border-radius: 5px;
            background: #fff;
            position: relative;
            width: 95%;
            margin: 0 auto;
        }

        .pj dl dd textarea {
            width: 98%;
            height: 140px;
            display: block;
            border: 0;
            background: none;
            font-size: 16px;
            line-height: 24px;
            resize: none;
            padding: 2%;
            word-break: break-all;
        }

        .dtBox {
            height: 1.6rem;
            font-size: 0;
        }

        @media (max-width: 480px ) {
            .dtBox {
                height: 100px;
            }

            .pj dl dd textarea {
                height: 100px;
            }
        }

        @media (max-width: 480px ) {
            .pingfen {
                padding: 10px 20px;
            }
        }

        .delete {
            width: 15px;
            position: relative;
            right: 12px;
            top: -29px;
        }

        textarea::-webkit-input-placeholder { /* Chrome/Opera/Safari */
            font-size: 12px;
        }

        textarea::-moz-placeholder { /* Firefox 19+ */
            font-size: 12px;
        }

        textarea:-ms-input-placeholder { /* IE 10+ */
            font-size: 12px;
        }

        textarea:-moz-placeholder { /* Firefox 18- */
            font-size: 12px;
        }


    </style>
    <link rel="stylesheet" href="__STATIC__/css/my_evaluate.css?v=__CSSVERSION__">
<body>

<!--<form id="add_comment" method="post" enctype="multipart/form-data" onSubmit="return validate_comment()">-->
<form name="add_comment" id="add_comment" autocomplete="off" method="" enctype="multipart/form-data"
      style="border-top:3px solid rgb(238,238,238);">
    <input type="hidden" name="order_id" value="{$order_goods.order_id}">
    <input type="hidden" name="goods_id" value="{$order_goods.goods_id}">
    <div class="pj">
        <dl>
            <dt class="dtBox">
                <img src="{:getimg($goods.original_img,NOIMG,0,1)}" onerror="this.src='__WEBPUBLIC__/miniapp/images/no_cate_def.png'" class="disib" style="width: 100%;"/>
                <div class="dis_vm"></div>
            </dt>
            <dd>
                <div style="width: 100%;height:50%">
                    <div class="goods_name ellipsis-2">{$goods.goods_name}</div>
                </div>

                <div style="width: 100%;height: 50%" class="flex ai_fe jc_sb">
                    <strong class="fr fs17">
                        <text class="fs11"></text>
                        {$order_goods.goods_price}</strong>
                    <dix class="fs14">x1</dix>
                </div>
            </dd>
            </dd>
        </dl>

        <ul style="background-color: rgb(255,255,255);!important;border-top:3px solid rgb(238,238,238);padding-top: 20px;padding-bottom:25px;">

            <div class="contentBox" style="max-height: 50px;overflow: hidden;">
                <view id="content_13" name="content">{$comment.content}</view>
            </div>
            <div style="margin-top: 20px!important;margin:0 auto;width: 95%;">
                <if condition="$comment['source_type'] eq 1">
                <foreach name="$comment['weapp_img']" key="key" item="w_img">
                    <img src="{$w_img}" style="width: 55px;height: 55px;margin-right: 7px;"/>
                </foreach>
                </else>
                <foreach name="$comment['img']" key="key" item="img">
                    <img src="{$img}" style="width: 55px;height: 55px;margin-right: 7px;"/>
                    <div>{$img}</div>
                </foreach>
                </if>
            </div>


        </ul>
        <div class="pingfen">

            <div class="score fs14">宝贝评分</div>
            <ul>
                <li class="fl fs12">描述相符</li>
                <ul class="jsstar "><span></span>
                    <img src="__STATIC__/images/stars{$comment.goods_rank}.png" style="display: block;float: left;height: 20px;
">
                    <!--                    <input name="goods_rank" value="0" type="hidden">-->
                    <!--                    <li title="1"></li>-->
                    <!--                    <li title="2"></li>-->
                    <!--                    <li title="3"></li>-->
                    <!--                    <li title="4"></li>-->
                    <!--                    <li title="5"></li>-->
                </ul>
                <div class="clear"></div>
            </ul>


            <ul>
                <li class="fl fs12">物流服务</li>
                <ul class="jsstar "><span></span>
                    <img src="__STATIC__/images/stars{$comment.deliver_rank}.png"
                         style="display: block;float: left;height: 20px;">
                </ul>
                <div class="clear"></div>
            </ul>
            <ul>
                <li class="fl fs12">服务态度</li>
                <ul class="jsstar"><span></span>
                    <img src="__STATIC__/images/stars{$comment.service_rank}.png"
                         style="display: block;float: left;height: 20px;">
                </ul>
            </ul>

        </div>
    </div>

    <div class="p_main">
	<span style=" display:block; width:90%; overflow:hidden; margin:auto; margin-top:20px;">
	    <input value="评价其他" class="m_pingjia tac" onclick="go_other()" type="button" style="height: 40px;"/>
        <div></div>
	</span>

        <if condition="$is_ceremony">
            <a href="__WXD_LB_URL__GiftPackage/EvaluateGift?orderNumber={$order_goods['order_id']}&actId={$ceremony['id']}&actType=2&giftBagId={$ceremony['giftBagId']}&storeId={$user['store_id']}&userId={$user['user_id']}&orderType=1&orderGoodsId={$order_goods['goods_id']}">
    <span style=" display:block; width:90%; overflow:hidden; margin:auto;">
	<input value="点击领取礼品" class="m_pingjia tac" onclick="submit_form()" type="button"
           style="background-color: rgb(255,176,63)!important;height: 40px;"/>
	</span>
            </a>
        </if>
    </div>

</form>
</body>

<script>
    function go_other() {
        window.location.href="";
    }
</script>
</html>