diff --git a/mobile-web/src/api/product.js b/mobile-web/src/api/product.js index 22e77135e..cc9146a60 100644 --- a/mobile-web/src/api/product.js +++ b/mobile-web/src/api/product.js @@ -20,4 +20,14 @@ export function getProductSpuPage(cid, pageNo, pageSize) { pageSize: pageSize || 10, } }); +} + +export function getProductSpuInfo(id) { + return request({ + url: 'product-api/users/spu/info', + method: 'get', + params: { + id, + } + }); } \ No newline at end of file diff --git a/mobile-web/src/page/product/detail.vue b/mobile-web/src/page/product/detail.vue index 0c43305a1..7807772c3 100644 --- a/mobile-web/src/page/product/detail.vue +++ b/mobile-web/src/page/product/detail.vue @@ -2,63 +2,64 @@
- + - {{ formatPrice(goods.price) }} - {{ formatPrice(goods.market_price) }} -
{{ goods.title }}
-
{{goods.subtitle}}
+ {{ formatPrice(initialSku.price) }} + +
{{ spu.name }}
+
{{spu.sellPoint}}
- - - + + + + + + + + + + + + + + + + + +
- - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -66,7 +67,7 @@

图文详情

-
+
@@ -83,88 +84,89 @@ 立即购买 - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +