68 lines
3.5 KiB
Plaintext
68 lines
3.5 KiB
Plaintext
The file /home/project/src/pages/MemberManage.tsx has been updated. Made 1 replacement.
|
|
|
|
Here's the result of running `cat -n` on a snippet of the edited file:
|
|
382→ </motion.button>
|
|
383→ </div>
|
|
384→ </div>
|
|
385→
|
|
386→ {/* 帮助与支持卡片 */}
|
|
387→ <div className="bg-white rounded-lg shadow-sm p-4 md:p-6 mb-6">
|
|
388→ <div className="flex items-center gap-2 mb-4">
|
|
389→ <BookOpen className="w-5 h-5 text-blue-600" />
|
|
390→ <h2 className="font-semibold text-gray-800">帮助与支持</h2>
|
|
391→ </div>
|
|
392→ <div className="grid grid-cols-1 sm:grid-cols-3 gap-3">
|
|
393→ <motion.button
|
|
394→ whileHover={{ scale: 1.02 }}
|
|
395→ whileTap={{ scale: 0.98 }}
|
|
396→ onClick={() => setShowUserManual(true)}
|
|
397→ className="flex items-center gap-3 p-4 bg-blue-50 rounded-xl hover:bg-blue-100 transition-colors text-left"
|
|
398→ >
|
|
399→ <div className="w-10 h-10 bg-blue-100 rounded-lg flex items-center justify-center">
|
|
400→ <BookOpen className="w-5 h-5 text-blue-600" />
|
|
401→ </div>
|
|
402→ <div>
|
|
403→ <p className="font-medium text-gray-800">用户手册</p>
|
|
404→ <p className="text-xs text-gray-500">详细使用指南</p>
|
|
405→ </div>
|
|
406→ </motion.button>
|
|
407→
|
|
408→ <motion.button
|
|
409→ whileHover={{ scale: 1.02 }}
|
|
410→ whileTap={{ scale: 0.98 }}
|
|
411→ onClick={() => setShowFeedback(true)}
|
|
412→ className="flex items-center gap-3 p-4 bg-emerald-50 rounded-xl hover:bg-emerald-100 transition-colors text-left"
|
|
413→ >
|
|
414→ <div className="w-10 h-10 bg-emerald-100 rounded-lg flex items-center justify-center">
|
|
415→ <MessageSquare className="w-5 h-5 text-emerald-600" />
|
|
416→ </div>
|
|
417→ <div>
|
|
418→ <p className="font-medium text-gray-800">用户反馈</p>
|
|
419→ <p className="text-xs text-gray-500">提交问题或建议</p>
|
|
420→ </div>
|
|
421→ </motion.button>
|
|
422→
|
|
423→ <motion.button
|
|
424→ whileHover={{ scale: 1.02 }}
|
|
425→ whileTap={{ scale: 0.98 }}
|
|
426→ onClick={() => setShowAbout(true)}
|
|
427→ className="flex items-center gap-3 p-4 bg-purple-50 rounded-xl hover:bg-purple-100 transition-colors text-left"
|
|
428→ >
|
|
429→ <div className="w-10 h-10 bg-purple-100 rounded-lg flex items-center justify-center">
|
|
430→ <Info className="w-5 h-5 text-purple-600" />
|
|
431→ </div>
|
|
432→ <div>
|
|
433→ <p className="font-medium text-gray-800">关于</p>
|
|
434→ <p className="text-xs text-gray-500">版本信息与版权</p>
|
|
435→ </div>
|
|
436→ </motion.button>
|
|
437→ </div>
|
|
438→ </div>
|
|
439→
|
|
440→ {/* 子账号列表 */}
|
|
441→ {loading ? (
|
|
442→ <div className="text-center py-12 text-gray-400">加载中...</div>
|
|
443→ ) : members.length === 0 ? (
|
|
444→ <div className="bg-white rounded-lg shadow-sm p-8 text-center">
|
|
445→ <div className="w-16 h-16 bg-gray-100 rounded-full flex items-center justify-center mx-auto mb-4">
|
|
446→ <Users className="w-8 h-8 text-gray-400" /> |