Authored by lore-w

girl 试用申请、申请成功、申请失败模板

@@ -32,7 +32,7 @@ @@ -32,7 +32,7 @@
32 <span class="trial-time-overplus">距离结束还有{{timeOverplus}}</span> 32 <span class="trial-time-overplus">距离结束还有{{timeOverplus}}</span>
33 </time> 33 </time>
34 <div class="trial-submit {{# over}} trial-over {{/ over}}"> 34 <div class="trial-submit {{# over}} trial-over {{/ over}}">
35 - <a class="apply-link" href="{{applyLink}}">免费申请</a> 35 + <a class="apply-link" href="{{applyLink}}">{{^ over}}免费申请{{/ over}}{{# over}}活动已结束{{/ over}}</a>
36 <span class="apply-like-num iconfont">&#xe600;&nbsp;{{likeNum}}</span> 36 <span class="apply-like-num iconfont">&#xe600;&nbsp;{{likeNum}}</span>
37 </div> 37 </div>
38 </div> 38 </div>
@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
8 {{> channel/banner320}} 8 {{> channel/banner320}}
9 <div class="home-content"> 9 <div class="home-content">
10 <ul> 10 <ul>
11 - {{# content}} 11 + {{# contentCenter}}
12 <li class="content-item channel-{{channelType}} channel-beauty-trial"> 12 <li class="content-item channel-{{channelType}} channel-beauty-trial">
13 <a class="img-link" href="{{link}}" target="_blank" onclick="YOHODCLICK('channel','mobile','content')"> 13 <a class="img-link" href="{{link}}" target="_blank" onclick="YOHODCLICK('channel','mobile','content')">
14 <img class="lazy" data-original="{{img}}" 14 <img class="lazy" data-original="{{img}}"
@@ -39,7 +39,7 @@ @@ -39,7 +39,7 @@
39 <span class="apply-like-num">{{likeNum}}</span> 39 <span class="apply-like-num">{{likeNum}}</span>
40 </div> 40 </div>
41 </li> 41 </li>
42 - {{/ content}} 42 + {{/ contentCenter}}
43 </ul> 43 </ul>
44 {{> channel/page320}} 44 {{> channel/page320}}
45 </div> 45 </div>
@@ -47,7 +47,7 @@ @@ -47,7 +47,7 @@
47 <div class="trial-r-content trial-content"> 47 <div class="trial-r-content trial-content">
48 <div class="home-content"> 48 <div class="home-content">
49 <ul> 49 <ul>
50 - {{# content}} 50 + {{# Mycontent}}
51 <li class="content-item channel-{{channelType}} channel-beauty-trial"> 51 <li class="content-item channel-{{channelType}} channel-beauty-trial">
52 <a class="img-link" href="{{link}}" target="_blank" onclick="YOHODCLICK('channel','mobile','content')"> 52 <a class="img-link" href="{{link}}" target="_blank" onclick="YOHODCLICK('channel','mobile','content')">
53 <img class="lazy" data-original="{{img}}" 53 <img class="lazy" data-original="{{img}}"
@@ -74,7 +74,7 @@ @@ -74,7 +74,7 @@
74 <a class="apply-detail-link" href="{{applyDetailLink}}">查看详情</a> 74 <a class="apply-detail-link" href="{{applyDetailLink}}">查看详情</a>
75 </div> 75 </div>
76 </li> 76 </li>
77 - {{/ content}} 77 + {{/ Mycontent}}
78 </ul> 78 </ul>
79 {{> channel/page320}} 79 {{> channel/page320}}
80 </div> 80 </div>
@@ -12,7 +12,8 @@ @@ -12,7 +12,8 @@
12 <ul> 12 <ul>
13 {{# trialIng}} 13 {{# trialIng}}
14 <li class="content-trial-item channel-{{channelType}} channel-beauty-trial {{# noBorder}} no-border {{/ noBorder}}"> 14 <li class="content-trial-item channel-{{channelType}} channel-beauty-trial {{# noBorder}} no-border {{/ noBorder}}">
15 - <a class="img-link" href="{{link}}" target="_blank" onclick="YOHODCLICK('channel','mobile','content')"> 15 + <a class="img-link" href="{{link}}" target="_blank"
  16 + onclick="YOHODCLICK('channel','mobile','content')">
16 <img class="lazy" data-original="{{img}}" 17 <img class="lazy" data-original="{{img}}"
17 src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" 18 src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="
18 alt=""/> 19 alt=""/>
@@ -43,6 +44,12 @@ @@ -43,6 +44,12 @@
43 </li> 44 </li>
44 {{/ trialIng}} 45 {{/ trialIng}}
45 </ul> 46 </ul>
  47 + {{^ trialIng}}
  48 + <div class="no-trial">
  49 + 您没有正在申请的试用品<br />
  50 + <span>立即去</span><a href="">免费申请</a>
  51 + </div>
  52 + {{/ trialIng}}
46 </div> 53 </div>
47 </div> 54 </div>
48 <div class="trial-tab-content-success"> 55 <div class="trial-tab-content-success">
@@ -50,7 +57,8 @@ @@ -50,7 +57,8 @@
50 <ul> 57 <ul>
51 {{# trialSuccess}} 58 {{# trialSuccess}}
52 <li class="content-trial-item channel-{{channelType}} channel-beauty-trial {{# noBorder}} no-border {{/ noBorder}}"> 59 <li class="content-trial-item channel-{{channelType}} channel-beauty-trial {{# noBorder}} no-border {{/ noBorder}}">
53 - <a class="img-link" href="{{link}}" target="_blank" onclick="YOHODCLICK('channel','mobile','content')"> 60 + <a class="img-link" href="{{link}}" target="_blank"
  61 + onclick="YOHODCLICK('channel','mobile','content')">
54 <img class="lazy" data-original="{{img}}" 62 <img class="lazy" data-original="{{img}}"
55 src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" 63 src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="
56 alt=""/> 64 alt=""/>
@@ -81,6 +89,12 @@ @@ -81,6 +89,12 @@
81 </li> 89 </li>
82 {{/ trialSuccess}} 90 {{/ trialSuccess}}
83 </ul> 91 </ul>
  92 + {{^ trialSuccess}}
  93 + <div class="no-trial">
  94 + 您没有申请成功的试用品<br />
  95 + <span>立即去</span><a href="">免费申请</a>
  96 + </div>
  97 + {{/ trialSuccess}}
84 </div> 98 </div>
85 </div> 99 </div>
86 <div class="trial-tab-content-fail"> 100 <div class="trial-tab-content-fail">
@@ -88,7 +102,8 @@ @@ -88,7 +102,8 @@
88 <ul> 102 <ul>
89 {{# trialFail}} 103 {{# trialFail}}
90 <li class="content-trial-item channel-{{channelType}} channel-beauty-trial {{# noBorder}} no-border {{/ noBorder}}"> 104 <li class="content-trial-item channel-{{channelType}} channel-beauty-trial {{# noBorder}} no-border {{/ noBorder}}">
91 - <a class="img-link" href="{{link}}" target="_blank" onclick="YOHODCLICK('channel','mobile','content')"> 105 + <a class="img-link" href="{{link}}" target="_blank"
  106 + onclick="YOHODCLICK('channel','mobile','content')">
92 <img class="lazy" data-original="{{img}}" 107 <img class="lazy" data-original="{{img}}"
93 src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" 108 src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="
94 alt=""/> 109 alt=""/>
@@ -119,6 +134,12 @@ @@ -119,6 +134,12 @@
119 </li> 134 </li>
120 {{/ trialFail}} 135 {{/ trialFail}}
121 </ul> 136 </ul>
  137 + {{^ trialFail}}
  138 + <div class="no-trial">
  139 + 您没有申请失败的试用品<br />
  140 + <span>立即去</span><a href="">免费申请</a>
  141 + </div>
  142 + {{/ trialFail}}
122 </div> 143 </div>
123 </div> 144 </div>
124 </div> 145 </div>
  1 +{{> layout/writer_header320}}
  2 +
  3 +<div class="trial-l-content trial-content trial-active-content">
  4 + <div class="home-content">
  5 + <ul>
  6 + {{# content}}
  7 + <li class="content-item channel-{{channelType}} channel-beauty-trial">
  8 + <a class="img-link" href="{{link}}" target="_blank" onclick="YOHODCLICK('channel','mobile','content')">
  9 + <img class="lazy" data-original="{{img}}"
  10 + src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="
  11 + alt=""/>
  12 + </a>
  13 +
  14 + <h2>
  15 + <a href="{{link}}" target="_blank" onclick="YOHODCLICK('channel','mobile','content')">{{title}}</a>
  16 + </h2>
  17 +
  18 + <h3>
  19 + <a href="{{link}}" target="_blank"
  20 + onclick="YOHODCLICK('channel','mobile','content')">{{subTitle}}</a>
  21 + </h3>
  22 +
  23 + <div class="trial-product-info">
  24 + <span>价格:{{price}}元&nbsp;/&nbsp;</span>
  25 + <span>规格:{{size}}ml&nbsp;中样&nbsp;/&nbsp;</span>
  26 + <span>数量:{{num}}份</span>
  27 + </div>
  28 + <time class="{{# success}}trial-time-success{{/ success}}{{# fail}}trial-time-fail{{/ fail}}{{# ing}}trial-time-ing{{/ ing}}">
  29 + <span>申请时间:{{timeStart}}——{{timeEnd}}</span>
  30 + <span class="trial-time-overplus">距离结束还有{{timeOverplus}}</span>
  31 + </time>
  32 + <div class="trial-submit">
  33 + <a class="apply-link" href="{{applyLink}}">免费申请</a>
  34 + <span class="apply-like-num">{{likeNum}}</span>
  35 + </div>
  36 + </li>
  37 + {{/ content}}
  38 + </ul>
  39 + {{> channel/page320}}
  40 + </div>
  41 +</div>
  42 +{{> default/download320}}
  43 +<!--trialCat-->
  44 +{{# trialCat}}
  45 +<div id="trial-cat" style="display: block;">
  46 + <div class="trial-cat-main">
  47 + <ul>
  48 + <li><a href="{{ing}}" onclick="YOHODCLICK('trial','mobile','')"></a></li>
  49 + <li><a href="{{success}}" onclick="YOHODCLICK('trial','mobile','')"></a></li>
  50 + <li><a href="{{fail}}" onclick="YOHODCLICK('trial','mobile','')"></a></li>
  51 + </ul>
  52 + </div>
  53 +</div>
  54 +{{/ trialCat}}
  55 +{{> layout/footer320}}