diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts index df370f7..168acc3 100644 --- a/frontend/src/router/index.ts +++ b/frontend/src/router/index.ts @@ -45,13 +45,14 @@ const router = createRouter({ { path: "/m/orders", name: "mobile-orders", - component: () => import("@/views/account/OrdersView.vue"), + component: () => import("@/views/mobile/MobileOrdersView.vue"), meta: { layout: "blank" }, }, { path: "/m/seller/listings/create", name: "mobile-seller-listing-create", - component: () => import("@/views/seller/SellerListingCreateView.vue"), + component: () => + import("@/views/mobile/MobileSellerListingCreateView.vue"), meta: { layout: "blank" }, }, { diff --git a/frontend/src/views/mobile/MobileOrdersView.vue b/frontend/src/views/mobile/MobileOrdersView.vue new file mode 100644 index 0000000..01d0487 --- /dev/null +++ b/frontend/src/views/mobile/MobileOrdersView.vue @@ -0,0 +1,438 @@ + + + + + + + + + + 我的订单 + + + + + + + {{ tab.label }} + + + + + + + 加载中... + + + + + 暂无订单 + + + + + + {{ order.order_no }} + + {{ statusLabel(order.status) }} + + + + + + {{ order.title }} + + + 租期 + {{ order.rent_hours }}小时 + + + 租金 + ¥{{ order.rent_amount }} + + + 押金 + ¥{{ order.deposit_amount }} + + + 区服 + {{ order.server_region }} + + + + + + + + + + + + + + 首页 + + + + 租号 + + + + + 发布 + + + + 订单 + + + + 我的 + + + + + + diff --git a/frontend/src/views/mobile/MobileProfileView.vue b/frontend/src/views/mobile/MobileProfileView.vue index 9fd230d..7627641 100644 --- a/frontend/src/views/mobile/MobileProfileView.vue +++ b/frontend/src/views/mobile/MobileProfileView.vue @@ -1,14 +1,30 @@ + + + + + + + + + 发布账号 + + + + + + + + 基本信息 + + + + + + + 游戏信息 + + + + + + {{ opt }} + + + + + + + + + + {{ opt }} + + + + + + + + + + + + 价格设置 + + + + + + + + + + + 租期限制 + + + ~ + + + + + + + 账号截图 + 上传账号资产截图(最多12张) + + + + + + ✕ + + + + + + {{ uploading ? "上传中" : "添加" }} + + + + + + + + + 保存发布 + + + + + + + + 首页 + + + + 租号 + + + + + 发布 + + + + 订单 + + + + 我的 + + + + + +
暂无订单
上传账号资产截图(最多12张)