重构:提交全新项目代码
This commit is contained in:
47
packages/bookmark-sync/src/custom-bookmark-bar/newtab.html
Normal file
47
packages/bookmark-sync/src/custom-bookmark-bar/newtab.html
Normal file
@@ -0,0 +1,47 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>我的自定义书签</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
padding: 20px;
|
||||
background: #f5f5f5;
|
||||
}
|
||||
#bookmark-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 15px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
.bookmark-item {
|
||||
display: block;
|
||||
width: 120px;
|
||||
padding: 15px;
|
||||
background: white;
|
||||
border-radius: 8px;
|
||||
text-decoration: none;
|
||||
color: #333;
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
||||
text-align: center;
|
||||
}
|
||||
.bookmark-item:hover {
|
||||
background: #e0e0e0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h2>我的书签管理器</h2>
|
||||
<!-- 文件夹切换下拉框 -->
|
||||
<select id="folder-selector">
|
||||
<option value="1">书签栏 (ID: 1)</option>
|
||||
<!-- 其他文件夹可以通过代码动态加载到这里 -->
|
||||
</select>
|
||||
|
||||
<!-- 书签渲染容器 -->
|
||||
<div id="bookmark-container"></div>
|
||||
|
||||
<script src="popup.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user