From a019ac275d4e229fc37a29ddb0b666fbb5bb52c1 Mon Sep 17 00:00:00 2001 From: YunaiV <> Date: Wed, 27 Mar 2019 00:24:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=20mobile=20=EF=BC=9A?= =?UTF-8?q?=E5=95=86=E5=93=81=20H5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile-web/src/api/product.js | 10 + mobile-web/src/page/product/detail.vue | 378 +++++++++++++++---------- 2 files changed, 238 insertions(+), 150 deletions(-) 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 @@
图文详情
- +