index.html 16.9 KB
{{> layout/header}}
{{# data}}
<div id="bill-wrapper" data-token="{{token}}">
    <div class="swiper-container bill-swiper">
        <div class="swiper-wrapper">
            <div class="swiper-slide slide-home">
                <img class="swiper-lazy"
                     data-src="http://cmsres.test.yoho.cn/res/new/yoho-mobile/vip-bill/assets/images/welcome.jpg"
                     alt=""/>

                <div class="swiper-lazy-preloader"></div>
                <span class="slide-next-w"></span>
            </div>
            {{# firstLogin}}
            <div class="swiper-slide slide-welcome hide">
                <img class="swiper-lazy"
                     data-src="http://cmsres.test.yoho.cn/res/new/yoho-mobile/vip-bill/assets/images/user_pic.jpg"
                     alt=""/>
                <img class="swiper-lazy" data-swiper-parallax="-400"
                     data-src="http://cmsres.test.yoho.cn/res/new/yoho-mobile/vip-bill/assets/images/family.jpg"
                     alt=""/>

                    <span data-swiper-parallax="-450" class="first-login-time">
                        {{date}}
                    </span>

                    <span data-swiper-parallax="-150" class="first-login-doc">
                        您首次登录Yoho!Buy有货<br>正式加入Yoho!Family的大家庭
                    </span>

                <div class="swiper-lazy-preloader"></div>
                <span class="slide-next-b"></span>
            </div>
            {{/ firstLogin}}
            {{# buyList}}
            <div class="swiper-slide buy-list season-{{season}} hide">
                <table>
                    <tr>
                        <td>
                            <span data-swiper-parallax="-20">{{date}}</span>
                            <span data-swiper-parallax="-40">{{seasonDoc}}</span>
                            <span data-swiper-parallax="-50">{{personDoc}}的您在我们这里花费</span>
                            <span data-swiper-parallax="-80">{{pay}}元</span>
                            <span data-swiper-parallax="-100">购买了</span>
                            {{#if commodityDoc}}
                            <span class="commodity-doc" data-swiper-parallax="-130">{{commodityDoc}}</span>
                            {{/if}}
                            <span class="commodity-des" data-swiper-parallax="-150">{{commodityDes}}</span>
                        </td>
                    </tr>
                </table>
                <span class="slide-next-w"></span>
            </div>
            {{/ buyList}}
            {{#if categorySexChange}}
            {{# firstBuyOppositeSex}}
            <div class="swiper-slide buy-opposite-sex swiper-lazy hide" data-background="http://cmsres.test.yoho.cn/res/new/yoho-mobile/vip-bill/assets/images/bill-background-2.png">
                <table>
                    <tr>
                        <td>
                            <span data-swiper-parallax="-20">{{date}}</span>
                            <span data-swiper-parallax="-40">您在我们这里花费</span>
                            <span data-swiper-parallax="-50">{{pay}}元</span>
                            <span data-swiper-parallax="-80">购买了</span>
                            <span data-swiper-parallax="-100">{{commodity}}</span>
                            <span data-swiper-parallax="-130">{{doc}}</span>
                        </td>
                    </tr>
                </table>
                <span class="slide-next-w"></span>
            </div>
            {{/ firstBuyOppositeSex}}
            {{# firstBuyOtherCategory}}
            <div class="swiper-slide buy-other-category swiper-lazy hide" data-background="http://cmsres.test.yoho.cn/res/new/yoho-mobile/vip-bill/assets/images/bill-background-3.png">
                <table>
                    <tr>
                        <td>
                            <span data-swiper-parallax="-20">{{date}}</span>
                            <span data-swiper-parallax="-40">您在我们这里花费</span>
                            <span data-swiper-parallax="-50">{{pay}}元</span>
                            <span data-swiper-parallax="-80">购买了</span>
                            <span data-swiper-parallax="-100">{{curCommodity}}</span>
                            <span data-swiper-parallax="-130">和上次买的</span>
                            <span data-swiper-parallax="-150">{{preCommodity}}</span>
                            <span data-swiper-parallax="-180">{{doc}}</span>
                        </td>
                    </tr>
                </table>
                <span class="slide-next-w"></span>
            </div>
            {{/ firstBuyOtherCategory}}
            {{/if}}

            {{#if categorySexNoChange}}
            {{# firstBuyOtherCategory}}
            <div class="swiper-slide buy-other-category swiper-lazy hide" data-background="http://cmsres.test.yoho.cn/res/new/yoho-mobile/vip-bill/assets/images/bill-background-3.png">
                <table>
                    <tr>
                        <td>
                            <span data-swiper-parallax="-20">{{date}}</span>
                            <span data-swiper-parallax="-40">您在我们这里花费</span>
                            <span data-swiper-parallax="-50">{{pay}}元</span>
                            <span data-swiper-parallax="-80">购买了</span>
                            <span data-swiper-parallax="-100">{{curCommodity}}</span>
                            <span data-swiper-parallax="-130">和上次买的</span>
                            <span data-swiper-parallax="-150">{{preCommodity}}</span>
                            <span data-swiper-parallax="-180">{{doc}}</span>
                        </td>
                    </tr>
                </table>
                <span class="slide-next-w"></span>
            </div>
            {{/ firstBuyOtherCategory}}
            {{# firstBuyOppositeSex}}
            <div class="swiper-slide buy-opposite-sex swiper-lazy hide" data-background="http://cmsres.test.yoho.cn/res/new/yoho-mobile/vip-bill/assets/images/bill-background-2.png">
                <table>
                    <tr>
                        <td>
                            <span data-swiper-parallax="-20">{{date}}</span>
                            <span data-swiper-parallax="-40">您在我们这里花费</span>
                            <span data-swiper-parallax="-50">{{pay}}元</span>
                            <span data-swiper-parallax="-80">购买了</span>
                            <span data-swiper-parallax="-100">{{commodity}}</span>
                            <span data-swiper-parallax="-130">{{doc}}</span>
                        </td>
                    </tr>
                </table>
                <span class="slide-next-w"></span>
            </div>
            {{/ firstBuyOppositeSex}}
            {{/if}}
            {{# colorAnalysis}}
            <div class="swiper-slide color-analysis swiper-lazy hide"
                 data-background="http://cmsres.test.yoho.cn/res/new/yoho-mobile/vip-bill/assets/images/bill-background-5.png">
                <table>
                    <tr>
                        <td>
                            <div id="color-chart" class="color-chart" style="width: 100%; height: 50%;"></div>
                            <div class="info-container">
                                <p class="prefer-color">
                                    您最喜欢的颜色是
                                    {{# preferColor}}
                                    <span class="color-block" style="background-color: {{bgColor}};color: {{color}}">{{text}}</span>
                                    {{/ preferColor}}
                                </p>

                                <p class="similar-like">

                                    {{# similar}}
                                    <span class="color-block" style="background-color: #ff00ba;">{{percent}}</span>
                                    {{/ similar}}
                                    的潮人和您的眼光一样!
                                </p>

                                <p class="doc">
                                    {{doc}}
                                </p>
                            </div>
                        </td>
                    </tr>
                </table>
                <span class="slide-next-w"></span>
            </div>
            {{/ colorAnalysis}}
            {{# brandAnalysis}}
            <div class="swiper-slide brands-analysis swiper-lazy hide"
                 data-background="http://cmsres.test.yoho.cn/res/new/yoho-mobile/vip-bill/assets/images/bill-background-4.png">
                <table>
                    <tr>
                        <td>
                            <div id="brands-chart" class="brands-chart" style="width: 100%; height: 50%;"></div>
                            <div class="info-container">
                                <p class="brand-from">
                                    您最喜欢来自于
                                    {{# brandFrom}}
                                    <span class="color-block" style="background-color: {{bgColor}};color: {{color}};">{{text}}</span>
                                    {{/ brandFrom}}
                                    的品牌
                                </p>

                                <p class="similar-like">

                                    {{# similar}}
                                    <span class="color-block" style="background-color: #0072ff;">{{percent}}</span>
                                    {{/ similar}}
                                    的潮人和您的眼光一样!
                                </p>

                                <p class="doc">
                                    {{doc}}
                                </p>
                            </div>
                        </td>
                    </tr>
                </table>
                <span class="slide-next-w"></span>
            </div>
            {{/ brandAnalysis}}
            {{# mostPay}}
            <div class="swiper-slide buy-most-pay swiper-lazy hide"
                 data-background="http://cmsres.test.yoho.cn/res/new/yoho-mobile/vip-bill/assets/images/bill-background-2.png">
                <table>
                    <tr>
                        <td>
                            <span data-swiper-parallax="-20">{{date}}</span>
                            <span data-swiper-parallax="-40">您在我们这里花费</span>
                            <span data-swiper-parallax="-50">{{pay}}元</span>
                            <span data-swiper-parallax="-80">购买了</span>
                            <span data-swiper-parallax="-100">{{commodity}}</span>
                            <span data-swiper-parallax="-130">{{doc}}</span>
                        </td>
                    </tr>
                </table>
                <span class="slide-next-w"></span>
            </div>
            {{/ mostPay}}
            {{# payAnalysis}}
            <div class="swiper-slide buy-most-analysis swiper-lazy hide"
                 data-background="http://cmsres.test.yoho.cn/res/new/yoho-mobile/vip-bill/assets/images/bill-background-5.png">
                <table>
                    <tr>
                        <td>
                            {{# sum}}
                            <div data-swiper-parallax="-20" class="pay-all">
                                <p>
                                    您累计购物金额{{you}}元,<br>
                                    据说隔壁小王已达到{{other}}元,<br>
                                    潮流既是生活,关注Yoho!Buy有货感受不一样的潮流生活
                                </p>
                            </div>
                            {{/ sum}}
                            {{# mostExpensive}}
                            <div data-swiper-parallax="-80" class="pall-most">
                                <p>
                                    您最高一件商品消费{{you}}元,<br>
                                    听说班上小新花了{{other}}软妹币,<br>
                                    知道你还未遇到那件需要“托付终身”的“它”,保持对Yoho!Buy有货的关注,你会遇见!
                                </p>
                            </div>
                            {{/ mostExpensive}}
                            {{# num}}
                            <div data-swiper-parallax="-120" class="pay-average">

                                <table>
                                    <tr>
                                        <td>
                                            <p>
                                                您平均一个订单购买{{you}}件商品,<br>
                                                最牛超人已经达到{{other}}件,<br>
                                                超越绝非难事,较小伙伴一起来买~
                                            </p>
                                        </td>
                                    </tr>
                                </table>

                            </div>
                            {{/ num}}
                        </td>
                    </tr>
                </table>
                <span class="slide-next-w"></span>
            </div>
            {{/ payAnalysis}}
            {{# sumAnalysis}}
            <div class="swiper-slide buy-sum-analysis bill-{{sex}} swiper-lazy hide"
                 data-background="http://cmsres.test.yoho.cn/res/new/yoho-mobile/vip-bill/assets/images/bill-background-5.png">
                <table>
                    <tr>
                        <td>
                            <div data-swiper-parallax="-20" class="usr-info">
                                <span><img src="http://cmsres.test.yoho.cn/res/new/yoho-mobile/vip-bill/assets/images/login-user.png" alt=""/><b></b></span>
                            </div>
                            <!--<span class="bill-designation-{{title}}"></span>-->
                            <img class="bill-designation-title" src="http://cmsres.test.yoho.cn/res/new/yoho-mobile/vip-bill/assets/images/bill-designation-{{title}}.png" alt=""/>
                            {{# pay}}
                            <div class="bar-graph-wraper" data-swiper-parallax="-40">
                                <span class="bar-graph" data-per="{{beat}}"><b></b></span>

                                <p>您的财富已达到<b>{{count}}</b>元,击败了全国<b>{{beat}}</b>的潮人</p>
                            </div>
                            {{/ pay}}
                            {{# order}}
                            <div class="bar-graph-wraper" data-swiper-parallax="-50">
                                <span class="bar-graph" data-per="{{beat}}"><b></b></span>

                                <p>最奢侈的一单<b>{{count}}</b>元,击败了全国<b>{{beat}}</b>的潮人</p>
                            </div>
                            {{/ order}}
                            {{# fashionFlight}}
                            <div class="bar-graph-wraper" data-swiper-parallax="-80">
                                <span class="bar-graph" data-per="{{beat}}"><b></b></span>

                                <p>搭乘了<b>{{count}}</b>次潮流航班,击败了全国<b>{{beat}}</b>的潮人</p>
                            </div>
                            {{/ fashionFlight}}
                            {{# equip}}
                            <div class="bar-graph-wraper" data-swiper-parallax="-100">
                                <span class="bar-graph" data-per="{{beat}}"><b></b></span>

                                <p>拥有<b>{{count}}</b>件潮人装备,击败了全国<b>{{beat}}</b>的潮人</p>
                            </div>
                            {{/ equip}}
                        </td>
                    </tr>
                </table>
            </div>
            {{/ sumAnalysis}}
            <div class="swiper-slide buy-bill-end swiper-lazy hide"
                 data-background="http://cmsres.test.yoho.cn/res/new/yoho-mobile/vip-bill/assets/images/bill-end.jpg">
                <a class="back-to-home" href="http://m.yohobuy.com/boys.html?openby:yohobuy={&quot;action&quot;:&quot;go.home&quot;}"></a>
            </div>
        </div>
    </div>
</div>
<input id="uid" type="hidden" value={{uid}}>
<script type="text/javascript">
    function getClientShare() {
        return "{{{shareJsonStr}}}"
    }
</script>
{{/ data}}
<script defer src="http://cmsres.test.yoho.cn/res/new/yoho-mobile/plugin/echarts.js"></script>
{{> layout/footer}}