hookehuyr

refactor(OrdersPage): 移除模拟订单数据注释代码

...@@ -233,33 +233,6 @@ const approvalStatusMap = { ...@@ -233,33 +233,6 @@ const approvalStatusMap = {
233 DISABLE: { text: '审批不通过', color: '#ff976a' }, 233 DISABLE: { text: '审批不通过', color: '#ff976a' },
234 null: { text: '未审批', color: '#909399' }, 234 null: { text: '未审批', color: '#909399' },
235 } 235 }
236 -// 模拟订单数据
237 -// const orders = ref([
238 -// {
239 -// id: 1,
240 -// orderNo: 'ORDER202503210001',
241 -// status: 'pending',
242 -// statusText: '待支付',
243 -// statusColor: 'text-orange-500',
244 -// title: '亲子阅读课程',
245 -// description: '3-6岁儿童亲子阅读指导',
246 -// image: 'https://cdn.ipadbiz.cn/mlaj/images/jbwr0qZvpD4.jpg',
247 -// amount: 299,
248 -// createTime: '2025-03-21 10:30:00'
249 -// },
250 -// {
251 -// id: 2,
252 -// orderNo: 'ORDER202503210002',
253 -// status: 'paid',
254 -// statusText: '已支付',
255 -// statusColor: 'text-green-500',
256 -// title: '儿童绘画课程',
257 -// description: '儿童创意绘画启蒙课程',
258 -// image: 'https://cdn.ipadbiz.cn/mlaj/images/27kCu7bXGEI.jpg',
259 -// amount: 199,
260 -// createTime: '2025-03-21 09:15:00'
261 -// }
262 -// ])
263 236
264 // 初始化加载订单列表 237 // 初始化加载订单列表
265 // 加载更多 238 // 加载更多
......