feat: init v3
|
|
@ -1,99 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>聊天记录</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="content">
|
||||
<div class="title">
|
||||
聊天记录 {{user.name}}【User】 & {{bot.name}}【Bot】
|
||||
</div>
|
||||
{{each chat val}}
|
||||
<div class="chat-bot">
|
||||
<div>
|
||||
<img src="https://q1.qlogo.cn/g?b=qq&s=0&nk={{user.qq}}" style="height:40px;margin-top:10px;margin-bottom:10px;margin-left: 10px">
|
||||
</div>
|
||||
<div style="margin: 10px;" class="blob-user">
|
||||
{{val.prompt}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="chat-user">
|
||||
<div style="margin: 10px;" class="blob-bot">
|
||||
{{val.response}}
|
||||
</div>
|
||||
<div>
|
||||
<img src="https://q1.qlogo.cn/g?b=qq&s=0&nk={{bot.qq}}" style="height:40px;margin-top:10px;margin-bottom:10px;margin-left: 10px">
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
<div class="site-logo">
|
||||
Created By Yunzai-Bot and ChatGPT-Plugin {{version}}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
user-select: none;
|
||||
}
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
font-size: 16px;
|
||||
width: 600px;
|
||||
color: #1e1f20;
|
||||
transform: scale(1.5);
|
||||
transform-origin: 0 0;
|
||||
}
|
||||
.content {
|
||||
width: 600px;
|
||||
border-radius: 5px;
|
||||
background: #dbedee;
|
||||
}
|
||||
.title {
|
||||
padding-top: 10px;
|
||||
width: 90%;
|
||||
margin: auto;
|
||||
font-weight: bold;
|
||||
height: 50px;
|
||||
font-size: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
.chat-bot {
|
||||
width: 540px;
|
||||
padding-left: 30px;
|
||||
padding-right: 30px;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
display: flex;
|
||||
|
||||
}
|
||||
.chat-user {
|
||||
width: 540px;
|
||||
margin-left: 30px;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
display: flex;
|
||||
|
||||
}
|
||||
.blob-bot {
|
||||
/*border: #00c3ff solid 1px;*/
|
||||
border-radius: 5px;
|
||||
padding: 9px;
|
||||
background: #abb8ff;
|
||||
width: 480px;
|
||||
}
|
||||
.blob-user {
|
||||
/*border: #00c3ff solid 1px;*/
|
||||
border-radius: 5px;
|
||||
padding: 9px;
|
||||
background: #b2d797;
|
||||
}
|
||||
.site-logo {
|
||||
text-align: center;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
|
||||
<link rel="stylesheet" type="text/css" href="{{pluResPath}}conversation/conversation.css" />
|
||||
<link rel="shortcut icon" href="#" />
|
||||
</head>
|
||||
{{@headStyle}}
|
||||
|
||||
<body>
|
||||
<div class="container" id="container">
|
||||
<div class="head_box">
|
||||
<div class="id_text">ChatGPT-Plugin</div>
|
||||
<h2 class="day_text">最近对话列表</h2>
|
||||
<img class="chatgpt_logo" src="{{pluResPath}}img/icon/chatgpt.png"/>
|
||||
</div>
|
||||
<div class="data_box">
|
||||
<div class="list">
|
||||
{{each conversations item}}
|
||||
<div class="item-{{item.status}}">
|
||||
<img class="icon" src="{{pluResPath}}img/icon/chat.png" />
|
||||
<div class="title">
|
||||
<div class="text">{{item.id}}</div>
|
||||
<div class="dec">最近问题:{{item.lastPrompt}}</div>
|
||||
<div class="creater">发起者:{{item.creater}}</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="logo">Created By Yunzai-Bot and ChatGPT-Plugin {{version}}</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
@ -1,178 +0,0 @@
|
|||
@font-face {
|
||||
font-family: "tttgbnumber";
|
||||
src: url("../../../../../resources/font/tttgbnumber.ttf");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
user-select: none;
|
||||
}
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
font-size: 16px;
|
||||
width: 630px;
|
||||
color: #1e1f20;
|
||||
transform: scale(1.5);
|
||||
transform-origin: 0 0;
|
||||
}
|
||||
.container {
|
||||
width: 630px;
|
||||
padding: 20px 15px 10px 15px;
|
||||
background-color: #f5f6fb;
|
||||
}
|
||||
.head_box {
|
||||
border-radius: 15px;
|
||||
font-family: tttgbnumber;
|
||||
padding: 10px 20px;
|
||||
position: relative;
|
||||
box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%);
|
||||
}
|
||||
.head_box .id_text {
|
||||
font-size: 24px;
|
||||
}
|
||||
.head_box .day_text {
|
||||
font-size: 20px;
|
||||
}
|
||||
.head_box .chatgpt_logo {
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
right: 15px;
|
||||
width: 50px;
|
||||
}
|
||||
.base_info {
|
||||
position: relative;
|
||||
padding-left: 10px;
|
||||
}
|
||||
.uid {
|
||||
font-family: tttgbnumber;
|
||||
}
|
||||
|
||||
.data_box {
|
||||
border-radius: 15px;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 15px;
|
||||
padding: 20px 0px 5px 0px;
|
||||
background: #fff;
|
||||
box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%);
|
||||
position: relative;
|
||||
}
|
||||
.tab_lable {
|
||||
position: absolute;
|
||||
top: -10px;
|
||||
left: -8px;
|
||||
background: #d4b98c;
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
padding: 3px 10px;
|
||||
border-radius: 15px 0px 15px 15px;
|
||||
z-index: 20;
|
||||
}
|
||||
.data_line {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.data_line_item {
|
||||
width: 100px;
|
||||
text-align: center;
|
||||
/*margin: 0 20px;*/
|
||||
}
|
||||
.num {
|
||||
font-family: tttgbnumber;
|
||||
font-size: 24px;
|
||||
}
|
||||
.data_box .lable {
|
||||
font-size: 14px;
|
||||
color: #7f858a;
|
||||
line-height: 1;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
.list{
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.list .item-normal {
|
||||
width: 575px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: #f1f1f1;
|
||||
padding: 8px 6px 8px 6px;
|
||||
border-radius: 8px;
|
||||
margin: 0 0px 10px 10px;
|
||||
}
|
||||
.list .item-normal .icon{
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
position: relative;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.list .item-normal .title{
|
||||
font-size: 16px;
|
||||
margin-left: 6px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.list .item-normal .title .text{
|
||||
color: #1995A4;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.list .item-normal .title .creater{
|
||||
font-size: 12px;
|
||||
color: #69878B;
|
||||
margin-top: 2px;
|
||||
}
|
||||
.list .item-using .title .dec{
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
margin-top: 2px;
|
||||
}
|
||||
.list .item-using {
|
||||
width: 575px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: #157985;
|
||||
padding: 8px 6px 8px 6px;
|
||||
border-radius: 8px;
|
||||
margin: 0 0px 10px 10px;
|
||||
}
|
||||
.list .item-using .icon{
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
position: relative;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.list .item-using .title{
|
||||
font-size: 16px;
|
||||
margin-left: 6px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.list .item-using .title .text{
|
||||
color: #CBD4D5;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.list .item-using .title .dec{
|
||||
font-size: 12px;
|
||||
color: #CBD4D5;
|
||||
margin-top: 2px;
|
||||
}
|
||||
.list .item-using .title .creater{
|
||||
font-size: 12px;
|
||||
color: #CBD4D5;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
font-size: 14px;
|
||||
font-family: "tttgbnumber";
|
||||
text-align: center;
|
||||
color: #7994a7;
|
||||
}
|
||||
103637
resources/emojiData.json
|
|
@ -1,342 +0,0 @@
|
|||
{
|
||||
"AI聊天": [
|
||||
{
|
||||
"icon": "fas fa-comments",
|
||||
"title": "聊天",
|
||||
"text": "<span class=\"text-xs font-semibold inline-block py-1 px-2 uppercase rounded text-blueGray-600 bg-blueGray-200\">私聊</span>或在群中<span class=\"text-xs font-semibold inline-block py-1 px-2 uppercase rounded text-blueGray-600 bg-blueGray-200\">@我+内容</span>进行聊天",
|
||||
"list": []
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-comments",
|
||||
"title": "指定模式聊天",
|
||||
"text": "分别使用**API**/**API3**/**ChatGLM**/**Bing**模式进行聊天,无视主人设定的全局模式",
|
||||
"list": [
|
||||
"#chat1",
|
||||
"#chat3",
|
||||
"#chatglm",
|
||||
"#bing"
|
||||
]
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-comment",
|
||||
"title": "ChatGPT切换对话",
|
||||
"text": "切换到指定对话当中<span class=\"text-xs font-semibold inline-block py-1 px-2 uppercase rounded text-blueGray-600 bg-blueGray-200\">仅API3可用</span>",
|
||||
"list": [
|
||||
"#chatgpt切换对话+对话id"
|
||||
]
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-comment",
|
||||
"title": "ChatGPT加入对话",
|
||||
"text": "加入到某人当前进行对话当中<span class=\"text-xs font-semibold inline-block py-1 px-2 uppercase rounded text-blueGray-600 bg-blueGray-200\">仅API3可用</span>",
|
||||
"list": [
|
||||
"#chatgpt加入对话+@某人"
|
||||
]
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-trash ",
|
||||
"title": "删除对话",
|
||||
"text": "删除指定对话,并清空与用户的关联信息。@用户时支持多个用户",
|
||||
"list": [
|
||||
"#chatgpt删除对话+对话id或@用户"
|
||||
]
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-outdent",
|
||||
"title": "结束对话",
|
||||
"text": "结束自己当前对话,下次开启对话机器人将遗忘掉本次对话内容",
|
||||
"list": [
|
||||
"#结束对话"
|
||||
]
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-eraser",
|
||||
"title": "结束全部对话",
|
||||
"text": "结束正在与本机器人进行对话的全部用户的对话",
|
||||
"list": [
|
||||
"#结束全部对话"
|
||||
]
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-book",
|
||||
"title": "聊天记录",
|
||||
"text": "图片形式导出聊天记录<span class=\"text-xs font-semibold inline-block py-1 px-2 uppercase rounded text-blueGray-600 bg-blueGray-200\">仅支持Bing下的Sydney和自定义</span>",
|
||||
"list": [
|
||||
"#chatgpt聊天记录",
|
||||
"#chatgpt导出聊天记录"
|
||||
],
|
||||
"tip": "管理员功能"
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-cube",
|
||||
"title": "聊天回复模式",
|
||||
"text": "设置机器人以图片模式、文本模式或语音模式回复",
|
||||
"list": [
|
||||
"#chatgpt图片模式",
|
||||
"#chatgpt文本模式",
|
||||
"#chatgpt语音模式"
|
||||
]
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-headphones",
|
||||
"title": "语音角色",
|
||||
"text": "设置语音模式下回复的角色音色",
|
||||
"list": [
|
||||
"#chatgpt设置语音角色"
|
||||
]
|
||||
}
|
||||
],
|
||||
"AI画图": [
|
||||
{
|
||||
"icon": "fas fa-paint-brush",
|
||||
"title": "画图",
|
||||
"text": "调用**OpenAI Dalle API**进行绘图,需要有**API key**并消耗余额。图片大小只能是<span class=\"text-xs font-semibold inline-block py-1 px-2 uppercase rounded text-blueGray-600 bg-blueGray-200\">256x256</span><span class=\"text-xs font-semibold inline-block py-1 px-2 uppercase rounded text-blueGray-600 bg-blueGray-200\">512x512</span><span class=\"text-xs font-semibold inline-block py-1 px-2 uppercase rounded text-blueGray-600 bg-blueGray-200\">1024x1024</span>中的一个,默认画图**1**张,大小<span class=\"text-xs font-semibold inline-block py-1 px-2 uppercase rounded text-blueGray-600 bg-blueGray-200\">512x512</span>",
|
||||
"list": [
|
||||
"#chatgpt画图+prompt",
|
||||
"#chatgpt画图+prompt(/张数/图片大小)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-paint-brush",
|
||||
"title": "改图",
|
||||
"text": "调用**OpenAI Dalle API**进行绘图,需要有**API key**并消耗余额。可同时发送图片或回复图片",
|
||||
"list": [
|
||||
"#chatgpt改图"
|
||||
]
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-toggle-on",
|
||||
"title": "画图开关",
|
||||
"text": "开启或关闭画图功能",
|
||||
"list": [
|
||||
"#chatgpt开启画图",
|
||||
"#chatgpt关闭画图"
|
||||
],
|
||||
"tip": "管理员功能"
|
||||
}
|
||||
],
|
||||
"设定": [
|
||||
{
|
||||
"icon": "fas fa-paint-brush",
|
||||
"title": "查看设定列表",
|
||||
"text": "查看所有设定列表,以转发消息形式",
|
||||
"list": [
|
||||
"#chatgpt设定列表"
|
||||
],
|
||||
"tip": "管理员功能"
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-paint-brush",
|
||||
"title": "查看设定",
|
||||
"text": "查看指定名字的设定内容。其中API默认和Sydney默认为锅巴面板配置的设定",
|
||||
"list": [
|
||||
"#chatgpt查看设定<设定名>"
|
||||
],
|
||||
"tip": "管理员功能"
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-toggle-on",
|
||||
"title": "添加设定",
|
||||
"text": "添加一个设定,分此输入设定名称和设定内容。如果名字已存在,则会覆盖(相当于修改)",
|
||||
"list": [
|
||||
"#chatgpt添加设定"
|
||||
],
|
||||
"tip": "管理员功能"
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-toggle-on",
|
||||
"title": "使用设定",
|
||||
"text": "使用某个设定。",
|
||||
"list": [
|
||||
"#chatgpt使用设定<设定名>"
|
||||
],
|
||||
"tip": "管理员功能"
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-toggle-on",
|
||||
"title": "上传设定",
|
||||
"text": "上传设定",
|
||||
"list": [
|
||||
"#chatgpt上传设定",
|
||||
"#chatgpt分享设定",
|
||||
"#chatgpt共享设定"
|
||||
],
|
||||
"tip": "管理员功能"
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-toggle-on",
|
||||
"title": "删除共享设定",
|
||||
"text": "从远端删除,只能删除自己上传的设定,根据机器人主人qq号判断。",
|
||||
"list": [
|
||||
"#chatgpt删除共享设定<设定名>",
|
||||
"#chatgpt取消共享设定<设定名>",
|
||||
"#chatgpt撤销共享设定<设定名>"
|
||||
],
|
||||
"tip": "管理员功能"
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-toggle-on",
|
||||
"title": "搜索设定",
|
||||
"text": "搜索公开的设定。默认返回前十条,使用页码X可以翻页,使用关键词可以检索。页码从1开始。",
|
||||
"list": [
|
||||
"#chatgpt(在线)浏览设定(+关键词)(页码X)"
|
||||
],
|
||||
"tip": "管理员功能"
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-toggle-on",
|
||||
"title": "预览设定详情",
|
||||
"text": "根据设定名称预览云端设定的详情信息。",
|
||||
"list": [
|
||||
"#chatgpt预览设定详情<设定名>"
|
||||
],
|
||||
"tip": "管理员功能"
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-toggle-on",
|
||||
"title": "导入设定",
|
||||
"text": "导入其他人分享的设定。注意:相同名字的设定,会覆盖本地已有的设定",
|
||||
"list": [
|
||||
"#chatgpt导入设定"
|
||||
],
|
||||
"tip": "管理员功能"
|
||||
}
|
||||
],
|
||||
"插件管理": [
|
||||
{
|
||||
"icon": "fas fa-list",
|
||||
"title": "对话列表",
|
||||
"text": "查询当前哪些人正在与机器人聊天.目前<span class=\"text-xs font-semibold inline-block py-1 px-2 uppercase rounded text-blueGray-600 bg-blueGray-200\">API3模式</span>下支持切换对话",
|
||||
"list": [
|
||||
"#chatgpt对话列表"
|
||||
],
|
||||
"tip": "管理员功能"
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-microphone-slash",
|
||||
"title": "闭嘴",
|
||||
"text": "让机器人在某群闭嘴,不指定群时认为全局闭嘴",
|
||||
"list": [
|
||||
"#chatgpt本群闭嘴",
|
||||
"#chatgpt群xxx闭嘴",
|
||||
"#chatgpt闭嘴(x秒/分钟/小时)",
|
||||
"#chatgpt本群张嘴",
|
||||
"#chatgpt本群开口",
|
||||
"#chatgpt群xxx说话",
|
||||
"#chatgpt上班",
|
||||
"#chatgpt查看闭嘴"
|
||||
],
|
||||
"tip": "管理员功能"
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-list",
|
||||
"title": "Chat队列",
|
||||
"text": "移出或清空当前对话等待队列,若前方对话卡死可使用本命令。仅<span class=\"text-xs font-semibold inline-block py-1 px-2 uppercase rounded text-blueGray-600 bg-blueGray-200\">API3模式</span>下可用",
|
||||
"list": [
|
||||
"#清空chat队列",
|
||||
"#移出chat队列首位"
|
||||
],
|
||||
"tip": "管理员功能"
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-check",
|
||||
"title": "问题确认",
|
||||
"text": "开启或关闭机器人收到消息后的确认回复消息",
|
||||
"list": [
|
||||
"#chatgpt开启问题确认",
|
||||
"#chatgpt关闭问题确认"
|
||||
],
|
||||
"tip": "管理员功能"
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-cube",
|
||||
"title": "切换模式",
|
||||
"text": "切换使用的后端会话模式",
|
||||
"list": [
|
||||
"#chatgpt切换浏览器",
|
||||
"#chatgpt切换API",
|
||||
"#chatgpt切换API3",
|
||||
"#chatgpt切换Bing",
|
||||
"#chatgpt切换ChatGLM"
|
||||
],
|
||||
"tip": "管理员功能"
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-coffee",
|
||||
"title": "必应风格",
|
||||
"text": "切换Bing风格",
|
||||
"list": [
|
||||
"#chatgpt必应切换精准",
|
||||
"#chatgpt必应切换均衡",
|
||||
"#chatgpt必应切换创意",
|
||||
"#chatgpt必应切换悉尼",
|
||||
"#chatgpt必应切换自设定"
|
||||
],
|
||||
"tip": "管理员功能"
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-comments",
|
||||
"title": "必应建议",
|
||||
"text": "开关Bing模式下的建议回复",
|
||||
"list": [
|
||||
"#chatgpt必应开启建议回复",
|
||||
"#chatgpt必应关闭建议回复"
|
||||
],
|
||||
"tip": "管理员功能"
|
||||
}
|
||||
],
|
||||
"系统设置": [
|
||||
{
|
||||
"icon": "fas fa-key",
|
||||
"title": "Token与APIKey",
|
||||
"text": "设置必应和open的Token和ApiKey",
|
||||
"list": [
|
||||
"#chatgpt设置必应token",
|
||||
"#chatgpt删除必应token",
|
||||
"#chatgpt查看必应token",
|
||||
"#chatgpt迁移必应token",
|
||||
"#chatgpt设置APIKey"
|
||||
]
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-credit-card",
|
||||
"title": "试用额度",
|
||||
"text": "查询OpenAI API剩余试用额度",
|
||||
"list": [
|
||||
"#OpenAI剩余额度"
|
||||
],
|
||||
"tip": "失效"
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-coffee",
|
||||
"title": "风格",
|
||||
"text": "设置和查看AI的默认风格设定",
|
||||
"list": [
|
||||
"#chatgpt设置API设定",
|
||||
"#chatgpt设置Sydney设定",
|
||||
"#chatgpt查看API设定",
|
||||
"#chatgpt查看Sydney设定"
|
||||
],
|
||||
"tip": "管理员功能"
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-key",
|
||||
"title": "管理面板",
|
||||
"text": "后台管理面板",
|
||||
"list": [
|
||||
"#chatgpt系统管理",
|
||||
"#修改管理密码"
|
||||
],
|
||||
"tip": "管理员功能"
|
||||
},
|
||||
{
|
||||
"icon": "fas fa-key",
|
||||
"title": "用户面板",
|
||||
"text": "用户管理面板",
|
||||
"list": [
|
||||
"#chatgpt用户管理",
|
||||
"#修改用户密码"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,135 +0,0 @@
|
|||
@font-face {
|
||||
font-family: "tttgbnumber";
|
||||
src: url("../../../../../resources/font/tttgbnumber.ttf");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
user-select: none;
|
||||
}
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
font-size: 16px;
|
||||
width: 900px;
|
||||
color: #1e1f20;
|
||||
transform: scale(1.5);
|
||||
transform-origin: 0 0;
|
||||
}
|
||||
.container {
|
||||
width: 930px;
|
||||
padding: 20px 15px 10px 15px;
|
||||
background-color: #f5f6fb;
|
||||
}
|
||||
.head_box {
|
||||
border-radius: 15px;
|
||||
font-family: tttgbnumber;
|
||||
padding: 10px 20px;
|
||||
position: relative;
|
||||
box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%);
|
||||
}
|
||||
.head_box .id_text {
|
||||
font-size: 24px;
|
||||
}
|
||||
.head_box .day_text {
|
||||
font-size: 20px;
|
||||
}
|
||||
.head_box .chatgpt_logo {
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
right: 15px;
|
||||
width: 50px;
|
||||
}
|
||||
.base_info {
|
||||
position: relative;
|
||||
padding-left: 10px;
|
||||
}
|
||||
.uid {
|
||||
font-family: tttgbnumber;
|
||||
}
|
||||
|
||||
.data_box {
|
||||
border-radius: 15px;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 15px;
|
||||
padding: 20px 0px 5px 0px;
|
||||
background: #fff;
|
||||
box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%);
|
||||
position: relative;
|
||||
}
|
||||
.tab_lable {
|
||||
position: absolute;
|
||||
top: -10px;
|
||||
left: -8px;
|
||||
background: #d4b98c;
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
padding: 3px 10px;
|
||||
border-radius: 15px 0px 15px 15px;
|
||||
z-index: 20;
|
||||
}
|
||||
.data_line {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.data_line_item {
|
||||
width: 100px;
|
||||
text-align: center;
|
||||
/*margin: 0 20px;*/
|
||||
}
|
||||
.num {
|
||||
font-family: tttgbnumber;
|
||||
font-size: 24px;
|
||||
}
|
||||
.data_box .lable {
|
||||
font-size: 14px;
|
||||
color: #7f858a;
|
||||
line-height: 1;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
.list{
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.list .item {
|
||||
width: 430px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: #f1f1f1;
|
||||
padding: 8px 6px 8px 6px;
|
||||
border-radius: 8px;
|
||||
margin: 0 0px 10px 10px;
|
||||
}
|
||||
.list .item .icon{
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
position: relative;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.list .item .title{
|
||||
font-size: 16px;
|
||||
margin-left: 6px;
|
||||
line-height: 20px;
|
||||
}
|
||||
/* .list .item .title .text{
|
||||
white-space: nowrap;
|
||||
} */
|
||||
.list .item .title .dec{
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
margin-top: 2px;
|
||||
}
|
||||
.logo {
|
||||
font-size: 14px;
|
||||
font-family: "tttgbnumber";
|
||||
text-align: center;
|
||||
color: #7994a7;
|
||||
}
|
||||
|
|
@ -1,167 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>bangzhu</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="title">
|
||||
ChatGPT-Plugin v2.4.9 帮助
|
||||
</div>
|
||||
<div class="chart" id="chart">
|
||||
<div class="chart-category">
|
||||
聊天
|
||||
</div>
|
||||
<div class="chart-right" id="chart-right">
|
||||
<div class="block">
|
||||
<div class="icon">
|
||||
<img src="../img/icon/chat.png">
|
||||
</div>
|
||||
<div class="block-title">
|
||||
与机器人聊天
|
||||
</div>
|
||||
<div class="block-content">
|
||||
@机器人进行聊天,或者使用前缀#chat
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="block"></div>
|
||||
<div class="block"></div>
|
||||
<div class="block"></div>
|
||||
<div class="block"></div>
|
||||
<div class="block"></div>
|
||||
<div class="block"></div>
|
||||
<div class="block"></div>
|
||||
<div class="block"></div>
|
||||
<div class="block"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
<style>
|
||||
.container {
|
||||
width: 830px;
|
||||
background: #6B84FF;
|
||||
border-radius: 5px;
|
||||
background: url("../img/icon/chatgpt.png");
|
||||
min-height: 1000px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 1500px 1500px;
|
||||
background-position: -100px 0;
|
||||
}
|
||||
.title {
|
||||
padding-top: 20px;
|
||||
font-size: 22px;
|
||||
font-weight: bolder;
|
||||
font-family: "Josefin Sans", sans-serif;
|
||||
color: #e7fff4;
|
||||
text-align: center;
|
||||
background-image: -webkit-linear-gradient(left, #ffffff, #ecfffd, #d9ffec);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.chart {
|
||||
display: flex;
|
||||
border-radius: 5px;
|
||||
width: 675px;
|
||||
margin-left: 75px;
|
||||
background: inherit;
|
||||
min-height: 800px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
box-shadow: 0 0 15px 15px #d8e1ff;
|
||||
/*filter: blur(10px);*/
|
||||
}
|
||||
.chart-category {
|
||||
width: 60px;
|
||||
font-size: 20px;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
height: 317px;
|
||||
font-weight: bold;
|
||||
border-bottom: #b7c7ff solid 2px;
|
||||
/*border-right: #b7c7ff solid 2px;*/
|
||||
padding-top: 290px;
|
||||
/*box-shadow: 0 0 3px 3px #d8e1ff;*/
|
||||
}
|
||||
.chart-right {
|
||||
width: 620px;
|
||||
position: absolute;
|
||||
left: 60px;
|
||||
}
|
||||
.chart:before {
|
||||
border-radius: 5px;
|
||||
content: '';
|
||||
width: 6360px;
|
||||
height: 100%;
|
||||
background: inherit;
|
||||
position: absolute;
|
||||
left: 75px;
|
||||
/*right: 0;*/
|
||||
top: 100px;
|
||||
/*bottom: 0;*/
|
||||
/*opacity: 0.9;*/
|
||||
/*box-shadow: inset 0 0 0 200px rgba(255,255,255,0.3);*/
|
||||
filter: blur(10px);
|
||||
}
|
||||
.block {
|
||||
width: 151px;
|
||||
height: 200px;
|
||||
border: #b7c7ff solid 2px;
|
||||
position: absolute;
|
||||
/*box-shadow: 0 0 3px 3px #d8e1ff;*/
|
||||
/*border-radius: 2px;*/
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
margin: auto;
|
||||
padding-top: 20px;
|
||||
}
|
||||
.icon img {
|
||||
width: 50px;
|
||||
}
|
||||
.block-title {
|
||||
font-size: 18px;
|
||||
text-align: center;
|
||||
color: #ffffff;
|
||||
margin-top: 10px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.block-content {
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
padding-top: 10px;
|
||||
width: 90%;
|
||||
margin: auto;
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
const chart = document.getElementById('chart-right');
|
||||
const block = chart.querySelectorAll('.block');
|
||||
|
||||
const chartWidth = chart.offsetWidth;
|
||||
const chartHeight = chart.offsetHeight;
|
||||
|
||||
const blockWidth = block[0].offsetWidth;
|
||||
const blockHeight = block[0].offsetHeight;
|
||||
|
||||
const blocksPerRow = Math.floor(chartWidth / blockWidth);
|
||||
const rows = Math.ceil(block.length / blocksPerRow);
|
||||
|
||||
for (let i = 0; i < block.length; i++) {
|
||||
const row = Math.floor(i / blocksPerRow);
|
||||
const col = i % blocksPerRow;
|
||||
|
||||
block[i].style.top = (row * blockHeight) + 'px';
|
||||
block[i].style.left = (col * blockWidth) + 'px';
|
||||
}
|
||||
|
||||
</script>
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
|
||||
<link rel="stylesheet" type="text/css" href="{{pluResPath}}help/help.css" />
|
||||
<link rel="shortcut icon" href="#" />
|
||||
</head>
|
||||
{{@headStyle}}
|
||||
|
||||
<body>
|
||||
<div class="container" id="container">
|
||||
<div class="head_box">
|
||||
<div class="id_text">ChatGPT-Plugin {{version}}</div>
|
||||
<h2 class="day_text">使用说明</h2>
|
||||
<img class="chatgpt_logo" src="{{pluResPath}}img/icon/chatgpt.png"/>
|
||||
</div>
|
||||
{{each helpData val}}
|
||||
<div class="data_box">
|
||||
<div class="tab_lable">{{val.group}}</div>
|
||||
<div class="list">
|
||||
{{each val.list item}}
|
||||
<div class="item">
|
||||
<img class="icon" src="{{pluResPath}}img/icon/{{item.icon}}.png" />
|
||||
<div class="title">
|
||||
<div class="text">{{item.title}}</div>
|
||||
<div class="dec">{{item.desc}}</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
<div class="logo">Created By Yunzai-Bot and ChatGPT-Plugin {{version}}</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
Before Width: | Height: | Size: 228 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 189 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 6.9 KiB |
|
Before Width: | Height: | Size: 5.8 KiB |
|
Before Width: | Height: | Size: 8.2 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 8.1 KiB |
|
Before Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 7.3 KiB |
|
Before Width: | Height: | Size: 6.5 KiB |
|
Before Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
|
@ -1,48 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WordCloud</title>
|
||||
<script src="{{pluResPath}}/wordcloud/js2wordcloud.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="wordcloud2" style="width: 640px;height: 350px"></div>
|
||||
<script>
|
||||
let list = JSON.parse('{{@ list}}')
|
||||
var wc = new Js2WordCloud(document.getElementById('wordcloud2'))
|
||||
wc.setOption({
|
||||
tooltip: {
|
||||
show: true
|
||||
},
|
||||
list: list,
|
||||
color: 'random-light',
|
||||
fontFamily: 'Microsoft YaHei'
|
||||
})
|
||||
|
||||
</script>
|
||||
<div class="logo">Created By Yunzai-Bot and ChatGPT-Plugin {{version}}</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
user-select: none;
|
||||
}
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
font-size: 16px;
|
||||
width: 640px;
|
||||
color: #1e1f20;
|
||||
transform: scale(1.5);
|
||||
transform-origin: 0 0;
|
||||
}
|
||||
.logo {
|
||||
font-size: 14px;
|
||||
font-family: "tttgbnumber";
|
||||
text-align: center;
|
||||
color: #7994a7;
|
||||
}
|
||||
</style>
|
||||