Authored by 梁志锋

update

@@ -87,132 +87,7 @@ @@ -87,132 +87,7 @@
87 87
88 <div class="gap-block"></div> 88 <div class="gap-block"></div>
89 89
90 - {{#goodsDescription}}  
91 - <div class="goods-desc page-block">  
92 - <img class="service lazy" data-original="http://static.dev.yohobuy.com/img/product/service.png" alt="">  
93 - <h1 class="title">  
94 - {{title}}  
95 - <span class="en-title">{{enTitle}}</span>  
96 - </h1>  
97 - {{#detail}}  
98 - <ul class="detail table clearfix">  
99 - {{# list}}  
100 - <li class="row">  
101 - <div class="column">{{param}}</div>  
102 - </li>  
103 - {{/ list}}  
104 - </ul>  
105 - {{/detail}}  
106 - <div class="desc-text">{{desc}}</div>  
107 - </div>  
108 - {{/goodsDescription}}  
109 -  
110 - <div class="gap-block"></div>  
111 -  
112 - {{#sizeInfo}}  
113 - <div class="size-info page-block">  
114 - <h1 class="title">  
115 - {{title}}  
116 - <span class="en-title">{{enTitle}}</span>  
117 - </h1>  
118 - {{#detail}}  
119 - <div class="detail">  
120 - <div class="swiper-container detail-swiper" id="size-swiper-container">  
121 - <div class="swiper-wrapper">  
122 - {{#list}}  
123 - <div class="swiper-slide " >  
124 - {{#params}}  
125 - <div class="cell">{{param}}</div>  
126 - {{/params}}  
127 - </div>  
128 - {{/list}}  
129 - </div>  
130 - </div>  
131 - <p class="tips">提示:左滑查看完整表格信息</p>  
132 - </div>  
133 - {{/detail}}  
134 - </div>  
135 - {{/sizeInfo}}  
136 -  
137 - <div class="gap-block"></div>  
138 -  
139 - {{#measurementMethod}}  
140 - <div class="measurement-method page-block">  
141 - <h1 class="title">  
142 - {{title}}  
143 - <span class="en-title">{{enTitle}}</span>  
144 - </h1>  
145 - <div class="detail" style="width:100%">  
146 - <img class="lazy" data-original="{{img}}" alt="">  
147 - </div>  
148 - {{/measurementMethod}}  
149 -  
150 - <div class="gap-block"></div>  
151 -  
152 - {{#reference}}  
153 - <div class="size-info page-block">  
154 - <h1 class="title">  
155 - {{title}}  
156 - <span class="en-title">{{enTitle}}</span>  
157 - </h1>  
158 - {{#detail}}  
159 - <div class="detail">  
160 - <div class="swiper-container detail-swiper" id="reference-swiper-container">  
161 - <div class="swiper-wrapper">  
162 - {{#list}}  
163 - {{#if @first}}  
164 - <div class="swiper-slide first-group" >  
165 - <img class="lazy avatar" data-original="{{firstModel}}" alt="">  
166 - <img class="lazy avatar" data-original="{{secondModel}}" alt="">  
167 - </div>  
168 - {{^}}  
169 - <div class="swiper-slide" >  
170 - <div class="model-field cell">{{fieldName}}</div>  
171 - <div class="first-model cell">{{firstModel}}</div>  
172 - <div class="second-model cell">{{secondModel}}</div>  
173 - </div>  
174 - {{/if}}  
175 - {{/list}}  
176 - </div>  
177 - </div>  
178 - <p class="tips">提示:左滑查看完整表格信息</p>  
179 - </div>  
180 - {{/detail}}  
181 - </div>  
182 - {{/reference}}  
183 -  
184 - <div class="gap-block"></div>  
185 -  
186 - {{#materials}}  
187 - <div class="materials page-block">  
188 - <h1 class="title">  
189 - {{title}}  
190 - <span class="en-title">{{enTitle}}</span>  
191 - </h1>  
192 - <div class="detail">  
193 - <img class="lazy" data-original="{{img}}" alt="">  
194 - <p class="material-desc">  
195 - {{desc}}  
196 - </p>  
197 - </div>  
198 - <img class="lazy material-type" data-original="{{materialType}}" alt="" >  
199 - </div>  
200 - {{/materials}}  
201 -  
202 - <div class="gap-block"></div>  
203 -  
204 - {{#productDetail}}  
205 - <div class="product-detail page-block">  
206 - <h1 class="title">  
207 - {{title}}  
208 - <span class="en-title">{{enTitle}}</span>  
209 - </h1>  
210 - <div class="detail">  
211 - <p>{{desc}}</p>  
212 - <img class="lazy" data-original="{{img}}" alt="">  
213 - </div>  
214 - </div>  
215 - {{/productDetail}} 90 + {{> product/product_description}}
216 91
217 {{#cartInfo}} 92 {{#cartInfo}}
218 <div class="cart-bar"> 93 <div class="cart-bar">
  1 +{{#goodsDescription}}
  2 +<div class="goods-desc page-block">
  3 + <img class="service lazy" data-original="http://static.dev.yohobuy.com/img/product/service.png" alt="">
  4 + <h1 class="title">
  5 + {{title}}
  6 + <span class="en-title">{{enTitle}}</span>
  7 + </h1>
  8 + {{#detail}}
  9 + <ul class="detail table clearfix">
  10 + {{# list}}
  11 + <li class="row">
  12 + <div class="column">{{param}}</div>
  13 + </li>
  14 + {{/ list}}
  15 + </ul>
  16 + {{/detail}}
  17 + <div class="desc-text">{{desc}}</div>
  18 +</div>
  19 + {{/goodsDescription}}
  20 +
  21 +<div class="gap-block"></div>
  22 +
  23 + {{#sizeInfo}}
  24 +<div class="size-info page-block">
  25 +<h1 class="title">
  26 + {{title}}
  27 + <span class="en-title">{{enTitle}}</span>
  28 +</h1>
  29 +{{#detail}}
  30 +<div class="detail">
  31 + <div class="swiper-container detail-swiper" id="size-swiper-container">
  32 + <div class="swiper-wrapper">
  33 + {{#list}}
  34 + <div class="swiper-slide " >
  35 + {{#params}}
  36 + <div class="cell">{{param}}</div>
  37 + {{/params}}
  38 + </div>
  39 + {{/list}}
  40 + </div>
  41 + </div>
  42 + <p class="tips">提示:左滑查看完整表格信息</p>
  43 +</div>
  44 +{{/detail}}
  45 +</div>
  46 + {{/sizeInfo}}
  47 +
  48 +<div class="gap-block"></div>
  49 +
  50 + {{#measurementMethod}}
  51 +<div class="measurement-method page-block">
  52 +<h1 class="title">
  53 + {{title}}
  54 + <span class="en-title">{{enTitle}}</span>
  55 +</h1>
  56 +<div class="detail" style="width:100%">
  57 + <img class="lazy" data-original="{{img}}" alt="">
  58 +</div>
  59 +{{/measurementMethod}}
  60 +
  61 +<div class="gap-block"></div>
  62 +
  63 +{{#reference}}
  64 +<div class="size-info page-block">
  65 + <h1 class="title">
  66 + {{title}}
  67 + <span class="en-title">{{enTitle}}</span>
  68 + </h1>
  69 + {{#detail}}
  70 + <div class="detail">
  71 + <div class="swiper-container detail-swiper" id="reference-swiper-container">
  72 + <div class="swiper-wrapper">
  73 + {{#list}}
  74 + {{#if @first}}
  75 + <div class="swiper-slide first-group" >
  76 + <img class="lazy avatar" data-original="{{firstModel}}" alt="">
  77 + <img class="lazy avatar" data-original="{{secondModel}}" alt="">
  78 + </div>
  79 + {{^}}
  80 + <div class="swiper-slide" >
  81 + <div class="model-field cell">{{fieldName}}</div>
  82 + <div class="first-model cell">{{firstModel}}</div>
  83 + <div class="second-model cell">{{secondModel}}</div>
  84 + </div>
  85 + {{/if}}
  86 + {{/list}}
  87 + </div>
  88 + </div>
  89 + <p class="tips">提示:左滑查看完整表格信息</p>
  90 + </div>
  91 + {{/detail}}
  92 +</div>
  93 +{{/reference}}
  94 +
  95 +<div class="gap-block"></div>
  96 +
  97 +{{#materials}}
  98 +<div class="materials page-block">
  99 + <h1 class="title">
  100 + {{title}}
  101 + <span class="en-title">{{enTitle}}</span>
  102 + </h1>
  103 + <div class="detail">
  104 + <img class="lazy" data-original="{{img}}" alt="">
  105 + <p class="material-desc">
  106 + {{desc}}
  107 + </p>
  108 + </div>
  109 + <img class="lazy material-type" data-original="{{materialType}}" alt="" >
  110 +</div>
  111 +{{/materials}}
  112 +
  113 +<div class="gap-block"></div>
  114 +
  115 +{{#productDetail}}
  116 +<div class="product-detail page-block">
  117 + <h1 class="title">
  118 + {{title}}
  119 + <span class="en-title">{{enTitle}}</span>
  120 + </h1>
  121 + <div class="detail">
  122 + <p>{{desc}}</p>
  123 + <img class="lazy" data-original="{{img}}" alt="">
  124 + </div>
  125 +</div>
  126 +{{/productDetail}}