1 Star 0 Fork 11

言西早早早/gao-tu

forked from 林龙/gao-tu 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
popup.html 6.33 KB
一键复制 编辑 原始数据 按行查看 历史
姜佳龙 提交于 2024-10-15 14:39 . 添加文本复制功能
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>搞图宝</title>
<link rel="stylesheet" href="./live2/assets/font-awesome.min.css">
<script src="js/zipjs.js"></script>
<script src="js/FileSaver.js"></script>
<script src="./live2/assets/autoload.js"></script>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
user-select: none;
}
body{
height: 550px;
width: 450px;
margin-left: 300px;
overflow: hidden;
}
::-webkit-scrollbar
{
width: 8px;
height: 8px;
background-color: rgba(245,245,245,0.5);
}
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track
{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
border-radius: 10px;
background-color: #F5F5F5;
}
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb
{
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: rgba(89,48,52,.1);
}
#btn {
position: fixed;
left: 300px;
right: 0;
bottom: 0;
font-size: 0;
}
#btn span {
background: #fff;
display: inline-block;
width: 50%;
height: 50px;
border: 1px solid #ddd;
font-size: 18px;
text-align: center;
line-height: 50px;
cursor: pointer;
}
#allSelect {
position: fixed;
right: 0;
bottom: 50px;
font-size: 18px;
border: 1px solid #ddd;
padding: 10px;
background: #ffffff;
cursor: pointer;
}
#videoSelect {
position: fixed;
right: 98px;
bottom: 50px;
font-size: 18px;
border: 1px solid #ddd;
padding: 10px;
background: #ffffff;
cursor: pointer;
}
#main {
width: 500px;
min-height: 600px;
padding-bottom: 120px;
font-size: 0;
border-left: 1px solid #ddd;
}
#main::after {
content: "";
display: block;
clear:both;
}
#main h1 {
text-align: center;
font-size: 24px;
padding-bottom: 10px;
clear:both;
}
#main div{
float: left;
width: 150px;
height: 135px;
padding: 0 10px;
text-align: center;
cursor: pointer;
margin-bottom: 20px;
position: relative;
}
#main div.activation::before{
content: "";
display: inline-block;
height: 32px;
width: 32px;
background: url("img/gouxuan.png") no-repeat 100% 100%;
position: absolute;
bottom: 20px;
right: 10px;
}
#main div img {
width: 100%;
max-height: 100px;
}
#main div span {
padding: 5px 14px;
display: block;
line-height: 20px;
height: 35px;
font-size: 14px;
position: absolute;
bottom: 0;
left: 0;
right: 0;
}
#main div button {
position: absolute;
top: 0;
right: 0;
width: 40px;
line-height: 20px;
font-size: 14px;
cursor: pointer;
}
/* canvas 用于兼容avif 和 webp格式图片,不显示在页面上*/
#container {
position: absolute;
left: 100000px;
top: 0;
}
#update_info {
position: fixed;
top: 0;
left: 0;
font-size: 14px;
display: flex;
justify-content: flex-start;
gap: 10px; /* 控制两个链接之间的间距 */
}
</style>
<style>
#github svg {
transition: all 1s;
fill: #222;
color: #fff;
position: absolute;
top: 0;
right: 0;
border: 0;
width: 80px;
height: 80px;
}
#github:hover svg {
width: 120px;
height: 120px;
}
#reward_btn {
position: fixed;
bottom: 50px;
left: 300px;
cursor: pointer;
color: #aaa;
font-size: 18px;
border: 1px solid #ddd;
display: flex;
align-items: center; /* 这会使得flex项目的底部对齐 */
padding: 10px;
background: #ffffff;
}
#reward_btn img {
height: 18px;
}
#reward {
background-color: #fff;
position: fixed;
top: 0;
left: 0;
width: 300px;
display: none;
font-size: 0;
z-index: 999;
}
#reward img {
width: 150px;
}
</style>
</head>
<body>
<iframe src="sandbox.html" id="sandbox" style="display: none"></iframe>
<div id="update_info">
<a href="https://gitee.com/cjmf/gao-tu" target="_blank">下载地址</a>
<a href="./img/img_11.png" target="_blank">联系开发者</a>
</div>
<div id="container"></div>
<div id="main">
</div>
<div id="reward_btn">
<img src="img/maqiu.jpg" alt="">
打赏一根猫条
<img src="img/facai.jpg" alt="">
</div>
<div id="reward">
<img src="img/maqiu.jpg" alt="">
<img src="img/facai.jpg" alt="">
<img src="img/wx_pay.jpg" alt="">
<img src="img/zfb_pay.jpg" alt="">
</div>
<div id="btn">
<span id="start">获取当前网页商品信息</span>
<span id="download">开始下载</span>
</div>
<div id="allSelect">全选/取消</div>
<script src="js/popup.js"></script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/nutian/gao-tu.git
[email protected]:nutian/gao-tu.git
nutian
gao-tu
gao-tu
v4

搜索帮助