Authored by hf

Merge branch 'develop' of http://git.dev.yoho.cn/ued/yohogirls-mustache into develop

{{> layout/header_jian}}
{{> channel/banner_top}}
{{> channel/content}}
<div class="content {{# channel}}content-{{.}}{{/ channel}} clearfix">
{{^ trialTop}}
{{# contentWithNothing}}
{{# topItems}}
{{> channel/item}}
{{/ topItems}}
{{/ contentWithNothing}}
{{# contentWithAdvert}}
{{# topItems}}
{{> channel/item}}
{{/ topItems}}
{{> channel/banner_right}}
{{# bottomItems}}
{{> channel/item}}
{{/ bottomItems}}
{{/ contentWithAdvert}}
{{# contentWithCenterBanner}}
{{# topItems}}
{{> channel/item}}
{{/ topItems}}
{{> channel/banner_center}}
{{# bottomItems}}
{{> channel/item}}
{{/ bottomItems}}
{{/ contentWithCenterBanner}}
{{# contentWithAll}}
{{# topItems1}}
{{> channel/item}}
{{/ topItems1}}
{{> channel/banner_right}}
{{# topItems2}}
{{> channel/item}}
{{/ topItems2}}
{{> channel/banner_center}}
{{# bottomItems}}
{{> channel/item}}
{{/ bottomItems}}
{{/ contentWithAll}}
{{> channel/follow_us}}
{{/ trialTop}}
{{# trialTop}}
{{# contentWithNothing}}
<div class="content-items-group-left">
{{# topItemsLeft}}
{{> channel/item}}
{{/ topItemsLeft}}
</div>
<div class="trial-top trial-has-bottom-border">
{{# topTen}}
<span class="content-item-detail-a-img">
<a href="{{link}}" target="_blank" class="link" title="{{title}}"
onclick="YOHODCLICK('channel','web','content')">
<img class="lazy pic"
src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="
data-original="{{img}}" alt="{{title}}" style="display: inline;">
</a>
</span>
<h2 class="beauty-top-h2">本周试用排行榜</h2>
{{# top}}
<a class="top-list top-list-{{ranking}}" href="{{link}}" target="_blank">
<span class="top-leading"></span>
<div class="top-content">
<h2>{{title}}</h2>
<h3>{{subTitle}}</h3>
</div>
<span class="top-like-num {{bestLike}}">{{likeNum}}</span>
</a>
{{/ top}}
{{/ topTen}}
</div>
<div class="content-items-group-right">
{{# topItemsRight}}
{{> channel/item}}
{{/ topItemsRight}}
</div>
<div class="content-items-group-bottom">
{{# topItemsBottom}}
{{> channel/item}}
{{/ topItemsBottom}}
{{> channel/follow_us}}
</div>
{{/ contentWithNothing}}
{{# contentWithAdvert}}
<div class="content-items-group-left">
{{# topItemsLeft}}
{{> channel/item}}
{{/ topItemsLeft}}
</div>
<div class="trial-top trial-has-bottom-border">
{{# topTen}}
<span class="content-item-detail-a-img">
<a href="{{link}}" target="_blank" class="link" title="{{title}}"
onclick="YOHODCLICK('channel','web','content')">
<img class="lazy pic"
src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="
data-original="{{img}}" alt="{{title}}" style="display: inline;">
</a>
</span>
<h2 class="beauty-top-h2">本周试用排行榜</h2>
{{# top}}
<a class="top-list top-list-{{ranking}}" href="{{link}}" target="_blank">
<span class="top-leading"></span>
<div class="top-content">
<h2>{{title}}</h2>
<h3>{{subTitle}}</h3>
</div>
<span class="top-like-num {{bestLike}}">{{likeNum}}</span>
</a>
{{/ top}}
{{/ topTen}}
</div>
<div class="content-items-group-right">
{{> channel/banner_right}}
{{# topItemsRight}}
{{> channel/item}}
{{/ topItemsRight}}
</div>
<div class="content-items-group-bottom">
{{# topItemsBottom}}
{{> channel/item}}
{{/ topItemsBottom}}
{{> channel/follow_us}}
</div>
{{/ contentWithAdvert}}
{{# contentWithCenterBanner}}
<div class="content-items-group-left">
{{# topItemsLeft}}
{{> channel/item}}
{{/ topItemsLeft}}
</div>
<div class="trial-top">
{{# topTen}}
<span class="content-item-detail-a-img">
<a href="{{link}}" target="_blank" class="link" title="{{title}}"
onclick="YOHODCLICK('channel','web','content')">
<img class="lazy pic"
src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="
data-original="{{img}}" alt="{{title}}" style="display: inline;">
</a>
</span>
<h2 class="beauty-top-h2">本周试用排行榜</h2>
{{# top}}
<a class="top-list top-list-{{ranking}}" href="{{link}}" target="_blank">
<span class="top-leading"></span>
<div class="top-content">
<h2>{{title}}</h2>
<h3>{{subTitle}}</h3>
</div>
<span class="top-like-num {{bestLike}}">{{likeNum}}</span>
</a>
{{/ top}}
{{/ topTen}}
</div>
<div class="content-items-group-right">
{{# topItemsRight}}
{{> channel/item}}
{{/ topItemsRight}}
</div>
{{> channel/banner_center}}
<div class="content-items-group-bottom">
{{# topItemsBottom}}
{{> channel/item}}
{{/ topItemsBottom}}
{{> channel/follow_us}}
</div>
{{/ contentWithCenterBanner}}
{{# contentWithAll}}
<div class="content-items-group-left">
{{# topItemsLeft}}
{{> channel/item}}
{{/ topItemsLeft}}
</div>
<div class="trial-top">
{{# topTen}}
<span class="content-item-detail-a-img">
<a href="{{link}}" target="_blank" class="link" title="{{title}}"
onclick="YOHODCLICK('channel','web','content')">
<img class="lazy pic"
src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="
data-original="{{img}}" alt="{{title}}" style="display: inline;">
</a>
</span>
<h2 class="beauty-top-h2">本周试用排行榜</h2>
{{# top}}
<a class="top-list top-list-{{ranking}}" href="{{link}}" target="_blank">
<span class="top-leading"></span>
<div class="top-content">
<h2>{{title}}</h2>
<h3>{{subTitle}}</h3>
</div>
<span class="top-like-num {{bestLike}}">{{likeNum}}</span>
</a>
{{/ top}}
{{/ topTen}}
</div>
<div class="content-items-group-right">
{{> channel/banner_right}}
{{# topItemsRight}}
{{> channel/item}}
{{/ topItemsRight}}
</div>
{{> channel/banner_center}}
<div class="content-items-group-bottom">
{{# topItemsBottom}}
{{> channel/item}}
{{/ topItemsBottom}}
{{> channel/follow_us}}
</div>
{{/ contentWithAll}}
{{/ trialTop}}
</div>
{{> channel/pager}}
{{> layout/footer_jian}}
\ No newline at end of file
... ...
... ... @@ -2,7 +2,88 @@
{{> channel/banner320}}
<div class="home-content">
<ul>
{{> channel/content320}}
{{#content}}
<li class="content-item channel-{{channelType}}">
<a class="img-link" href="{{link}}" target="_blank" onclick="YOHODCLICK('channel','mobile','content')">
<img class="lazy" data-original="{{img}}"
src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="
alt=""/>
</a>
<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>
{{# channel}}<a href="{{link}}" onclick="YOHODCLICK('channel','mobile','contentChannel')">{{name}}</a>&nbsp;|&nbsp;{{/
channel}}
{{# subChannel}}<a href="{{link}}"
onclick="YOHODCLICK('channel','mobile','contentChannel')">{{name}}</a>&nbsp;|&nbsp;{{/
subChannel}}
<span time="{{time}}" class="time-format"></span>
</time>
<p>
<a class="a-detail" href="{{link}}" target="_blank" onclick="YOHODCLICK('channel','mobile','content')">{{content}}</a>
</p>
</li>
{{/content}}
{{# topTen}}
<li class="content-item channel-{{channelType}} channel-beauty-top">
<a class="img-link" href="{{link}}" target="_blank" onclick="YOHODCLICK('channel','mobile','content')">
<img class="lazy" data-original="{{img}}"
src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="
alt=""/>
</a>
<h2 class="beauty-top-h2">本周试用排行榜</h2>
{{# top}}
<a class="top-list top-list-{{ranking}}" href="{{link}}" target="_blank">
<span class="top-leading"></span>
<div class="top-content">
<h2>{{title}}</h2>
<h3>{{subTitle}}</h3>
</div>
<span class="top-like-num {{bestLike}}">{{likeNum}}</span>
</a>
{{/ top}}
</li>
{{/ topTen}}
{{#contentTwo}}
<li class="content-item channel-{{channelType}}">
<a class="img-link" href="{{link}}" target="_blank" onclick="YOHODCLICK('channel','mobile','content')">
<img class="lazy" data-original="{{img}}"
src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="
alt=""/>
</a>
<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>
{{# channel}}<a href="{{link}}" onclick="YOHODCLICK('channel','mobile','contentChannel')">{{name}}</a>&nbsp;|&nbsp;{{/
channel}}
{{# subChannel}}<a href="{{link}}"
onclick="YOHODCLICK('channel','mobile','contentChannel')">{{name}}</a>&nbsp;|&nbsp;{{/
subChannel}}
<span time="{{time}}" class="time-format"></span>
</time>
<p>
<a class="a-detail" href="{{link}}" target="_blank" onclick="YOHODCLICK('channel','mobile','content')">{{content}}</a>
</p>
</li>
{{/contentTwo}}
</ul>
{{> channel/follow_us320}}
{{> channel/page320}}
... ...
{{> layout/header_jian}}
<div class="publish-container">
<div class="publish-title">
<input placeholder="输入心得标题" type="text">
</div>
<div class="evaluate">
<div class="final-score">
<h2>总体评价</h2>
{{> common/final_score}}
</div>
<div class="buy-again clearfix">
<h4>回购评分</h4>
<span class="again-score">{{buyAgain}}</span>
<a class="again-select" href="javascript:;">很喜欢,会再次购买</a>
<a class="again-select" href="javascript:;">看到会买</a>
<a class="again-select" href="javascript:;">不会买</a>
</div>
{{#if detailScore}}
<div class="detail-score">
<ul class="clearfix">
{{#each detailScore}}
<li class="clearfix" index="{{@key}}">
<label>{{.}}</label>
<div class="score-select-wrap clearfix">
<a class="score-select" href="javascript:;">1</a>
<a class="score-select" href="javascript:;">2</a>
<a class="score-select" href="javascript:;">3</a>
<a class="score-select" href="javascript:;">4</a>
<a class="score-select" href="javascript:;">5</a>
</div>
<span class="score-text"></span>
</li>
{{/each}}
</ul>
</div>
{{/if}}
</div>
<form action="">
<div class="bg-top"></div>
<div class="bg-bottom"></div>
<div id="img-storage" class="img-storage clearfix">
<ul id="img-content" class="img-content clearfix">
<li id="add-btn"></li>
</ul>
</div>
<div class="publish-editer" contenteditable="true">
</div>
</form>
<div class="publish-btn">
<a href="javascript:;">发表试用心得</a>
</div>
</div>
{{> layout/footer_jian}}
\ No newline at end of file
... ...
{{> layout/writer_header320}}
<div class="publish-container">
<div class="publish-title">
<input placeholder="输入心得标题" type="text">
</div>
<div class="evaluate">
<div class="final-score">
<h2>总体评价</h2>
{{> common/final_score}}
</div>
<div class="buy-again clearfix">
<h4>回购评分</h4>
<span class="again-score">{{buyAgain}}</span>
<div class="again-select-wrap clearfix">
<a class="again-select current" href="javascript:;">很喜欢,会再次购买</a>
<a class="again-select" href="javascript:;">看到会买</a>
<a class="again-select" href="javascript:;">不会买</a>
</div>
</div>
{{#if detailScore}}
<div class="detail-score">
<ul class="clearfix">
{{#each detailScore}}
<li class="clearfix" index="{{@key}}">
<label>{{.}}</label>
<div class="score-select-wrap clearfix">
<a class="score-select" href="javascript:;">1</a>
<a class="score-select" href="javascript:;">2</a>
<a class="score-select" href="javascript:;">3</a>
<a class="score-select" href="javascript:;">4</a>
<a class="score-select" href="javascript:;">5</a>
</div>
<span class="score-text"></span>
</li>
{{/each}}
</ul>
</div>
{{/if}}
</div>
<form action="">
<div class="publish-editer" contenteditable="true">
</div>
</form>
<div class="publish-btn">
<a href="javascript:;">发表试用心得</a>
</div>
</div>
{{> layout/footer320}}
\ No newline at end of file
... ...
{{> layout/header_jian}}
{{> channel/banner_top}}
<div class="content {{# channel}}content-{{.}}{{/ channel}} clearfix" id="beauuty-trial-list">
<div class="trial-content-left">
<ul>
{{# content}}
<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" 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>
<div class="trial-product-info">
<span>价格:{{price}}元&nbsp;/&nbsp;</span>
<span>规格:{{size}}&nbsp;{{standand}}&nbsp;/&nbsp;</span>
<span>数量:{{num}}份</span>
</div>
<time>
<span>申请时间:{{timeStart}}——{{timeEnd}}</span>
<span class="trial-time-overplus">{{# timeOverplus}}距离结束还有{{/ timeOverplus}}{{timeOverplus}}</span>
</time>
<div class="trial-submit">
{{# isOver}}<b class="apply-link apply-link-over">活动已结束</b>{{/ isOver}}
{{^ isOver}}<a class="apply-link" href="{{link}}">免费申请</a>{{/ isOver}}
<span class="apply-like-num {{# isLike}}apply-dislike{{/ isLike}}" data-cid="{{cid}}">&#xe600;<b>{{#if likeNum}}{{likeNum}}{{/if}}</b></span>
</div>
</div>
</li>
{{/ content}}
</ul>
</div>
<div class="trial-content-right" id="trial-list-top-ten">
<div class="trial-top">
{{# topTen}}
<div class="trial-user-info">
<span class="trial-user-pic">
<img src="{{userPic}}" alt=""/>
</span>
<span>我的试用</span>
</div>
<h2 class="beauty-top-h2">本周试用排行榜</h2>
{{# top}}
<a class="top-list top-list-{{ranking}}" href="{{link}}" target="_blank">
<span class="top-leading"></span>
<div class="top-content">
<h2>{{title}}</h2>
<h3>{{subTitle}}</h3>
</div>
<span class="top-like-num {{bestLike}}">{{likeNum}}</span>
</a>
{{/ top}}
{{/ topTen}}
</div>
</div>
</div>
{{> channel/pager}}
{{> layout/footer_jian}}
\ No newline at end of file
... ...
{{> layout/writer_header320}}
<div class="trial-nav">
<span class="trial-nav-l">试用中心</span>
<span class="trial-nav-r">我的试用</span>
</div>
<div class="trial-l-content trial-content trial-active-content">
{{> channel/banner320}}
<div class="home-content">
<ul>
{{# contentCenter}}
<li class="content-item channel-{{channelType}} channel-beauty-trial">
<a class="img-link" href="{{link}}" target="_blank" onclick="YOHODCLICK('channel','mobile','content')">
<img class="lazy" data-original="{{img}}"
src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="
alt=""/>
</a>
<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>
<div class="trial-product-info">
<span>价格:{{price}}元&nbsp;/&nbsp;</span>
<span>规格:{{size}}&nbsp;{{standand}}&nbsp;/&nbsp;</span>
<span>数量:{{num}}份</span>
</div>
<time class="{{# success}}trial-time-success{{/ success}}{{# fail}}trial-time-fail{{/ fail}}{{# ing}}trial-time-ing{{/ ing}}">
<span>申请时间:{{timeStart}}——{{timeEnd}}</span>
<span class="trial-time-overplus">距离结束还有{{timeOverplus}}</span>
</time>
<div class="trial-submit">
{{# isOver}}<b class="apply-link apply-link-over">活动已结束</b>{{/ isOver}}
{{^ isOver}}<a class="apply-link" href="{{applyLink}}">免费申请</a>{{/ isOver}}
<span class="apply-like-num {{# isLike}}apply-dislike{{/ isLike}}">&#xe600;{{likeNum}}</span>
</div>
</li>
{{/ contentCenter}}
</ul>
{{# contentCenterSwitch}}
{{> channel/page320}}
{{/ contentCenterSwitch}}
</div>
</div>
<div class="trial-r-content trial-content">
<div class="home-content trial-tab-content-ing">
<ul>
{{# trialIng}}
<li class="content-item channel-{{channelType}} channel-beauty-trial">
<a class="img-link" href="{{link}}" target="_blank" onclick="YOHODCLICK('channel','mobile','content')">
<img class="lazy" data-original="{{img}}"
src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="
alt=""/>
</a>
<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="{{# success}}trial-time-success{{/ success}}{{# fail}}trial-time-fail{{/ fail}}{{# ing}}trial-time-ing{{/ ing}}">
<span>申请时间:{{timeStart}}</span>
</time>
<div class="apply-status">
{{# success}}申请成功{{/ success}}{{# fail}}审核未通过{{/ fail}}{{# ing}}申请待审核{{/ ing}}
</div>
<div class="trial-submit">
<a class="apply-detail-link" href="{{applyDetailLink}}">查看详情</a>
</div>
</li>
{{/ trialIng}}
</ul>
{{# trialIngSwitch}}
{{> channel/page320}}
{{/ trialIngSwitch}}
{{^ trialIng}}
<div class="noting-trial-tip">
<p>您还没有申请中的试用品</p>
<b>立即去</b><a href="#">免费申请</a>
</div>
{{/ trialIng}}
</div>
<div class="home-content trial-tab-content-success">
<ul>
{{# trialSuccess}}
<li class="content-item channel-{{channelType}} channel-beauty-trial">
<a class="img-link" href="{{link}}" target="_blank" onclick="YOHODCLICK('channel','mobile','content')">
<img class="lazy" data-original="{{img}}"
src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="
alt=""/>
</a>
<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="{{# success}}trial-time-success{{/ success}}{{# fail}}trial-time-fail{{/ fail}}{{# ing}}trial-time-ing{{/ ing}}">
<span>申请时间:{{timeStart}}</span>
</time>
<div class="apply-status">
{{# success}}申请成功{{/ success}}{{# fail}}审核未通过{{/ fail}}{{# ing}}申请待审核{{/ ing}}
</div>
<div class="trial-submit">
<a class="apply-detail-link" href="{{applyDetailLink}}">查看详情</a>
</div>
</li>
{{/ trialSuccess}}
</ul>
{{# trialSuccessSwitch}}
{{> channel/page320}}
{{/ trialSuccessSwitch}}
{{^ trialSuccess}}
<div class="noting-trial-tip">
<p>您还没有申请成功的试用品</p>
<b>立即去</b><a href="#">免费申请</a>
</div>
{{/ trialSuccess}}
</div>
<div class="home-content trial-tab-content-fail">
<ul>
{{# trialFail}}
<li class="content-item channel-{{channelType}} channel-beauty-trial">
<a class="img-link" href="{{link}}" target="_blank" onclick="YOHODCLICK('channel','mobile','content')">
<img class="lazy" data-original="{{img}}"
src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="
alt=""/>
</a>
<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="{{# success}}trial-time-success{{/ success}}{{# fail}}trial-time-fail{{/ fail}}{{# ing}}trial-time-ing{{/ ing}}">
<span>申请时间:{{timeStart}}</span>
</time>
<div class="apply-status">
{{# success}}申请成功{{/ success}}{{# fail}}审核未通过{{/ fail}}{{# ing}}申请待审核{{/ ing}}
</div>
<div class="trial-submit">
<a class="apply-detail-link" href="{{applyDetailLink}}">查看详情</a>
</div>
</li>
{{/ trialFail}}
</ul>
{{# trialFailSwitch}}
{{> channel/page320}}
{{/ trialFailSwitch}}
{{^ trialFail}}
<div class="noting-trial-tip">
<p>您还没有申请中的试用品</p>
<b>立即去</b><a href="#">免费申请</a>
</div>
{{/ trialFail}}
</div>
</div>
{{> default/download320}}
<!--trialCat-->
<div id="trial-cat">
<div class="trial-cat-main">
<ul>
<li><span onclick="YOHODCLICK('trial','mobile','')"></span></li>
<li><span onclick="YOHODCLICK('trial','mobile','')"></span></li>
<li><span onclick="YOHODCLICK('trial','mobile','')"></span></li>
</ul>
</div>
</div>
{{> layout/footer320}}
\ No newline at end of file
... ...
{{> 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="{{link}}" target="_blank"
onclick="YOHODCLICK('channel','mobile','content')">
<img class="lazy" 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>
{{/ trialIng}}
</ul>
{{^ trialIng}}
<div class="no-trial">
您没有正在申请的试用品<br />
<span>立即去</span><a href="">免费申请</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" 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="">免费申请</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" 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="">免费申请</a>
</div>
{{/ trialFail}}
</div>
{{# trialFailSwitch}}
{{> channel/trial_pager}}
{{/ trialFailSwitch}}
</div>
</div>
{{> layout/footer_jian}}
\ No newline at end of file
... ...
{{> layout/header_jian}}
<div class="detail-container clearfix">
{{#if trialStep}}
{{> common/trial_step}}
{{/if}}
{{# header}}
{{> detail/detail_title}}
{{/ header}}
<div class="detail-body">
{{# content}}
{{> detail/trail_content}}
{{/ content}}
<form class="review-form" action="">
<h2 class="form-title">试用网站评鉴结果分析</h2>
<div class="final-score form-final">
<h2>总体评价</h2>
{{> common/final_score}}
</div>
{{#if reviewInfo}}
<div class="review-info">
<ul class="clearfix">
{{#each reviewInfo}}
<li>{{@key}}:{{.}}</li>
{{/each}}
</ul>
</div>
{{/if}}
<div class="chart-score clearfix">
<div id="chart"></div>
{{#if detailScore}}
<div class="detail-score">
<ul class="clearfix">
{{#each detailScore}}
<li class="clearfix" score="{{.}}">
<label>{{@key}}</label>
<div class="score-select-wrap clearfix">
<a class="score-select" href="javascript:;"></a>
<a class="score-select" href="javascript:;"></a>
<a class="score-select" href="javascript:;"></a>
<a class="score-select" href="javascript:;"></a>
<a class="score-select" href="javascript:;"></a>
</div>
</li>
{{/each}}
</ul>
</div>
{{/if}}
</div>
<div class="review-class clearfix">
{{#if buyAgain}}
<div class="buy-again review-percent">
<h4>回购评分</h4>
<ul>
{{#each buyAgain}}
<li class="clearfix">
<span>{{text}}</span>
<em percent="{{percent}}"><i></i></em>
<span>{{num}}/{{percent}}</span>
</li>
{{/each}}
</ul>
</div>
{{/if}}
{{#if skin}}
<div class="review-percent">
<h4>参评网友肤质分布</h4>
<ul>
{{#each skin}}
<li class="clearfix">
<span>{{text}}</span>
<em percent="{{percent}}"><i>{{percent}}</i></em>
<span>{{num}}/{{percent}}</span>
</li>
{{/each}}
</ul>
</div>
{{/if}}
{{#if age}}
<div class="review-percent">
<h4>参评网友年龄分布</h4>
<ul>
{{#each skin}}
<li class="clearfix">
<span>{{text}}</span>
<em percent="{{percent}}"><i>{{percent}}</i></em>
<span>{{num}}/{{percent}}</span>
</li>
{{/each}}
</ul>
</div>
{{/if}}
</div>
</form>
{{# trialStatus}}
{{> common/trial_status}}
{{/ trialStatus}}
<div class="review-list-wrap" id="{{id}}">
<h2>试用报告</h2>
<div class="review-list" id="{{id}}">
{{> detail/review_item}}
</div>
<!-- {{#each reviewList}}
<div class="review-item">
<div class="item-top clearfix">
<div class="user-avatar">
<img src="{{avatar}}" alt="">
<i class="{{type}}"></i>
</div>
<div class="user-info">
<p class="info-detail clearfix" class="clearfix">
<span class="name">{{nickname}}</span>
<span>{{isBuy}}&nbsp;/&nbsp;</span>
<span>{{age}}&nbsp;/&nbsp;</span>
<span>{{skin}}&nbsp;/&nbsp;</span>
<span>{{time}}</span>
</p>
<div class="clearfix score-wrap">
<div class="final-score">
<h2>总评星</h2>
{{> common/final_score}}
</div>
{{#if detailScore}}
<div class="detail-score">
<h4>细项评分:</h4>
<ul>
{{#each detailScore}}
<li>{{@key}} {{.}}</li>
{{/each}}
</ul>
{{#if moreDetailScore}}
<div class="more-score">
<a class="more-btn" href="javascript:;">更多</a>
<div class="more-score-list">
<div class="more-score-top"></div>
<div class="more-score-bottom"></div>
<ul>
{{#each moreDetailScore}}
<li>{{@key}} {{.}}</li>
{{/each}}
</ul>
</div>
</div>
{{/if}}
</div>
{{/if}}
</div>
</div>
</div>
<div class="review-content">
<h2>{{title}}</h2>
<div class="min-content">
{{# minContent}}
<div class="text-wrap">
<p>{{text}}<a class="more-content" href="javascript:;">展开</a></p>
</div>
<div class="min-img clearfix">
{{#each imgBox}}
<img src="{{img}}" alt="">
{{/each}}
</div>
{{/ minContent}}
</div>
<div class="normal-content">
{{#each content}}
{{#if img}}
<img src="{{img}}" alt="">
{{/if}}
{{#if text}}
<p>{{text}}</p>
{{/if}}
{{/each}}
</div>
</div>
</div>
{{/each}} -->
<div class="load-more">
<a href="javascript:;"></a>
</div>
</div>
<div class="review-pagination" style="display:none">
{{> channel/pager}}
</div>
</div>
</div>
{{> layout/footer_jian}}
\ No newline at end of file
... ...
{{> layout/writer_header320}}
<div id="wx_pic" style="width:0px; height:0px; overflow:hidden"><img src="{{shareImg}}"/></div>
<div id="trial-detail" class="detail">
{{# detailData}}
<h2 class="share-h2">{{title}}</h2>
<h3 class="share-h3">{{subTitle}}</h3>
<div class="author-channel">
{{# author}}
<p><a class="detail_author" href="{{link}}" target="_blank">Text:&nbsp;{{name}}</a></p>
{{/ author}}
{{# channel}}<a href="{{link}}">{{name}}</a>&nbsp;|&nbsp;{{/ channel}}
{{# twoChannel}}<a href="{{link}}">{{name}}</a>&nbsp;|&nbsp;{{/ twoChannel}}
<span time="{{time}}" class="time-format"></span>
</div>
{{/ detailData}}
<div class="detail-body">
{{# content}}
{{> detail/trail_content}}
{{/ content}}
<form class="review-form" action="">
<h2 class="form-title">试用网站评鉴结果分析</h2>
<div class="chart-score clearfix">
<div class="final-score form-final">
<h2>总体评价</h2>
{{> common/final_score}}
</div>
<div id="chart"></div>
</div>
{{#if reviewInfo}}
<div class="review-info">
<ul class="clearfix">
{{#each reviewInfo}}
<li>{{@key}}:{{.}}</li>
{{/each}}
</ul>
</div>
{{/if}}
{{#if detailScore}}
<div class="detail-score">
<ul class="clearfix">
{{#each detailScore}}
<li class="clearfix" score="{{.}}">
<label>{{@key}}</label>
<div class="score-select-wrap clearfix">
<a class="score-select" href="javascript:;"></a>
<a class="score-select" href="javascript:;"></a>
<a class="score-select" href="javascript:;"></a>
<a class="score-select" href="javascript:;"></a>
<a class="score-select" href="javascript:;"></a>
</div>
</li>
{{/each}}
</ul>
</div>
{{/if}}
<div class="review-class clearfix">
{{#if buyAgain}}
<div class="buy-again review-percent">
<h4>回购评分</h4>
<ul>
{{#each buyAgain}}
<li class="clearfix">
<span>{{text}}</span>
<em percent="{{percent}}"><i></i></em>
<span>{{num}}/{{percent}}</span>
</li>
{{/each}}
</ul>
</div>
{{/if}}
{{#if skin}}
<div class="review-percent">
<h4>参评网友肤质分布</h4>
<ul>
{{#each skin}}
<li class="clearfix">
<span>{{text}}</span>
<em percent="{{percent}}"><i></i></em>
<span>{{num}}/{{percent}}</span>
</li>
{{/each}}
</ul>
</div>
{{/if}}
{{#if age}}
<div class="review-percent">
<h4>参评网友年龄分布</h4>
<ul>
{{#each age}}
<li class="clearfix">
<span>{{text}}</span>
<em percent="{{percent}}"><i></i></em>
<span>{{num}}/{{percent}}</span>
</li>
{{/each}}
</ul>
</div>
{{/if}}
</div>
</form>
{{# trialStatus}}
{{> common/trial_status}}
{{/ trialStatus}}
<div class="review-list-wrap" id="{{id}}">
<h2>试用报告</h2>
<div class="review-list">
{{> detail/review_item320}}
</div>
<!-- {{#each reviewList}}
<div class="review-item">
<div class="item-top clearfix">
<div class="user-avatar">
<img src="{{avatar}}" alt="">
<i class="{{type}}"></i>
</div>
<div class="user-info clearfix">
<span class="name">{{nickname}}</span>
<p class="clearfix">
<span>{{isBuy}}&nbsp;/&nbsp;</span>
<span>{{age}}&nbsp;/&nbsp;</span>
<span>{{skin}}&nbsp;/&nbsp;</span>
<span>{{time}}</span>
</p>
</div>
</div>
<div class="review-content">
<h2>{{title}}</h2>
<div class="min-content">
{{# minContent}}
<div class="text-wrap">
<p>{{text}}<a class="more-content" href="javascript:;">展开</a></p>
</div>
<div class="min-img clearfix">
{{#each imgBox}}
<img src="{{img}}" alt="">
{{/each}}
</div>
{{/ minContent}}
</div>
<div class="normal-content">
{{#each content}}
{{#if img}}
<img src="{{img}}" alt="">
{{/if}}
{{#if text}}
<p>{{text}}</p>
{{/if}}
{{/each}}
</div>
</div>
<div class="score-wrap clearfix">
{{#if detailScore}}
<div class="detail-score">
<h4>细项评分:</h4>
<ul class="clearfix">
{{#each detailScore}}
<li>{{@key}} {{.}}</li>
{{/each}}
<li class="more-score-btn">
<span class="show-icon iconfont">更多&#xe604;</span>
<span class="put-away iconfont">收起&#xe603;</span>
</li>
</ul>
</div>
{{/if}}
<div class="final-score">
<h2>总评星</h2>
{{> common/final_score}}
</div>
</div>
</div>
{{/each}} -->
<div class="load-more">
<a href="javascript:;"></a>
</div>
</div>
</div>
</div>
{{> layout/footer320}}
\ No newline at end of file
... ...
{{> layout/header_jian}}
<div class="detail-container clearfix">
{{#if trialStep}}
{{> common/trial_step}}
{{/if}}
{{# header}}
{{> detail/detail_title}}
{{/ header}}
<div class="detail-body">
{{# content}}
{{> detail/trail_content}}
{{/ content}}
{{# trialStatus}}
{{> common/trial_status}}
{{/ trialStatus}}
{{#unless toolTip}}
{{> detail/application_form}}
{{/unless}}
{{> detail/tooltip}}
</div>
</div>
{{> common/share}}
{{> layout/footer_jian}}
\ No newline at end of file
... ...
{{> layout/writer_header320}}
<div id="wx_pic" style="width:0px; height:0px; overflow:hidden"><img src="{{shareImg}}"/></div>
<div id="trial-detail" class="detail">
{{# detailData}}
<h2 class="share-h2">{{title}}</h2>
<h3 class="share-h3">{{subTitle}}</h3>
<div class="author-channel">
{{# author}}
<p><a class="detail_author" href="{{link}}" target="_blank">Text:&nbsp;{{name}}</a></p>
{{/ author}}
{{# channel}}<a href="{{link}}">{{name}}</a>&nbsp;|&nbsp;{{/ channel}}
{{# twoChannel}}<a href="{{link}}">{{name}}</a>&nbsp;|&nbsp;{{/ twoChannel}}
<span time="{{time}}" class="time-format"></span>
</div>
{{/ detailData}}
<div class="detail-body">
{{# content}}
{{> detail/trail_content}}
{{/ content}}
{{# trialStatus}}
{{> common/trial_status}}
{{/ trialStatus}}
{{#if formTip}}
{{> detail/application_form}}
{{/if}}
{{> detail/tooltip}}
</div>
</div>
{{> layout/footer320}}
... ...
<div class="pager-content">
<div class="channel-index-pager pager-channel-{{channel}}">
{{# pager}}
<a class="pager-item {{# isChoosen}} pager-item-choosen{{/ isChoosen}}" href="{{link}}" onclick="YOHODCLICK('pager','web','pagerContentChannel')">{{text}}</a>
{{/ pager}}
</div>
</div>
\ No newline at end of file
... ...
{{# devEnvironment}}
<link rel="stylesheet" type="text/css" href="http://cmsres.dev.yoho.cn/dist/mobile.css"/>
<link rel="stylesheet" type="text/css" href="http://localhost:8000/assets/css/mobile.css"/>
<!-- <link rel="stylesheet" type="text/css" href="http://cmsres.dev.yoho.cn/assets/css/mobile.css"/> -->
{{/ devEnvironment}}
{{# testEnvironment}}
<link rel="stylesheet" type="text/css" href="http://cmsres.test.yoho.cn/res/new/girls/css/mobile.css"/>
... ...
{{# devEnvironment}}
<script src="http://cmsres.dev.yoho.cn/js/lib/sea-debug.js?nowrap"></script>
<script src="http://localhost:8000/js/lib/sea-debug.js?nowrap"></script>
{{/ devEnvironment}}
{{# testEnvironment}}
<script type="text/javascript" src="http://cmsres.test.yoho.cn/res/new/girls/js/util/seajs_test.js"></script>
... ...
... ... @@ -9,5 +9,4 @@
{{/ prevEnvironment}}
{{# prodEnvironment}}
<link rel="stylesheet" type="text/css" href="http://cdn.yoho.cn/yohogirls-frontend-web/0.0.1/girls.css"/>
{{/ prodEnvironment}}
{{/ prodEnvironment}}
\ No newline at end of file
... ...
<div class="score-content clearfix">
<span class="score-num"><em>{{score}}</em>/5分</span>
<ul class="star-list clearfix" score="{{score}}">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<span class="star-evaluate"></span>
</div>
\ No newline at end of file
... ...
... ... @@ -31,3 +31,13 @@
{{# writer}}
{{> script/writer}}
{{/ writer}}
{{# publish}}
{{> script/publish}}
{{/ publish}}
{{# review}}
{{> script/review}}
{{/ review}}
{{# detailTrial}}
{{> script/detail_trial}}
{{/ detailTrial}}
\ No newline at end of file
... ...
... ... @@ -24,7 +24,7 @@
{{# writer}}
<script type="text/javascript">
seajs.use(["js/channel/edit"], function(edit){
seajs.use(["js/channel/edit"], function (edit) {
edit.init();
});
... ... @@ -45,4 +45,16 @@
feedback.init();
});
</script>
{{/ about}}
\ No newline at end of file
{{/ about}}
{{# detailTrial}}
<script type="text/javascript">
seajs.use(['js/channel/detail-trial']);
</script>
{{/ detailTrial}}
{{# review}}
<script type="text/javascript">
seajs.use(['js/channel/review']);
</script>
{{/ review}}
\ No newline at end of file
... ...
<div class="trial-status clearfix">
{{#if passCheck}}
<p class="pass-tip">您已经通过审核,发点试用心得吧~</p>
{{/if}}
{{#if publishUrl}}
<a class="end-btn" href="javascript:;">活动已结束</a>
{{/if}}
{{# like}}
<a class="user-like" href="javascript:;">
<span class="iconfont">&#xe600;</span>
<b class="like-num {{# isLike}}apply-dislike{{/ isLike}}">{{#if num}}{{num}}{{/if}}</b>
</a>
{{/ like}}
{{#if publishUrl}}
<a class="publish-btn" href="{{publishUrl}}">发试用心得</a>
{{/if}}
</div>
\ No newline at end of file
... ...
<div class="trial-step">
<ul class="clearfix">
{{#each trialStep}}
<li class="{{# current}}current{{/ current}} {{#if @last}}last-step{{/if}}">
<span>Step{{step}}:</span>
<em>{{textCn}}</em>
</li>
{{/each}}
</ul>
</div>
\ No newline at end of file
... ...
<div class="application-form">
<div class="application-tips">
<h2>TIPS</h2>
<p>{{formTip}}</p>
</div>
<div class="form">
{{# form}}
<form id="application-form" c-id="{{id}}" action="" onsubmit="return false;">
<p class="clearfix">
<label for="user-name">姓名:</label>
<input id="userName" name="userName" class="char required" type="text" value="{{name}}">
</p>
<p class="clearfix">
<label for="user-tell">手机:</label>
<input id="userTell" name="userTell" class="char required" type="text" value="{{tell}}">
<i class="verification-btn">获取验证码</i>
</p>
<p class="clearfix">
<label for="user-verification">验证码:</label>
<input id="userVerification" name="verification" class="char" type="text">
<i class="verification-icon">验证码错误</i>
</p>
<p class="address-char clearfix">
<label for="user-address">地址:</label>
<span id="userAddress" class="varchar" contentEditable="true">{{address}}</span>
</p>
<p class="clearfix">
<label for="user-age">年龄:</label>
<input id="userAge" name="age" class="char required" type="text" value="{{age}}">
</p>
<p class="gender-select clearfix">
<label>性别:</label>
<!-- <span class="select-item clearfix">
<input id="genderMale" class="gender radio" name="user-gender" type="radio" value="男" {{#if male}}checked{{/if}}>
<label class="radio-label {{#if male}}current{{/if}}" for="genderMale">男</label>
</span>
<span class="select-item clearfix">
<input id="genderFemale" class="gender radio" name="user-gender" type="radio" value="女">
<label class="radio-label {{#if female}}current{{/if}}" for="genderFemale">女</label>
</span> -->
{{#each gender}}
<span class="select-item clearfix">
<input id="gender{{@index}}" class="gender radio" name="user-gender" type="radio" value="{{value}}" {{#if default}}checked{{/if}}>
<label class="radio-label {{#if default}}current{{/if}}" for="gender{{@index}}">{{value}}</label>
</span>
{{/each}}
</p>
<p class="skin-select clearfix">
<label>肤质:</label>
<!-- <span class="select-item clearfix">
<input id="skin1" class="radio checked" name="user-skin" type="radio" value="中性" checked>
<label class="radio-label radio-long-label current" for="skin1">中性</label>
</span>
<span class="select-item clearfix">
<input id="skin2" class="radio" name="user-skin" type="radio" value="干性">
<label class="radio-label radio-long-label" for="skin2">干性</label>
</span>
<span class="select-item clearfix">
<input id="skin3" class="radio" name="user-skin" type="radio" value="油性">
<label class="radio-label radio-long-label" for="skin3">油性</label>
</span>
<span class="select-item clearfix">
<input id="skin4" class="radio" name="user-skin" type="radio" value="混合">
<label class="radio-label radio-long-label" for="skin4">混合</label>
</span>
<span class="select-item clearfix">
<input id="skin5" class="radio" name="user-skin" type="radio" value="敏感">
<label class="radio-label radio-long-label" for="skin5">敏感</label>
</span> -->
{{#each skin}}
<span class="select-item clearfix">
<input id="skin{{@index}}" class="radio" name="user-skin" type="radio" value="{{text}}" {{#if default}}checked{{/if}}>
<label class="radio-label radio-long-label {{#if default}}current{{/if}}" for="skin{{@index}}">{{text}}</label>
</span>
{{/each}}
</p>
<p class="clearfix">
<label>您的问题</label>
</p>
<p class="trouble-wrap clearfix">
<!-- <span class="select-item clearfix">
<input id="trouble1" class="checkbox" name="user-trouble" type="checkbox" value="干燥">
<em></em>
<label class="checkbox-label" for="trouble1">干燥</label>
</span>
<span class="select-item clearfix">
<input id="trouble2" class="checkbox" name="user-trouble" type="checkbox" value="过敏">
<em></em>
<label class="checkbox-label" for="trouble2">过敏</label>
</span>
<span class="select-item clearfix">
<input id="trouble3" class="checkbox" name="user-trouble" type="checkbox" value="松弛">
<em></em>
<label class="checkbox-label" for="trouble3">松弛</label>
</span>
<span class="select-item clearfix">
<input id="trouble4" class="checkbox" name="user-trouble" type="checkbox" value="细纹">
<em></em>
<label class="checkbox-label" for="trouble4">细纹</label>
</span>
<span class="select-item clearfix">
<input id="trouble5" class="checkbox" name="user-trouble" type="checkbox" value="出油">
<em></em>
<label class="checkbox-label" for="trouble5">出油</label>
</span>
<span class="select-item clearfix">
<input id="trouble6" class="checkbox" name="user-trouble" type="checkbox" value="痘痘">
<em></em>
<label class="checkbox-label" for="trouble6">痘痘</label>
</span>
<span class="select-item clearfix">
<input id="trouble7" class="checkbox" name="user-trouble" type="checkbox" value="红血丝">
<em></em>
<label class="checkbox-label" for="trouble7">红血丝</label>
</span>
<span class="select-item clearfix">
<input id="trouble8" class="checkbox" name="user-trouble" type="checkbox" value="色斑">
<em></em>
<label class="checkbox-label" for="trouble8">色斑</label>
</span>
<span class="select-item clearfix">
<input id="trouble9" class="checkbox" name="user-trouble" type="checkbox" value="肤色不均">
<em></em>
<label class="checkbox-label" for="trouble9">肤色不均</label>
</span> -->
{{#each problem}}
<span class="select-item clearfix">
<input id="trouble{{@index}}" class="checkbox" name="user-trouble" type="checkbox" value="{{text}}" {{#if default}}checked{{/if}}>
<em class="{{#if default}}current{{/if}}"></em>
<label class="checkbox-label" for="trouble{{@index}}">{{text}}</label>
</span>
{{/each}}
</p>
<div class="application-reason" contentEditable="true">
{{# reason}}
{{.}}
{{/ reason}}
{{^ reason}}
<span class="placeholder">你可以从肌肤现有问题,钟爱哪些产品等方面提交申请理由</span>
{{/ reason}}
</div>
<p class="clearfix">
<input id="submit-btn" class="submit-btn" type="submit" value="免费申请">
</p>
</form>
{{/ form}}
</div>
</div>
\ No newline at end of file
... ...
<div class="detail-side">
{{# ad}}
<div class="detail-ad">
<a href="{{url}}" target="_blank" onclick="YOHODCLICK('detail','web','rightBannerHK')"><img src="{{src}}" alt="{{alt}}"></a>
</div>
{{/ ad}}
{{> detail/detail_side_download}}
{{> detail/detail_side_focus}}
{{> detail/detail_side_video}}
... ...
<script id="review-list-template" type="text/x-handlebars-template">
\{{#each reviewList}}
<div class="review-item">
<div class="item-top clearfix">
<div class="user-avatar">
<img src="\{{titlePic}}" alt="">
<i class="\{{partnerType}}"></i>
</div>
<div class="user-info">
<p class="info-detail clearfix" class="clearfix">
<span class="name">\{{nick}}</span>
<span>\{{buyAgain}}&nbsp;/&nbsp;</span>
<span>\{{age}}&nbsp;/&nbsp;</span>
<span>\{{skin}}&nbsp;/&nbsp;</span>
<span>\{{update_time}}</span>
</p>
<div class="clearfix score-wrap">
<div class="final-score">
<h2>总评星</h2>
{{> common/final_score}}
</div>
\{{#if sub}}
<div class="detail-score">
<h4>细项评分:</h4>
<ul>
\{{#each sub}}
<li>\{{aName}} \{{t_score}}</li>
\{{/each}}
</ul>
<div class="more-score">
<a class="more-btn" href="javascript:;">更多</a>
<div class="more-score-list">
<div class="more-score-top"></div>
<div class="more-score-bottom"></div>
<ul>
\{{#each sub}}
<li>\{{aName}} \{{t_score}}</li>
\{{/each}}
</ul>
</div>
</div>
</div>
\{{/if}}
</div>
</div>
</div>
<div class="review-content">
<h2>\{{title}}</h2>
<div class="min-content">
<div class="text-wrap">
<p>\{{summary}}<a class="more-content" href="javascript:;">展开</a></p>
</div>
\{{#if pics}}
<div class="min-img clearfix">
\{{#each pics}}
<img src="\{{.}}" alt="">
\{{/each}}
</div>
\{{/if}}
</div>
<div class="normal-content">
\{{{content}}}
</div>
</div>
</div>
\{{/each}}
</script>
\ No newline at end of file
... ...
<script id="review-list-template" type="text/x-handlebars-template">
\{{#each reviewList}}
<div class="review-item">
<div class="item-top clearfix">
<div class="user-avatar">
<img src="\{{titlePic}}" alt="">
<i class="\{{partnerType}}"></i>
</div>
<div class="user-info clearfix">
<span class="name">\{{nick}}</span>
<p class="clearfix">
<span>\{{buyAgain}}&nbsp;/&nbsp;</span>
<span>\{{age}}&nbsp;/&nbsp;</span>
<span>\{{skin}}&nbsp;/&nbsp;</span>
<span>\{{update_time}}</span>
</p>
</div>
</div>
<div class="review-content">
<h2>\{{title}}</h2>
<div class="min-content">
<div class="text-wrap">
<p>\{{summary}}<a class="more-content" href="javascript:;">展开</a></p>
</div>
\{{#if pics}}
<div class="min-img clearfix">
\{{#each pics}}
<img src="\{{.}}" alt="">
\{{/each}}
</div>
\{{/if}}
</div>
<div class="normal-content">
\{{{content}}}
</div>
</div>
<div class="score-wrap clearfix">
\{{#if sub}}
<div class="detail-score">
<h4>细项评分:</h4>
<ul class="clearfix">
\{{#each sub}}
<li>\{{aName}} \{{t_score}}</li>
\{{/each}}
<li class="more-score-btn">
<span class="show-icon iconfont">更多&#xe604;</span>
<span class="put-away iconfont">收起&#xe603;</span>
</li>
</ul>
</div>
\{{/if}}
<div class="final-score">
<h2>总评星</h2>
{{> common/final_score}}
</div>
</div>
</div>
\{{/each}}
</script>
\ No newline at end of file
... ...
{{^ toolTip}}
<div class="tooltip" style="display:none;">
<p class="trial-tip">恭喜您申请提交成功!</p>
<p>请耐心等待系统审核</p>
<p>我们会短信通知您申请结果</p>
</div>
{{/ toolTip}}
{{# toolTip}}
<div class="tooltip">
<p class="trial-tip">{{title}}</p>
<p>{{content}}</p>
</div>
{{/ toolTip}}
\ No newline at end of file
... ...
<div class="trail-content">
<div class="cover-img">
{{# bigImg}}
<img src="{{.}}" alt="">
{{/ bigImg}}
</div>
<div class="main-content">
{{{mainHtml}}}
</div>
</div>
\ No newline at end of file
... ...
<script type="text/javascript" charset="utf-8">
//详情页面JS
seajs.use(['js/channel/detail-trial', 'js/public']);
</script>
\ No newline at end of file
... ...
<script type="text/javascript" charset="utf-8">
seajs.use(['js/channel/publish', 'js/public'], function() {});
</script>
\ No newline at end of file
... ...
<script type="text/javascript" charset="utf-8">
seajs.use(['js/channel/review', 'js/public'], function() {});
</script>
\ No newline at end of file
... ...