Commit 4d824c8a authored by zhanglw's avatar zhanglw

首页供应商

parent 820e833d
...@@ -434,6 +434,13 @@ export const HttpReq = { ...@@ -434,6 +434,13 @@ export const HttpReq = {
method: 'get' method: 'get'
}) })
}, },
// 首页-产品板块
homePageGetProduct: function(params) {
return request({
url: '/api/bsw/bigScreen/index/product?' + qs.stringify(params, { indices: false }),
method: 'get'
})
},
id: null id: null
} }
} }
......
...@@ -317,6 +317,11 @@ export default { ...@@ -317,6 +317,11 @@ export default {
methods: { methods: {
onDictReady(dict) { onDictReady(dict) {
this.currentProductTypeObj = dict.product_type[0] this.currentProductTypeObj = dict.product_type[0]
HttpReq.webClientApi.homePageGetProduct({
preview: false
}).then((res) => {
this.showcaseProducts = res.data.showcaseProducts
})
}, },
// 变更产品推送 // 变更产品推送
changeProductPush(item) { changeProductPush(item) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment