From 110948e395a4f298f00964da3fac0663ae190e97 Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Fri, 12 Jan 2024 16:20:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=EF=BC=9A=E5=9C=A8=E7=BA=BF?= =?UTF-8?q?=E4=B9=B0=E5=8D=95=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/exchange.js | 9 + pages.json | 30 +- pages/users/online_payment/payment/index.vue | 809 +++++++++++++++++++ 3 files changed, 839 insertions(+), 9 deletions(-) create mode 100644 api/exchange.js create mode 100644 pages/users/online_payment/payment/index.vue diff --git a/api/exchange.js b/api/exchange.js new file mode 100644 index 0000000..b73eab2 --- /dev/null +++ b/api/exchange.js @@ -0,0 +1,9 @@ +import request from "@/utils/request.js"; +// 在线买单 - 获取门店列表 +export function searchMer(data) { + return request.get("onlinePayment/searchMerList",data); +} +// 在线买单 - 发起支付 +export function onlinePayment(data) { + return request.get("onlinePayment/createOrder",data); +} diff --git a/pages.json b/pages.json index 5fcf9e2..1c0b563 100644 --- a/pages.json +++ b/pages.json @@ -15,7 +15,7 @@ "style": { "navigationBarTitleText": "首页", "navigationStyle": "custom", - // #ifdef APP-PLUS + // #ifdef APP-PLUS "enablePullDownRefresh": true, // #endif "app-plus": { @@ -57,7 +57,7 @@ "path": "pages/goods_details/index", "style": { "navigationStyle": "custom" - // #ifdef MP || APP-PLUS + // #ifdef MP || APP-PLUS , "navigationBarBackgroundColor": "#F2F2F2" // #endif @@ -514,13 +514,25 @@ "style": { "navigationBarTitleText": "订单详情" } - }, { + }, + { "path": "privacy/index", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } + }, + { + "path": "online_payment/payment/index", + "style": { + "navigationBarTitleText": "在线买单" + } } + + + + + ] }, { @@ -664,7 +676,7 @@ { "path": "goods_details/index", "style": { - "navigationBarTitleText": "商品详情" + "navigationBarTitleText": "商品详情" } }, { @@ -1066,7 +1078,7 @@ "enablePullDownRefresh": false, //#ifdef APP "path": "appSwiper/index", - //#endif + //#endif //#ifndef APP "path": "nvueSwiper/index", //#endif @@ -1169,7 +1181,7 @@ "style": { "navigationBarTitleText": "兑换订单详情" } - } + } ] }, { @@ -1248,7 +1260,7 @@ "navigationBarTitleText": "加载中...", "navigationBarBackgroundColor": "#fff", "backgroundColor": "#F8F8F8" - //#ifndef H5 + //#ifndef H5 , "titleNView": true //#endif @@ -1286,7 +1298,7 @@ { "pagePath": "pages/order_addcart/order_addcart", "iconPath": "static/images/3-001.png", - "selectedIconPath": "static/images/3-002.png", + "selectedIconPath": "static/images/3-002.png", "text": "购物车" }, { @@ -1306,4 +1318,4 @@ }] }, "sitemapLocation": "sitemap.json" -} \ No newline at end of file +} diff --git a/pages/users/online_payment/payment/index.vue b/pages/users/online_payment/payment/index.vue new file mode 100644 index 0000000..34dd829 --- /dev/null +++ b/pages/users/online_payment/payment/index.vue @@ -0,0 +1,809 @@ + + + + +