Authored by htoooth

refactor

@@ -33,6 +33,7 @@ @@ -33,6 +33,7 @@
33 {{> product/size-desc-list}} 33 {{> product/size-desc-list}}
34 {{> product/reference}} 34 {{> product/reference}}
35 {{> product/model-cards}} 35 {{> product/model-cards}}
  36 + {{> product/fitting-report}}
36 {{> product/introduction}} 37 {{> product/introduction}}
37 {{> product/comment}} 38 {{> product/comment}}
38 {{> product/consult}} 39 {{> product/consult}}
  1 +{{#if fittingReport}}
  2 + <div class="fitting-report info-block">
  3 + <p class="block-title">
  4 + <span class="title cur">试穿报告</span>
  5 + </p>
  6 + {{# fittingReport}}
  7 + {{#if frImg}}
  8 + <div class="fr-img-wrap">
  9 + <img src="{{frImg}}">
  10 + </div>
  11 + {{^}}
  12 + <table class="fitting-report-table">
  13 + <thead>
  14 + <tr>
  15 + {{# thead}}
  16 + <th>{{.}}</th>
  17 + {{/ thead}}
  18 + </tr>
  19 + </thead>
  20 +
  21 + <tbody>
  22 + {{# tbody}}
  23 + <tr>
  24 + {{#each .}}
  25 + <td>{{.}}</td>
  26 + {{/each}}
  27 + </tr>
  28 + {{/ tbody}}
  29 + </tbody>
  30 + </table>
  31 + {{/if}}
  32 + {{/ fittingReport}}
  33 + </div>
  34 +{{/if}}
1 -{{#if modelCards}} 1 +{{# modelCards}}
2 <div class="description-material-tab info-block"> 2 <div class="description-material-tab info-block">
3 <p class="block-title"> 3 <p class="block-title">
4 <span class="title-head"> <span class="title cur">模特信息</span> </span> 4 <span class="title-head"> <span class="title cur">模特信息</span> </span>
5 </p> 5 </p>
6 6
7 <div class="model-content"> 7 <div class="model-content">
8 - {{# modelCards}}  
9 <div class="model-cards-wrapper info-block"> 8 <div class="model-cards-wrapper info-block">
10 </div> 9 </div>
11 - {{/ modelCards}}  
12 -  
13 - {{#if fittingReport}}  
14 - <div class="fitting-report info-block">  
15 - <p class="block-title">  
16 - <span class="title cur">试穿报告 FITTING REPORT</span>  
17 - </p>  
18 - {{# fittingReport}}  
19 - {{#if frImg}}  
20 - <div class="fr-img-wrap">  
21 - <img src="{{frImg}}">  
22 - </div>  
23 - {{^}}  
24 - <table class="fitting-report-table">  
25 - <thead>  
26 - <tr>  
27 - {{# thead}}  
28 - <th>{{.}}</th>  
29 - {{/ thead}}  
30 - </tr>  
31 - </thead>  
32 -  
33 - <tbody>  
34 - {{# tbody}}  
35 - <tr>  
36 - {{#each .}}  
37 - <td>{{.}}</td>  
38 - {{/each}}  
39 - </tr>  
40 - {{/ tbody}}  
41 - </tbody>  
42 - </table>  
43 - {{/if}}  
44 - {{/ fittingReport}}  
45 - </div>  
46 - {{/if}}  
47 </div> 10 </div>
48 </div> 11 </div>
49 -{{/if}} 12 +{{/ modelCards}}
@@ -17,13 +17,13 @@ module.exports = { @@ -17,13 +17,13 @@ module.exports = {
17 cookieDomain: '.yohobuy.com', 17 cookieDomain: '.yohobuy.com',
18 domains: { 18 domains: {
19 // test3 19 // test3
20 - //singleApi: 'http://api-test3.yohops.com:9999/',  
21 - //api: 'http://api-test3.yohops.com:9999/',  
22 - //service: 'http://service-test3.yohops.com:9999/', 20 + singleApi: 'http://api-test3.yohops.com:9999/',
  21 + api: 'http://api-test3.yohops.com:9999/',
  22 + service: 'http://service-test3.yohops.com:9999/',
23 23
24 - singleApi: 'http://single.gray.yohops.com/',  
25 - api: 'http://api.yoho.cn/',  
26 - service: 'http://service.yoho.cn/', 24 + //singleApi: 'http://single.gray.yohops.com/',
  25 + //api: 'http://api.yoho.cn/',
  26 + //service: 'http://service.yoho.cn/',
27 27
28 //api: 'http://dev-api.yohops.com:9999/', 28 //api: 'http://dev-api.yohops.com:9999/',
29 //service: 'http://dev-service.yohops.com:9999/', 29 //service: 'http://dev-service.yohops.com:9999/',