iloom-flatten/.microcompact/mps6xam9/functions.Edit:10.txt

32 lines
1.8 KiB
Plaintext
Raw Normal View History

The file /home/project/src/pages/purchaser/Dashboard.tsx has been updated. Made 1 replacement.
Here's the result of running `cat -n` on a snippet of the edited file:
405→ </div>
406→ )}
407→ </div>
408→
409→ {/* 快捷操作 - 移动端显示 */}
410→ {isMobile && (
411→ <div className="bg-white rounded-xl shadow-sm border border-slate-200 p-3 sm:p-4">
412→ <h2 className="text-sm font-semibold text-slate-900 mb-3 whitespace-nowrap">快捷操作</h2>
413→ <div className="grid grid-cols-3 gap-2">
414→ {quickActions.map((action) => (
415→ <button
416→ key={action.id}
417→ onClick={() => navigate(action.path)}
418→ className="group flex flex-col items-center p-2 rounded-lg border border-slate-100 hover:border-transparent hover:shadow-md transition-all bg-slate-50/50 hover:bg-white active:scale-95"
419→ >
420→ <div className={`w-10 h-10 rounded-lg flex items-center justify-center mb-1.5 bg-gradient-to-br ${action.gradient} shadow-sm group-hover:shadow-md transition-shadow`}>
421→ <action.icon className="w-5 h-5 text-white" />
422→ </div>
423→ <span className="text-[10px] font-medium text-slate-700 group-hover:text-slate-900 text-center whitespace-nowrap">{action.label}</span>
424→ </button>
425→ ))}
426→ </div>
427→ </div>
428→ )}
429→ </div>
430→ )}
431→ </div>
432→ </div>
433→