diff --git a/api/back.js b/api/back.js
new file mode 100644
index 0000000..ce1b1db
--- /dev/null
+++ b/api/back.js
@@ -0,0 +1,50 @@
+import request8081 from '@/api/product'
+import apiUrl from '@/utils/api'
+import { getToken } from '@/utils/auth'
+
+// 专门用于8081端口的请求(复用 product.js 中的 request8081 逻辑)
+const request = config => {
+ config.header = config.header || {}
+ const token = getToken()
+ if (token) {
+ config.header['Authorization'] = 'Bearer ' + token
+ }
+
+ const requestUrl = apiUrl + config.url
+
+ return new Promise((resolve, reject) => {
+ uni.request({
+ method: config.method || 'GET',
+ timeout: 10000,
+ url: requestUrl,
+ data: config.data,
+ header: {
+ 'Content-Type': 'application/json;charset=UTF-8',
+ ...config.header
+ },
+ dataType: 'json'
+ }).then(response => {
+ let [error, res] = response
+ if (error) {
+ reject(new Error('后端接口连接异常'))
+ return
+ }
+ if (res.statusCode !== 200) {
+ reject(new Error(`HTTP异常: ${res.statusCode}`))
+ return
+ }
+ resolve(res.data)
+ }).catch(err => {
+ reject(err)
+ })
+ })
+}
+
+// 获取订单列表
+export function getOrderList(data) {
+ return request({
+ url: '/mall/order/list',
+ method: 'POST',
+ data: data
+ })
+}
diff --git a/package_a/back/back.vue b/package_a/back/back.vue
index 6a7d757..ec8fc05 100644
--- a/package_a/back/back.vue
+++ b/package_a/back/back.vue
@@ -1,222 +1,232 @@
-
-
-
-
- 全部事件
- 只看订单
+ 全部订单
+
- 🔍
-
- ☰
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ currentPayStatusLabel || '请选择支付状态' }}
+
+
+
+
+
+ ↺
+
+ ☰
-
- 🔍
- 筛选
+
+
+ 搜索
-
-
+
+
+
+
+
+
+
+ 支付金额:
+ ¥{{ item.payAmount || '0.00' }}
+
+
+ 支付时间:
+ {{ item.payTime || '--' }}
+
+
+
+
+
+
+
- 📄⚙️
+ 📄
暂无数据
-
+
\ No newline at end of file
diff --git a/package_a/back/backDetail.vue b/package_a/back/backDetail.vue
new file mode 100644
index 0000000..807cd38
--- /dev/null
+++ b/package_a/back/backDetail.vue
@@ -0,0 +1,144 @@
+
+
+
+
+
+
+
+
+
+ {{ item.productName || '--' }}
+
+
+ 条码:{{ item.productBarCode || '--' }}
+
+
+
+ ¥{{ item.subtotal || item.unitPrice || '0.00' }}
+
+ x {{ item.quantity || 1 }}
+
+
+
+
+
+
+ 暂无商品信息
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages.json b/pages.json
index b3e7cf4..0f59058 100644
--- a/pages.json
+++ b/pages.json
@@ -46,6 +46,8 @@
{ "path": "import/import", "style": { "navigationBarTitleText": "" } },
{ "path": "category/category", "style": { "navigationBarTitleText": "" } },
{ "path": "back/back", "style": { "navigationBarTitleText": "" } },
+ { "path": "back/backDetail", "style": { "navigationBarTitleText": "订单详情" } },
+
{ "path": "mine/info/index", "style": { "navigationBarTitleText": "个人信息" } },
{ "path": "mine/info/edit", "style": { "navigationBarTitleText": "编辑资料" } },
{ "path": "mine/setting/index", "style": { "navigationBarTitleText": "应用设置" } },