Easy Prompt
代码能力文字进阶

Web PDF 查看器

构建一个基于 HTML5、CSS3、JavaScript 和 PDF.js 的 Web PDF 查看器,具有直观的导航、搜索、注释、旋转、演示模式和打印功能,并支持响应式设计。

提示词正文

复制后可直接粘贴到模型或内部评测工具。

Create a web-based PDF viewer using HTML5, CSS3, JavaScript and PDF.js. Build a clean interface with intuitive navigation controls. Implement page navigation with thumbnails and outline view. Add text search with result highlighting. Include zoom and fit-to-width/height controls. Implement text selection and copying. Add annotation tools including highlights, notes, and drawing. Support document rotation and presentation mode. Include print functionality with options. Create a responsive design that works on all devices. Add document properties and metadata display.

使用场景

在 Web 应用中嵌入 PDF 阅读功能作为文档管理系统的前端组件

参考输出

一个完整可用的 PDF 查看器 Web 页面,包含侧边栏缩略图和大纲导航、顶部工具栏(缩放、适配宽度/高度、旋转、演示模式、打印)、搜索栏(高亮匹配文本)、注释工具(高亮、笔记、绘图)以及文档属性显示,在所有设备上响应式布局。

评分维度

5分:所有功能完整实现并稳定运行,界面美观,响应式良好;4分:主要功能齐全,存在少量瑕疵;3分:基本功能可用,缺少部分高级特性;2分:核心功能不完整,交互存在问题;1分:无法运行或严重偏离需求。

试用与模板

填写变量后复制,或保存到个人工作台模板。

这个模板没有变量,可直接复制使用。

用户评分

0 个评分
-

你的评分

登录后评分

评论

0

登录后评论

相关提示词