spread.hbs 3.64 KB
<div class="spread-me-page me-page yoho-page clearfix">
    {{> path}}
    {{> navigation}}
    <div class="me-main">
        <div class="spread block">
            <h2 class="title"></h2>
            {{# spread}}
                <div class="spread-wrap clearfix">
                    <div class="item-card">
                        <span class="tag">方法一:扫描邀请二维码</span>
                        <div class="card-main">
                            <div class="spread-code" data-url="{{url}}"></div>
                        </div>
                        <p>{{{activityDescribe}}}</p>
                    </div>
                    <div class="item-card">
                        <span class="tag">方法二:使用邀请码</span>
                        <div class="card-main">
                            <p class="spread-id">{{inviteCode}}</p>
                        </div>
                        <p>1.复制您的邀请码<br>2.粘贴给您的朋友</p>
                    </div>
                    <div class="item-card">
                        <span class="tag">方法三:使用邀请链接</span>
                        <div class="card-main">
                            <div class="spread-url">
                                <input type="text" value="{{url}}" class
                                ="copy-url" readonly="readonly">
                                <div class="succ-tip">复制成功</div>
                            </div>
                        </div>
                        <p>1.复制您的邀请链接<br>2.选择您的社交平台<br>3.粘贴给您的朋友</p>
                    </div>
                </div>
                <div class="spread-wrap clearfix spread-rules">
                    <h2>活动细则</h2>
                    <p>{{{rules}}}</p>
                </div>
                <div class="my-spread-list">
                    <table>
                        <thead>
                            <tr>
                                <th>我邀请的好友</th>
                                <th>注册时间</th>
                                <th>首单购物金额</th>
                                <th>我的奖励</th>
                                <th>奖励状态</th>
                                <th>发放时间</th>
                            </tr>
                        </thead>
                        <tbody>
                            {{# list}}
                                <tr>
                                    <td>{{nickName}}</td>
                                    <td>{{registerTimeDis}}</td>
                                    <td>{{orderAmountDis}}</td>
                                    <td>{{couponName}}</td>
                                    <td class="coupon-status">{{couponStatusDesc}}
                                        {{#if paymentStatusDesc}}
                                            <i class="help-icon"></i>
                                            <div class="coin-tip-help">
                                                <p>{{paymentStatusDesc}}</p>
                                            </div>
                                        {{/if}}
                                    </td>
                                    <td>{{couponSendTimeDis}}</td>
                                </tr>
                            {{/ list}}

                            {{#unless list}}
                                <tr><td colspan="7">暂无数据</td></tr>
                            {{/unless}}
                        </tbody>
                    </table>
                </div>
                {{> pager}}
            {{/ spread}}
        </div>
    </div>
</div>