import { Component } from '@angular/core';

@Component({
  selector: 'app-popular-designs',
  templateUrl: './popular-designs.html',
  styleUrls: ['./popular-designs.scss']
})
export class PopularDesigns {
  // 添加 showWorkDetail 方法
  showWorkDetail(title: string) {
    console.log(`查看作品详情: ${title}`);
    // 这里可以添加导航到详情页的逻辑
  }
}