feat: 时间分布和详细时间点滑块横屏下左右分布

This commit is contained in:
feie9454 2025-11-22 17:40:17 +08:00
parent 597d8e5d67
commit 5fa9d39c2f

View File

@ -800,9 +800,10 @@ export default function HostDetail() {
{/* 截图时间线选项卡 */} {/* 截图时间线选项卡 */}
{activeTab === 'screenshots' && ( {activeTab === 'screenshots' && (
<div> <div className="lg:flex lg:gap-6 items-start">
<div className="lg:w-1/3 lg:flex-shrink-0 space-y-8">
{/* 小时分布滑块(时间分布) */} {/* 小时分布滑块(时间分布) */}
<div className="mb-8"> <div>
<div className="flex justify-between items-center mb-4"> <div className="flex justify-between items-center mb-4">
<h2 className="text-lg font-medium text-gray-900 dark:text-white"></h2> <h2 className="text-lg font-medium text-gray-900 dark:text-white"></h2>
<button <button
@ -837,7 +838,7 @@ export default function HostDetail() {
{/* 详细时间点滑块 */} {/* 详细时间点滑块 */}
{showDetailTimeline && ( {showDetailTimeline && (
<div className="mb-8"> <div>
<div className="flex justify-between items-center mb-4"> <div className="flex justify-between items-center mb-4">
<h2 className="text-lg font-medium text-gray-900 dark:text-white"></h2> <h2 className="text-lg font-medium text-gray-900 dark:text-white"></h2>
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
@ -881,8 +882,10 @@ export default function HostDetail() {
)} )}
</div> </div>
)} )}
</div>
{/* 图片预览区域及控制按钮 */} {/* 图片预览区域及控制按钮 */}
<div className="lg:flex-1 min-w-0 mt-8 lg:mt-0">
{selectedRecord && ( {selectedRecord && (
<div className="bg-white dark:bg-gray-800 rounded-lg shadow-sm p-6"> <div className="bg-white dark:bg-gray-800 rounded-lg shadow-sm p-6">
{ {
@ -1055,6 +1058,7 @@ export default function HostDetail() {
</div> </div>
)} )}
</div> </div>
</div>
)} )}
{/* 星标记录选项卡 */} {/* 星标记录选项卡 */}