From 39acdfa7a4ea0c5dffb6ce4b0c016221ba9eeec8 Mon Sep 17 00:00:00 2001 From: fanfan Date: Sat, 9 Mar 2024 09:36:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B4=B0=E7=AF=80=E4=BF=AE=E6=94=B9=20=20?= =?UTF-8?q?=E4=B8=80=E9=94=AE=E4=B8=8A=E6=9E=B6=E7=9A=84=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/newFun.js | 11 + pages.json | 7 + pages/news/coupon/index.vue | 2 +- pages/news/goods/addOneGround.vue | 571 +++++++++++++++++ pages/news/goods/components/category.vue | 207 +++++++ pages/news/goods/oneGrounding.vue | 756 ++++------------------- pages/news3/shopDealerOrder.vue | 6 +- 7 files changed, 904 insertions(+), 656 deletions(-) create mode 100644 pages/news/goods/addOneGround.vue create mode 100644 pages/news/goods/components/category.vue diff --git a/api/newFun.js b/api/newFun.js index 322de3e..cd26da2 100644 --- a/api/newFun.js +++ b/api/newFun.js @@ -240,4 +240,15 @@ export const editStore = (param) => { // 会员分类xiangqing export const storeData = (param) => { return request.get('store/data', param) +} +// 一键新增 +export const collectorList = (param) => { + return request.post('goods.collector/list', param) +} +export const editCollector = (param) => { + return request.post('goods.collector/batch', param) +} +// 运费模版 +export const deliveryall = (param) => { + return request.post('setting/deliveryall', param) } \ No newline at end of file diff --git a/pages.json b/pages.json index b8a9e08..89ad462 100644 --- a/pages.json +++ b/pages.json @@ -517,6 +517,13 @@ }, { "path": "goods/oneGrounding", + "style": { + "navigationBarTitleText": "采集列表", + "enablePullDownRefresh": false + } + }, + { + "path": "goods/addOneGround", "style": { "navigationBarTitleText": "一键上架", "enablePullDownRefresh": false diff --git a/pages/news/coupon/index.vue b/pages/news/coupon/index.vue index 2c60d2d..97ae663 100644 --- a/pages/news/coupon/index.vue +++ b/pages/news/coupon/index.vue @@ -81,7 +81,7 @@ }) .then(res => { that.$toast(res.message) - this.getCoupon() + that.getCoupon(that.tabIndex) }) .finally(() => that.isLoading = false) }, diff --git a/pages/news/goods/addOneGround.vue b/pages/news/goods/addOneGround.vue new file mode 100644 index 0000000..c03a288 --- /dev/null +++ b/pages/news/goods/addOneGround.vue @@ -0,0 +1,571 @@ + + + + + diff --git a/pages/news/goods/components/category.vue b/pages/news/goods/components/category.vue new file mode 100644 index 0000000..5ca5b5b --- /dev/null +++ b/pages/news/goods/components/category.vue @@ -0,0 +1,207 @@ + + + + + diff --git a/pages/news/goods/oneGrounding.vue b/pages/news/goods/oneGrounding.vue index 9146211..b2c739d 100644 --- a/pages/news/goods/oneGrounding.vue +++ b/pages/news/goods/oneGrounding.vue @@ -1,695 +1,145 @@ diff --git a/pages/news3/shopDealerOrder.vue b/pages/news3/shopDealerOrder.vue index d23195a..b0a3465 100644 --- a/pages/news3/shopDealerOrder.vue +++ b/pages/news3/shopDealerOrder.vue @@ -381,7 +381,7 @@ min-height: 100%; } -::v-deep .u-empty { + ::v-deep .u-empty { padding: 100rpx 0; } @@ -389,7 +389,7 @@ height: 62rpx !important; line-height: 62rpx !important; background-color: #fff !important; - width: 608rpx !important; + width: 600rpx !important; } .head-info { @@ -401,13 +401,13 @@ justify-content: space-between; position: relative; background-color: #fff !important; + border-radius: 28rpx; ::v-deep .uni-input-placeholder { margin-left: 10upx; z-index: 10; background-color: #fff !important; } - .search { position: absolute; top: 20upx;