Authored by Aiden Xu

Merge branch 'feature/product' into develop

@@ -157,6 +157,7 @@ @@ -157,6 +157,7 @@
157 <show-box :is-last="true"> 157 <show-box :is-last="true">
158 <h2>商品详情</h2> 158 <h2>商品详情</h2>
159 <i>DETAILS</i> 159 <i>DETAILS</i>
  160 +
160 <p v-if="entity.brand && entity.brand.brandIntro"> 161 <p v-if="entity.brand && entity.brand.brandIntro">
161 {{{entity.brand.brandIntro}}} 162 {{{entity.brand.brandIntro}}}
162 </p> 163 </p>
@@ -164,11 +165,12 @@ @@ -164,11 +165,12 @@
164 <p v-if="entity.brand && intro.productIntroBo"> 165 <p v-if="entity.brand && intro.productIntroBo">
165 {{{intro.productIntroBo.productIntro}}} 166 {{{intro.productIntroBo.productIntro}}}
166 </p> 167 </p>
  168 +
167 </show-box> 169 </show-box>
168 170
169 <div class="control-box"> 171 <div class="control-box">
170 <button class="button control-button" style="flex: 1"> 172 <button class="button control-button" style="flex: 1">
171 - <a href="javascript:void(0);" @click="yoho.goShopingCart()"> 173 + <a href="javascript:void(0);" @click="yoho.goShopingCart()" style="position: relative;">
172 <i class="icon icon-bag"></i> 174 <i class="icon icon-bag"></i>
173 <span v-if="cartCount > 0" class="badge badge-tr">{{cartCount}}</span> 175 <span v-if="cartCount > 0" class="badge badge-tr">{{cartCount}}</span>
174 </a> 176 </a>
@@ -218,7 +220,6 @@ @@ -218,7 +220,6 @@
218 font-size: 28px; 220 font-size: 28px;
219 color: #b0b0b0; 221 color: #b0b0b0;
220 } 222 }
221 -  
222 } 223 }
223 224
224 .separator { 225 .separator {
@@ -420,7 +421,7 @@ @@ -420,7 +421,7 @@
420 buyNumber: 1 421 buyNumber: 1
421 }).then((result)=> { 422 }).then((result)=> {
422 if (yoho.goShopingKey && result.data.shopping_key) { 423 if (yoho.goShopingKey && result.data.shopping_key) {
423 - yoho.goShopingKey(result.data.shopping_key); 424 + yoho.goShopingKey({shoppingKey: result.data.shopping_key});
424 } 425 }
425 426
426 // TODO: 库存不足 后台暂未实现 427 // TODO: 库存不足 后台暂未实现
@@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
10 border-top: 1px solid #eee; 10 border-top: 1px solid #eee;
11 border-bottom: 1px solid #eee; 11 border-bottom: 1px solid #eee;
12 padding: 30px; 12 padding: 30px;
  13 + word-wrap: break-word;
13 14
14 img { 15 img {
15 max-width: 100%; 16 max-width: 100%;