From 2fee2114807d03e6976474983ced1c244d8a8e75 Mon Sep 17 00:00:00 2001 From: Enzo <1284707383@qq.com> Date: Fri, 25 Jun 2021 18:48:24 +0800 Subject: [PATCH] =?UTF-8?q?ui=E4=B8=80=E6=AF=94=E4=B8=80=E8=BF=98=E5=8E=9F?= =?UTF-8?q?/=E5=95=86=E6=88=B7=E8=AE=A2=E5=8D=95api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- colorui/main.css | 10 +- common/api.js | 6 + components/self-line/self-line.vue | 4 +- pages.json | 7 + pages/order/apply-details.vue | 50 ++--- pages/order/apply-refund.vue | 50 +++-- pages/order/confirm-order.vue | 7 +- pages/order/index.vue | 37 ++-- pages/order/order-details.vue | 121 +++++++++-- pages/shopOrder/index.vue | 314 +++++++++++++++++++++++++++++ 10 files changed, 523 insertions(+), 83 deletions(-) create mode 100644 pages/shopOrder/index.vue diff --git a/colorui/main.css b/colorui/main.css index b64c335..f22fdef 100644 --- a/colorui/main.css +++ b/colorui/main.css @@ -2934,9 +2934,9 @@ scroll-view.cu-steps .cu-item { } .grid.grid-square>view { - margin-right: 20upx; - margin-bottom: 20upx; - border-radius: 6upx; + margin-right: 18rpx; + /* margin-bottom: 18rpx; */ + border-radius: 10rpx; position: relative; overflow: hidden; } @@ -3328,8 +3328,8 @@ scroll-view.cu-steps .cu-item { } .padding-lr { - padding-left: 30upx; - padding-right: 30upx; + padding-left: 32rpx; + padding-right: 32rpx; } .padding-lr-lg { diff --git a/common/api.js b/common/api.js index f35cd83..43a84dd 100644 --- a/common/api.js +++ b/common/api.js @@ -11,6 +11,9 @@ export const API_GOODS_LIST = '/api/goods/list'; // 首页-分类下商品列表 // 用户订单 export const API_USERORDER = '/api/order/list'; +// 商户订单 +export const API_SHOPORDER = '/api/order/listForStore'; + //订单详情 export const API_ORDER_DETAILS = '/api/order/detail'; @@ -36,6 +39,9 @@ export const API_COLLECT_DEAL = '/api/collect/deal'; // 商品收藏 //订单预支付 export const API_PRPAID = '/api/order/deal' +//订单直接支付 +export const API_PAYMENT_DIRECT = '/api/payment/direct' + /* 个人中心相关 */ export const API_USER_CENTER = '/api/user/center'; // 个人中心 export const API_COLLECT_LIST = '/api/collect/list'; // 我的收藏列表 diff --git a/components/self-line/self-line.vue b/components/self-line/self-line.vue index 8149043..d40dc2b 100644 --- a/components/self-line/self-line.vue +++ b/components/self-line/self-line.vue @@ -7,10 +7,10 @@ diff --git a/pages.json b/pages.json index 1f80e04..b7366cb 100644 --- a/pages.json +++ b/pages.json @@ -17,6 +17,13 @@ "enablePullDownRefresh": true } }, + { + "path": "pages/shopOrder/index", + "style": { + "navigationBarTitleText": "商户订单", + "enablePullDownRefresh": true + } + }, { "path": "pages/order/order-details", "style": { diff --git a/pages/order/apply-details.vue b/pages/order/apply-details.vue index 6fab899..132fdaf 100644 --- a/pages/order/apply-details.vue +++ b/pages/order/apply-details.vue @@ -1,20 +1,19 @@