Skip to content

Building a laptop knowledge graph from scratch and completing a personalized laptop recommendation website based on that KG. This repository contains the front-end code.

Notifications You must be signed in to change notification settings

EmptyOctal/EasyLap_frontend

Repository files navigation

EasyLap_frontend

启动项目

先运行后端项目

API请求地址默认设置为:http://localhost:5001/analyze

如更改后端运行接口,需要在/server/api/search/index.ts:14修改API请求地址,默认无需修改

然后再启动前端(本项目)

npm i -g pnpm
pnpm i
pnpm dev

本项目是个单页面应用,整个单页面主要由下方的三个组件组成:

  • SearchBar:搜索框
  • DataList:搜索结果列表
  • MainMenu:主菜单

至于其余的组件,则是一些占位组件,比如LoadingEmpty等。

运行效果

示例图片

图1 HomePage

示例图片

图2 NotfoundPage

示例图片

图3 Search Result

示例图片

图4 定制化需求处理

示例图片

图5 支持丰富的个性化需求

示例图片

图6 产品卡片控件

示例图片

示例图片

图7 搜索框设计

About

Building a laptop knowledge graph from scratch and completing a personalized laptop recommendation website based on that KG. This repository contains the front-end code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published