diff --git a/src/api/goods/index.js b/src/api/goods/index.js index e8dc8bf..1c55d6e 100644 --- a/src/api/goods/index.js +++ b/src/api/goods/index.js @@ -18,7 +18,19 @@ const api = { collector:'/goods/collector', category: '/goods/category', oneShelf:'/goods/oneClickShelf', - oneOffTheShelf:'/goods/oneClickOffTheShelf' + oneOffTheShelf:'/goods/oneClickOffTheShelf', + jingPin:'/goods/jingpin', +} +/** + * 精品 + * @param {*} data + */ + export function jingPin (data) { + return axios({ + url: api.jingPin, + method: 'post', + data: data + }) } /** * 一键上架 diff --git a/src/views/goods/Index.vue b/src/views/goods/Index.vue index 6563528..44454d2 100644 --- a/src/views/goods/Index.vue +++ b/src/views/goods/Index.vue @@ -1,197 +1,360 @@