trial_list.html 7.4 KB
{{> layout/header_jian}}
<div class="trial-tab-select">
    <div class="tab-select-wrapper">
        <span class="trial-tab-ing">申请中</span>
        <span class="trial-tab-success">申请成功</span>
        <span class="trial-tab-fail">申请失败</span>
    </div>
</div>
<div class="content {{# channel}}content-{{.}}{{/ channel}} clearfix" id="beauuty-trial-list">
    <div class="trial-tab-content-ing">
        <div class="trial-content-left" style="float:none;">
            <ul>
                {{# trialIng}}
                <li class="content-trial-item channel-{{channelType}} channel-beauty-trial {{# noBorder}} no-border {{/ noBorder}}">
                    <a class="img-link" href="{{applyDetailLink}}" target="_blank"
                       onclick="YOHODCLICK('channel','mobile','content')">
                        <img class="lazy-ing" data-original="{{img}}"
                             src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="
                             alt=""/>
                    </a>

                    <div class="content-trial-item-main {{# success}}trial-time-success{{/ success}}{{# fail}}trial-time-fail{{/ fail}}{{# ing}}trial-time-ing{{/ ing}}">
                        <h2>
                            <a href="{{applyDetailLink}}" target="_blank"
                               onclick="YOHODCLICK('channel','mobile','content')">{{title}}</a>
                        </h2>

                        <h3>
                            <a href="{{applyDetailLink}}" target="_blank"
                               onclick="YOHODCLICK('channel','mobile','content')">{{subTitle}}</a>
                        </h3>

                        <time class="trial-tab-time">
                            <span>申请时间:{{timeStart}}</span>
                        </time>
                        <div class="apply-status">
                            {{# success}}申请成功{{/ success}}{{# fail}}审核未通过{{/ fail}}{{# ing}}申请待审核{{/ ing}}
                        </div>
                        <div class="trial-submit">
                            <a class="apply-link" href="{{applyDetailLink}}">查看详情</a>
                        </div>
                    </div>
                </li>
                {{/ trialIng}}
            </ul>
            {{^ trialIng}}
            <div class="no-trial">
                您没有正在申请的试用品<br />
                <span>立即去</span><a href="/channel/beauty/trial">免费申请</a>
            </div>
            {{/ trialIng}}
        </div>
        {{# trialIngSwitch}}
        {{> channel/trial_pager}}
        {{/ trialIngSwitch}}
    </div>
    <div class="trial-tab-content-success">
        <div class="trial-content-left" style="float:none;">
            <ul>
                {{# trialSuccess}}
                <li class="content-trial-item channel-{{channelType}} channel-beauty-trial {{# noBorder}} no-border {{/ noBorder}}">
                    <a class="img-link" href="{{link}}" target="_blank"
                       onclick="YOHODCLICK('channel','mobile','content')">
                        <img class="lazy-success" data-original="{{img}}"
                             src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="
                             alt=""/>
                    </a>

                    <div class="content-trial-item-main {{# success}}trial-time-success{{/ success}}{{# fail}}trial-time-fail{{/ fail}}{{# ing}}trial-time-ing{{/ ing}}">
                        <h2>
                            <a href="{{link}}" target="_blank"
                               onclick="YOHODCLICK('channel','mobile','content')">{{title}}</a>
                        </h2>

                        <h3>
                            <a href="{{link}}" target="_blank"
                               onclick="YOHODCLICK('channel','mobile','content')">{{subTitle}}</a>
                        </h3>

                        <time class="trial-tab-time">
                            <span>申请时间:{{timeStart}}</span>
                        </time>
                        <div class="apply-status">
                            {{# success}}申请成功{{/ success}}{{# fail}}审核未通过{{/ fail}}{{# ing}}申请待审核{{/ ing}}
                        </div>
                        <div class="trial-submit">
                            <a class="apply-link" href="{{applyDetailLink}}">查看详情</a>
                        </div>
                    </div>
                </li>
                {{/ trialSuccess}}
            </ul>
            {{^ trialSuccess}}
            <div class="no-trial">
                您没有申请成功的试用品<br />
                <span>立即去</span><a href="/channel/beauty/trial">免费申请</a>
            </div>
            {{/ trialSuccess}}
        </div>
        {{# trialSuccessSwitch}}
        {{> channel/trial_pager}}
        {{/ trialSuccessSwitch}}
    </div>
    <div class="trial-tab-content-fail">
        <div class="trial-content-left" style="float:none;">
            <ul>
                {{# trialFail}}
                <li class="content-trial-item channel-{{channelType}} channel-beauty-trial {{# noBorder}} no-border {{/ noBorder}}">
                    <a class="img-link" href="{{link}}" target="_blank"
                       onclick="YOHODCLICK('channel','mobile','content')">
                        <img class="lazy-fail" data-original="{{img}}"
                             src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="
                             alt=""/>
                    </a>

                    <div class="content-trial-item-main {{# success}}trial-time-success{{/ success}}{{# fail}}trial-time-fail{{/ fail}}{{# ing}}trial-time-ing{{/ ing}}">
                        <h2>
                            <a href="{{link}}" target="_blank"
                               onclick="YOHODCLICK('channel','mobile','content')">{{title}}</a>
                        </h2>

                        <h3>
                            <a href="{{link}}" target="_blank"
                               onclick="YOHODCLICK('channel','mobile','content')">{{subTitle}}</a>
                        </h3>

                        <time class="trial-tab-time">
                            <span>申请时间:{{timeStart}}</span>
                        </time>
                        <div class="apply-status">
                            {{# success}}申请成功{{/ success}}{{# fail}}审核未通过{{/ fail}}{{# ing}}申请待审核{{/ ing}}
                        </div>
                        <div class="trial-submit">
                            <a class="apply-link" href="{{applyDetailLink}}">查看详情</a>
                        </div>
                    </div>
                </li>
                {{/ trialFail}}
            </ul>
            {{^ trialFail}}
            <div class="no-trial">
                您没有申请失败的试用品<br />
                <span>立即去</span><a href="/channel/beauty/trial">免费申请</a>
            </div>
            {{/ trialFail}}
        </div>
        {{# trialFailSwitch}}
        {{> channel/trial_pager}}
        {{/ trialFailSwitch}}
    </div>
</div>
{{> layout/footer_jian}}