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 @@
+
+
+
+
+
+
+
+
+ {{ mer_info.mer_name || '请选择门店' }}
+ 切换
+
+
+
+
+
+
+
+ 买单金额
+
+ ¥
+
+
+
+
+
+
+ 支付方式
+
+
+
+
+
+
+
+
+
+ 确认支付
+ 确认支付
+
+
+
+
+
+
+
+
+ 搜索
+ 取消
+
+
+
+
+
+
+ {{ item.mer_name }}
+ {{ item.mer_address }}
+
+
+ 选中
+
+
+
+
+
+
+
+
+
+
+
+