日期:2014-05-16  浏览次数:20366 次

JS如何获取淘宝店铺的退款次数【结贴加分】
地址:http://rate.taobao.com/user-rate-70947083.htm?spm=a1z10.1.0.38.x9llpL

我想获取退款率等信息,可是获取到的网页源码为:

 <div class="shop-service-info" id="halfmonth">
    <script id='tb-template-month' type="text/template">
        <div class="left1">
            <div class="title"><span class="self">本店值</span><span class="average">行业均值</span></div>
            <div class="bg30">
                <div class="each" flag="0">
                    <span class="sub1">平均退款速度:</span>
                    <span class="sub2">{{avgRefund.localVal}} 天</span>
                    <span class="sub3">{{avgRefund.comparison}}</span>
                    <span class="sub4">{{avgRefund.indVal}} 天</span>
                </div>
                <div class="each" flag="1">
                    <span class="sub1">近30天退款率:</span>
                    <span class="sub2">{{ratRefund.localVal}}%</span>
                    <span class="sub3">{{ratRefund.comparison}}</span>
                    <span class="sub4">{{ratRefund.indVal}}%</span>
                </div>
                <div class="each" flag="2">
                    <span class="sub1">近30天投诉率:</span>