reg-success-prize.hbs 5.25 KB
<div class="reg-success-page">
    {{#regSuccessCouponInfo}}
        <div class="reg-success-wrapper" data-test="{{isTest}}">
            <div class="prize-container">
                <div class="title-container">
                    <div class="title-prize-img"></div>
                    <p class="title">恭喜你! 成为有货会员</p>
                    <p class="sub-title-prize">送你 <span>{{totalPrice}}</span> 礼包</p>
                    <p class="sub-title">新人礼包已放入您的优惠券</p>
                </div>
                <div class="coupon-container">
                    <div class="coupon-list get normal">
                        <ul>
                            {{#each normalCoupon}}
                                <li>
                                    <div class="coupon-info {{#if isUfo}}ufo{{/if}}">
                                        <div class="coupon-left">
                                            <p class="coupon-price">{{amount}}</p>
                                            <p class="coupon-condition">{{useRuleText}}</p>
                                        </div>
                                        <div class="coupon-right">
                                            <p class="coupon-name">{{couponName}}</p>
                                            <p class="coupon-desc">{{valiPeriodText}}</p>
                                        </div>
                                        {{#if isUfo}}
                                            <a class="coupon-button" href='//m.yohobuy.com/?openby:yohobuy={"action":"go.ufo","params":{"pagename":"home"}}'>去使用</a>
                                            {{else}}
                                            <a class="coupon-button" href='//m.yohobuy.com/?openby:yohobuy={"action":"go.home","params":{"gender":"1","channel":"2"}}'>去使用</a>
                                        {{/if}}
                                    </div>
                                </li>
                            {{/each}}
                        </ul>
                    </div>

                    <div class="list-title">
                        <div class="line-before"></div>
                        <p>分享后再送</p>
                        <div class="line-after"></div>
                    </div>
                    <div class="coupon-list not-get share">
                        <ul>
                            {{#each shareCoupon}}
                            <li>
                                <div class="coupon-info">
                                    <div class="coupon-left">
                                        <p class="coupon-price">{{amount}}</p>
                                        <p class="coupon-condition">{{useRuleText}}</p>
                                    </div>
                                    <div class="coupon-right">
                                        <p class="coupon-name">{{couponName}}</p>
                                        <p class="coupon-desc">{{valiPeriodText}}</p>
                                    </div>
                                    <a class="coupon-button" href='//activity.yoho.cn/feature/{{../activityId}}.html{{../userInfo}}&openby:yohobuy={"action":"go.h5","params":{"url":"https://activity.yoho.cn/feature/{{../activityId}}.html"}}'>去分享</a>
                                </div>
                            </li>
                            {{/each}}
                        </ul>
                    </div>
                    <div class="list-title">
                        <div class="line-before"></div>
                        <p>购买消费后再送</p>
                        <div class="line-after"></div>
                    </div>
                    <div class="coupon-list not-get bought">
                        <ul>
                            {{#each boughtCoupon}}
                            <li>
                                <div class="coupon-info">
                                    <div class="coupon-left">
                                        <p class="coupon-price">{{amount}}</p>
                                        <p class="coupon-condition">{{useRuleText}}</p>
                                    </div>
                                    <div class="coupon-right">
                                        <p class="coupon-name">{{couponName}}</p>
                                        <p class="coupon-desc">{{valiPeriodText}}</p>
                                    </div>
                                </div>
                            </li>
                            {{/each}}
                        </ul>
                    </div>
                </div>
            </div>
            <div class="download-button">
                <a id="btn_goto_share" href='//activity.yoho.cn/feature/{{activityId}}.html{{userInfo}}&openby:yohobuy={"action":"go.h5","params":{"url":"https://activity.yoho.cn/feature/{{activityId}}.html"}}' target="_blank">
                    <p>去逛逛新人专享</p>
                </a>
                <a id="btn_goto_download" style="display: none" href="https://union.yoho.cn/union/app-downloads.html" target="_blank">
                    <p>去下载有货APP</p>
                </a>
            </div>
        </div>
    {{/regSuccessCouponInfo}}

</div>