spread.hbs 3.16 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>邀请好友扫一扫,下载有货APP,<br>新人立享199元优惠券</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="my-spread-list">
                    <table>
                        <thead>
                            <tr>
                                <th>我邀请的好友</th>
                                <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>{{paymentStatusDesc}}</td>
                                    <td>{{couponName}}</td>
                                    <td>{{couponStatusDesc}}</td>
                                    <td>{{couponSendTimeDis}}</td>
                                </tr>
                            {{/ list}}

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