diff --git a/src/api/order.js b/src/api/order.js
new file mode 100644
index 0000000..97ae13c
--- /dev/null
+++ b/src/api/order.js
@@ -0,0 +1,19 @@
+import request from '@/utils/request'
+
+export function getOrders(params) {
+ return request({
+ url: '/games/order',
+ method: 'get',
+ params
+ })
+}
+
+export function updateOrder(data) {
+ return request({
+ url: '/games/order',
+ method: 'patch',
+ data
+ })
+}
+
+
diff --git a/src/router/modules/games.js b/src/router/modules/games.js
index a591b8c..3f82cdb 100644
--- a/src/router/modules/games.js
+++ b/src/router/modules/games.js
@@ -167,6 +167,12 @@ const gamesRouter = {
name: 'GameDetailsGift',
meta: {title: '兑换'},
},
+ {
+ path: 'order',
+ component: () => import('@/views/games/details/order'),
+ name: 'GameDetailsOrder',
+ meta: {title: '订单'},
+ },
{
path: 'mp/edit',
component: () => import('@/views/games/details/mp/edit'),
diff --git a/src/styles/common.scss b/src/styles/common.scss
index 3dab935..98ca1c7 100644
--- a/src/styles/common.scss
+++ b/src/styles/common.scss
@@ -1,6 +1,6 @@
/* 面板 */
#app {
- min-width: 1440px;
+ min-width: 1800px;
}
.app-main {
diff --git a/src/views/games/details/index.vue b/src/views/games/details/index.vue
index e1f8865..2fb7384 100644
--- a/src/views/games/details/index.vue
+++ b/src/views/games/details/index.vue
@@ -60,6 +60,10 @@
v-if="uid !== 'new'"
:index="`/games/details/${uid}/gift`"
>兑换
+ 订单
diff --git a/src/views/games/details/order.vue b/src/views/games/details/order.vue
new file mode 100644
index 0000000..5cf51b8
--- /dev/null
+++ b/src/views/games/details/order.vue
@@ -0,0 +1,524 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 详情
+ 补单
+
+
+
+
+
+
+
+
+
+
+
+ -
+ 序号
+ {{modalData.idx}}
+
+ -
+ 支付小程序AppID
+ {{modalData.minigame_appid}}
+
+ -
+ 支付小程序账号ID
+ {{modalData.minigame_accountid}}
+
+ -
+ 订单ID
+ {{modalData.orderid}}
+
+ -
+ 账号ID
+ {{modalData.accountid}}
+
+ -
+ 游戏ID
+ {{modalData.gameid}}
+
+ -
+ 平台ID
+ {{modalData.channel}}
+
+ -
+ 平台openID
+ {{modalData.openid}}
+
+ -
+ 道具ID
+ {{modalData.itemid}}
+
+ -
+ 价格
+ {{modalData.price}}
+
+ -
+ IPV4
+ {{modalData.ipv4}}
+
+ -
+ 订单状态
+ {{modalData.status}}
+
+ -
+ 确认时间
+ {{modalData.confirmtime}}
+
+ -
+ 创建时间
+ {{modalData.createtime}}
+
+ -
+ 平台订单ID
+ {{modalData.sp_orderid}}
+
+ -
+ 平台金额
+ {{modalData.sp_amount}}
+
+ -
+ 平台确认时间
+ {{modalData.sp_confirm_time}}
+
+ -
+ 平台支付结果
+ {{modalData.sp_pay_result}}
+
+
+
+ 关 闭
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/games/details/share/index.vue b/src/views/games/details/share/index.vue
index 4308e93..48a0ebd 100644
--- a/src/views/games/details/share/index.vue
+++ b/src/views/games/details/share/index.vue
@@ -13,7 +13,7 @@
>