From 5c7faba503b9c7c1a9bc50c7d6ff83fad9e7346f Mon Sep 17 00:00:00 2001 From: fanfan Date: Fri, 13 Sep 2024 20:51:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/goods/index.js | 14 +- src/views/goods/Index.vue | 1564 +++++++++++++++++++++---------------- 2 files changed, 888 insertions(+), 690 deletions(-) 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 @@