Authored by lore-w

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

Conflicts:
	partials/common/trial_status.html
... ... @@ -7,7 +7,7 @@
{{# header}}
{{> detail/detail_title}}
{{/ header}}
<div class="detail-body">
<div class="detail-body" id="{{id}}">
{{# content}}
{{> detail/trail_content}}
{{/ content}}
... ... @@ -27,7 +27,10 @@
</div>
{{/if}}
<div class="chart-score clearfix">
<div id="chart"></div>
{{#if chart}}
<div id="chart" {{#each chart}}data-chart{{@key}}="{{.}}"{{/each}}>
</div>
{{/if}}
{{#if detailScore}}
<div class="detail-score">
<ul class="clearfix">
... ... @@ -95,9 +98,12 @@
{{# trialStatus}}
{{> common/trial_status}}
{{/ trialStatus}}
<div class="review-list" id="{{id}}">
<div class="review-list-wrap" id="{{id}}">
<h2>试用报告</h2>
{{#each reviewList}}
<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">
... ... @@ -172,7 +178,7 @@
</div>
</div>
{{/each}}
{{/each}} -->
<div class="load-more">
<a href="javascript:;"></a>
</div>
... ...
... ... @@ -13,7 +13,7 @@
<span time="{{time}}" class="time-format"></span>
</div>
{{/ detailData}}
<div class="detail-body">
<div class="detail-body" id="{{id}}">
{{# content}}
{{> detail/trail_content}}
{{/ content}}
... ... @@ -24,7 +24,7 @@
<h2>总体评价</h2>
{{> common/final_score}}
</div>
<div id="chart"></div>
<div id="chart" {{#each chart}}data-chart{{@key}}="{{.}}"{{/each}}></div>
</div>
{{#if reviewInfo}}
... ... @@ -103,9 +103,12 @@
{{# trialStatus}}
{{> common/trial_status}}
{{/ trialStatus}}
<div class="review-list" id="{{id}}">
<div class="review-list-wrap" id="{{id}}">
<h2>试用报告</h2>
{{#each reviewList}}
<div class="review-list">
{{> detail/review_item320}}
</div>
<!-- {{#each reviewList}}
<div class="review-item">
<div class="item-top clearfix">
<div class="user-avatar">
... ... @@ -163,14 +166,14 @@
</ul>
</div>
{{/if}}
<div class="final-score">
<h2>总评星</h2>
{{> common/final_score}}
</div>
</div>
</div>
{{/each}}
{{/each}} -->
<div class="load-more">
<a href="javascript:;"></a>
</div>
... ...
{{> layout/header_fan}}
<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">
{{#if chart}}
<div id="chart" {{#each chart}}data-chart{{@key}}="{{.}}"{{/each}}>
</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>
<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_hk}}
{{/ trialStatus}}
<div class="review-list-wrap" id="{{id}}">
<h2>試用報告</h2>
<div class="review-list" id="{{id}}">
{{> detail/review_item_hk}}
</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_fan}}
\ No newline at end of file
... ...
{{> layout/writer_header_hk320}}
<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" id="{{id}}">
{{# 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" {{#each chart}}data-chart{{@key}}="{{.}}"{{/each}}></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_hk}}
{{/ trialStatus}}
<div class="review-list-wrap" id="{{id}}">
<h2>試用報告</h2>
<div class="review-list">
{{> detail/review_item_hk320}}
</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/footer_hk320}}
\ No newline at end of file
... ...
... ... @@ -7,7 +7,7 @@
{{# header}}
{{> detail/detail_title}}
{{/ header}}
<div class="detail-body">
<div class="detail-body" id="{{id}}">
{{# content}}
{{> detail/trail_content}}
{{/ content}}
... ...
... ... @@ -13,7 +13,7 @@
<span time="{{time}}" class="time-format"></span>
</div>
{{/ detailData}}
<div class="detail-body">
<div class="detail-body" id="{{id}}">
{{# content}}
{{> detail/trail_content}}
{{/ content}}
... ...
{{> layout/header_fan}}
<div class="detail-container clearfix">
{{#if trialStep}}
{{> common/trial_step}}
{{/if}}
{{# header}}
{{> detail/detail_title}}
{{/ header}}
<div class="detail-body" id="{{id}}">
{{# content}}
{{> detail/trail_content}}
{{/ content}}
{{# trialStatus}}
{{> common/trial_status_hk}}
{{/ trialStatus}}
{{#unless toolTip}}
{{> detail/application_form_hk}}
{{/unless}}
{{> detail/tooltip_hk}}
</div>
</div>
{{> common/share_hk}}
{{> layout/footer_fan}}
\ No newline at end of file
... ...
{{> layout/writer_header_hk320}}
<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" id="{{id}}">
{{# content}}
{{> detail/trail_content}}
{{/ content}}
{{# trialStatus}}
{{> common/trial_status_hk}}
{{/ trialStatus}}
{{#if formTip}}
{{> detail/application_form_hk}}
{{/if}}
{{> detail/tooltip_hk}}
</div>
</div>
{{> layout/footer_hk320}}
... ...
... ... @@ -79,4 +79,52 @@
</div>
{{/ contentWithAll}}
</div>
<div id="div-adv-iframe" style="display:none"></div>
<script type="text/javascript">
function createIframe() {
var i = document.createElement("iframe");
var timestamp = new Date().getTime();
// 0828号10点1440727200000 - 29号10点 1440813600000 GIRL首页焦点图第一帧 曝光代码 #2
if (timestamp > 1440727200000 && timestamp <= 1440813600000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_2.html";
}
// 0829号10点1440813600000 - 30号10点1440900000000 GIRL首页焦点图第一帧 曝光代码 #6
else if (timestamp > 1440813600000 && timestamp <= 1440900000000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_6.html";
}
// 0831号10点1440986400000 - 1号 10点1441072800000 GIRL首页焦点图第一帧 曝光代码 #2
else if (timestamp > 1440986400000 && timestamp <= 1441072800000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_2.html";
}
// 0901号10点1441072800000 - 2号10点 1441159200000 GIRL右侧标识 曝光代码 #4
else if (timestamp > 1441072800000 && timestamp <= 1441159200000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_4.html";
}
// 0902号10点1441159200000 - 3号10点 1441245600000 GIRL首页焦点图第一帧 曝光代码 #6
else if (timestamp > 1441159200000 && timestamp <= 1441245600000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_6.html";
}
// 0907号10点1441591200000 - 8号10点 1441677600000 GIRL首页焦点图第一帧 曝光代码 #2
else if (timestamp > 1441591200000 && timestamp <= 1441677600000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_2.html";
}
// 0909号10点1441764000000 - 10号10点 1441850400000 GIRL首页焦点图第一帧 曝光代码 #6
else if (timestamp > 1441764000000 && timestamp <= 1441850400000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_6.html";
}
// 0911号10点1441936800000 - 12号10点 1442023200000 GIRL首页焦点图第一帧 曝光代码 #6
else if (timestamp > 1441936800000 && timestamp <= 1442023200000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_6.html";
}
i.scrolling="no"; i.frameborder="0"; i.width="0"; i.height="0";
document.getElementById("div-adv-iframe").appendChild(i);
};
if (window.addEventListener) {
window.addEventListener("load", createIframe, false);
} else if (window.attachEvent) {
window.attachEvent("onload", createIframe);
} else {
window.onload = createIframe;
}
</script>
{{> layout/footer_jian}}
... ...
... ... @@ -77,4 +77,52 @@
</div>
{{/ contentWithAll}}
</div>
<div id="div-adv-iframe" style="display:none"></div>
<script type="text/javascript">
function createIframe() {
var i = document.createElement("iframe");
var timestamp = new Date().getTime();
// 0828号10点1440727200000 - 29号10点 1440813600000 GIRL首页焦点图第一帧 曝光代码 #2
if (timestamp > 1440727200000 && timestamp <= 1440813600000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_2.html";
}
// 0829号10点1440813600000 - 30号10点1440900000000 GIRL首页焦点图第一帧 曝光代码 #6
else if (timestamp > 1440813600000 && timestamp <= 1440900000000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_6.html";
}
// 0831号10点1440986400000 - 1号 10点1441072800000 GIRL首页焦点图第一帧 曝光代码 #2
else if (timestamp > 1440986400000 && timestamp <= 1441072800000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_2.html";
}
// 0901号10点1441072800000 - 2号10点 1441159200000 GIRL右侧标识 曝光代码 #4
else if (timestamp > 1441072800000 && timestamp <= 1441159200000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_4.html";
}
// 0902号10点1441159200000 - 3号10点 1441245600000 GIRL首页焦点图第一帧 曝光代码 #6
else if (timestamp > 1441159200000 && timestamp <= 1441245600000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_6.html";
}
// 0907号10点1441591200000 - 8号10点 1441677600000 GIRL首页焦点图第一帧 曝光代码 #2
else if (timestamp > 1441591200000 && timestamp <= 1441677600000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_2.html";
}
// 0909号10点1441764000000 - 10号10点 1441850400000 GIRL首页焦点图第一帧 曝光代码 #6
else if (timestamp > 1441764000000 && timestamp <= 1441850400000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_6.html";
}
// 0911号10点1441936800000 - 12号10点 1442023200000 GIRL首页焦点图第一帧 曝光代码 #6
else if (timestamp > 1441936800000 && timestamp <= 1442023200000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_6.html";
}
i.scrolling="no"; i.frameborder="0"; i.width="0"; i.height="0";
document.getElementById("div-adv-iframe").appendChild(i);
};
if (window.addEventListener) {
window.addEventListener("load", createIframe, false);
} else if (window.attachEvent) {
window.attachEvent("onload", createIframe);
} else {
window.onload = createIframe;
}
</script>
{{> layout/footer_fan}}
... ...
{{> layout/header_jian}}
{{> channel/banner_top}}
<div class="content clearfix">
<div class="content-yohood-left">
{{# contentItem}}
<div class="{{itemPage}} {{# no-border}}content-item-without-border{{/ no-border}}{{^ no-border}}content-item{{/ no-border}} {{# isMid}} content-item-mid{{/ isMid}}">
<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;">
<span class="arrow-bottom girl-channel-arrow{{# channelType}}-{{.}}{{/ channelType}}"></span>
</a>
<a href="{{link}}" style="{{^ isVideo}}display:none;{{/ isVideo}}" target="_blank" class="video-icon"
title="{{alt}}" onclick="YOHODCLICK('channel','web','content')"></a>
</span>
<div class="content-item-main">
<span class="content-item-detail-subchannle" _time="{{time}}">
{{# channel}}
<a href="{{link}}" onclick="YOHODCLICK('channel','web','contentChannel')">{{name}}</a>&nbsp;&nbsp;|&nbsp;
{{/ channel}}
{{# subChannel}}
<a href="{{link}}" onclick="YOHODCLICK('channel','web','contentTwoChannel')">{{name}}</a>&nbsp;&nbsp;|&nbsp;
{{/ subChannel}}
<span></span>
</span>
<a href="{{link}}" target="_blank"
class="content-item-title content-item-detail-title-style content-item-detail-title{{# channelType}}-{{.}}{{/ channelType}}"
_title="{{title}}" _len="{{titleLength}}"
onclick="YOHODCLICK('channel','web','content')">{{title}}</a>
<a href="{{link}}" target="_blank"
class="content-item-subtitle content-item-detail-title-style content-item-detail-subtitle{{# channelType}}-{{.}} content-item-detail-subtitle-style{{/ channelType}}"
_title="{{subtitle}}" _len="{{subtitleLength}}" onclick="YOHODCLICK('channel','web','content')">{{subtitle}}</a>
<a href="{{link}}" target="_blank" class="content-item-detail content-item-detail-detail"
_len="{{detailLength}}" _title="{{detail}}" onclick="YOHODCLICK('channel','web','content')"></a>
</div>
</div>
{{/ contentItem}}
{{#if pager}}
<div class="pager-content-default yohood-none-one">
<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>
{{/if}}
</div>
<div class="content-yohood-right" style="position: relative;">
{{# yohood}}
<div class="advert-without-border">
<a href="{{link}}" target="_blank"><img
src="{{img}}"
alt=""/></a>
</div>
{{/ yohood}}
</div>
</div>
{{> layout/footer_jian}}
\ No newline at end of file
... ...
{{> layout/header320}}
{{> channel/banner320}}
<div class="home-content">
<ul>
{{> channel/content320}}
</ul>
{{> channel/page320}}
</div>
{{> default/download320}}
{{> layout/footer320}}
\ No newline at end of file
... ...
{{> layout/header_fan}}
{{> channel/banner_top}}
<div class="content clearfix">
<div class="content-yohood-left">
{{# contentItem}}
<div class="{{itemPage}} {{# no-border}}content-item-without-border{{/ no-border}}{{^ no-border}}content-item{{/ no-border}} {{# isMid}} content-item-mid{{/ isMid}}">
<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;">
<span class="arrow-bottom girl-channel-arrow{{# channelType}}-{{.}}{{/ channelType}}"></span>
</a>
<a href="{{link}}" style="{{^ isVideo}}display:none;{{/ isVideo}}" target="_blank" class="video-icon"
title="{{alt}}" onclick="YOHODCLICK('channel','web','content')"></a>
</span>
<div class="content-item-main">
<span class="content-item-detail-subchannle" _time="{{time}}">
{{# channel}}
<a href="{{link}}" onclick="YOHODCLICK('channel','web','contentChannel')">{{name}}</a>&nbsp;&nbsp;|&nbsp;
{{/ channel}}
{{# subChannel}}
<a href="{{link}}" onclick="YOHODCLICK('channel','web','contentTwoChannel')">{{name}}</a>&nbsp;&nbsp;|&nbsp;
{{/ subChannel}}
<span></span>
</span>
<a href="{{link}}" target="_blank"
class="content-item-title content-item-detail-title-style content-item-detail-title{{# channelType}}-{{.}}{{/ channelType}}"
_title="{{title}}" _len="{{titleLength}}"
onclick="YOHODCLICK('channel','web','content')">{{title}}</a>
<a href="{{link}}" target="_blank"
class="content-item-subtitle content-item-detail-title-style content-item-detail-subtitle{{# channelType}}-{{.}} content-item-detail-subtitle-style{{/ channelType}}"
_title="{{subtitle}}" _len="{{subtitleLength}}" onclick="YOHODCLICK('channel','web','content')">{{subtitle}}</a>
<a href="{{link}}" target="_blank" class="content-item-detail content-item-detail-detail"
_len="{{detailLength}}" _title="{{detail}}" onclick="YOHODCLICK('channel','web','content')"></a>
</div>
</div>
{{/ contentItem}}
{{#if pager}}
<div class="pager-content-default yohood-none-one">
<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>
{{/if}}
</div>
<div class="content-yohood-right">
{{# yohood}}
<div class="advert-without-border">
<a href="{{link}}" target="_blank"><img
src="{{img}}"
alt=""/></a>
</div>
{{/ yohood}}
</div>
</div>
{{> layout/footer_fan}}
\ No newline at end of file
... ...
{{> layout/header_hk320}}
{{> channel/banner320}}
<div class="home-content">
<ul>
{{> channel/content320}}
</ul>
{{> channel/page320}}
</div>
{{> default/download_hk320}}
{{> layout/footer_hk320}}
\ No newline at end of file
... ...
{{> layout/header_jian}}
{{> channel/banner_top}}
<div class="content clearfix">
<div class="content-yohood-left">
{{# contentItem}}
<div class="{{itemPage}} {{# no-border}}content-item-without-border{{/ no-border}}{{^ no-border}}content-item{{/ no-border}} {{# isMid}} content-item-mid{{/ isMid}}">
<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;">
<span class="arrow-bottom girl-channel-arrow{{# channelType}}-{{.}}{{/ channelType}}"></span>
</a>
<a href="{{link}}" style="{{^ isVideo}}display:none;{{/ isVideo}}" target="_blank" class="video-icon"
title="{{alt}}" onclick="YOHODCLICK('channel','web','content')"></a>
</span>
<div class="content-item-main">
<span class="content-item-detail-subchannle" _time="{{time}}">
{{# channel}}
<a href="{{link}}" onclick="YOHODCLICK('channel','web','contentChannel')">{{name}}</a>&nbsp;&nbsp;|&nbsp;
{{/ channel}}
{{# subChannel}}
<a href="{{link}}" onclick="YOHODCLICK('channel','web','contentTwoChannel')">{{name}}</a>&nbsp;&nbsp;|&nbsp;
{{/ subChannel}}
<span></span>
</span>
<a href="{{link}}" target="_blank"
class="content-item-title content-item-detail-title-style content-item-detail-title{{# channelType}}-{{.}}{{/ channelType}}"
_title="{{title}}" _len="{{titleLength}}"
onclick="YOHODCLICK('channel','web','content')">{{title}}</a>
<a href="{{link}}" target="_blank"
class="content-item-subtitle content-item-detail-title-style content-item-detail-subtitle{{# channelType}}-{{.}} content-item-detail-subtitle-style{{/ channelType}}"
_title="{{subtitle}}" _len="{{subtitleLength}}" onclick="YOHODCLICK('channel','web','content')">{{subtitle}}</a>
<a href="{{link}}" target="_blank" class="content-item-detail content-item-detail-detail"
_len="{{detailLength}}" _title="{{detail}}" onclick="YOHODCLICK('channel','web','content')"></a>
</div>
</div>
{{/ contentItem}}
</div>
<div class="content-yohood-right">
{{# yohood}}
<div class="advert-without-border">
<a href="{{link}}" target="_blank"><img
src="{{img}}"
alt=""/></a>
</div>
{{/ yohood}}
</div>
</div>
{{#if pager}}
<div class="pager-content yohood-none-one">
<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>
{{/if}}
{{> layout/footer_jian}}
\ No newline at end of file
... ...
... ... @@ -2,7 +2,7 @@
{{#if passCheck}}
<p class="pass-tip">您已经通过审核,发点试用心得吧~</p>
{{/if}}
{{#if publishUrl}}
{{#if isEnd}}
<a class="end-btn" href="javascript:;">活动已结束</a>
{{/if}}
{{# like}}
... ... @@ -11,7 +11,4 @@
<b>{{#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-status clearfix">
{{#if passCheck}}
<p class="pass-tip">您已經通過審核,發點試用心得吧~</p>
{{/if}}
{{#if isEnd}}
<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}}">{{num}}</b>
</a>
{{/ like}}
</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>
{{#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>
{{#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">
{{#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
... ...
<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>
<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>
</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>
</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">
\{{reviewContent}}
</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">
\{{reviewContent}}
</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
... ...
<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>
</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">
\{{{reviewContent}}}
</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">
\{{reviewContent}}
</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
... ...
<script type="text/javascript" charset="utf-8">
//详情页面JS
seajs.use(['js/channel/detail-trial', 'js/public']);
seajs.use(['js/public', 'js/channel/detail-trial']);
</script>
\ No newline at end of file
... ...
<script type="text/javascript" charset="utf-8">
seajs.use(['js/channel/review', 'js/public'], function() {});
seajs.use(['js/public','js/channel/review'], function() {});
</script>
\ No newline at end of file
... ...