mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 22:07:10 +00:00
修复一些图片模式页面错误,添加图片页面服务器自定义配置,修改配置文件加载方法 (#172)
This commit is contained in:
parent
6b9afe588a
commit
049e71b7bb
203 changed files with 2071 additions and 1385 deletions
|
|
@ -6,10 +6,10 @@
|
|||
<meta charset="utf-8">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<!--====== CSS Here ======-->
|
||||
<link rel="stylesheet" href="{{pluResPath}}content/Bing/static/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="{{pluResPath}}content/Bing/static/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="{{pluResPath}}content/Bing/static/css/hljs.css">
|
||||
<link rel="stylesheet" href="{{pluResPath}}content/Bing/static/css/style.css">
|
||||
<link rel="stylesheet" href="{{pluResPath}}content/static/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="{{pluResPath}}content/static/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="{{pluResPath}}content/static/css/hljs.css">
|
||||
<link rel="stylesheet" href="{{pluResPath}}content/Bing/style.css">
|
||||
|
||||
</head>
|
||||
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
<div class="row">
|
||||
<div class="col-lg-3 col-4 my-auto">
|
||||
<a href="#" class="site-logo">
|
||||
<img src="{{pluResPath}}content/Bing/static/picture/bing.png" alt="LOGO">
|
||||
<img src="{{pluResPath}}content/static/picture/bing.png" alt="LOGO">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -31,8 +31,8 @@
|
|||
<div class="col-xl-5 col-lg-5 text-right">
|
||||
<div class="section-heading">
|
||||
<h2>New Bing</h2>
|
||||
{{if cache != ''}}
|
||||
<p> {{cache}} </p>
|
||||
{{if cache.file != ''}}
|
||||
<p> {{cache.file}} </p>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -59,22 +59,22 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{if quote.length > 0}}
|
||||
{{if quote}}
|
||||
<div class="row">
|
||||
<div class="col-xl-12">
|
||||
<div class="hero-content">
|
||||
<h4>引用</h4>
|
||||
</div>
|
||||
<div class="about-content">
|
||||
{{each quote item}}
|
||||
<p class="markdown">{{item}}</p>
|
||||
{{each quotes item}}
|
||||
<p>{{item}}</p>
|
||||
{{/each}}
|
||||
<span class="height-50"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{if cache != ''}}
|
||||
{{if cache.file != ''}}
|
||||
<div id="qrcode" class="row justify-content-end"></div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
@ -96,13 +96,13 @@
|
|||
<!-- footer end -->
|
||||
|
||||
<!--========= JS Here =========-->
|
||||
<script src="{{pluResPath}}content/Bing/static/js/jquery-2.2.4.min.js"></scr>
|
||||
<script src="{{pluResPath}}content/Bing/static/js/jquery.qrcode.min.js"></script>
|
||||
<script src="{{pluResPath}}content/Bing/static/js/highlight.min.js"></script>
|
||||
<script src="{{pluResPath}}content/Bing/static/js/marked.min.js"></script>
|
||||
<script src="{{pluResPath}}content/Bing/static/js/tex-mml-chtml.js"></script>
|
||||
<script src="{{pluResPath}}content/Bing/static/js/main.js"></script>
|
||||
<script src="{{pluResPath}}content/Bing/static/js/purify.min.js"></script>
|
||||
<script src="{{pluResPath}}content/static/js/jquery-2.2.4.min.js"></script>
|
||||
<script src="{{pluResPath}}content/static/js/jquery.qrcode.min.js"></script>
|
||||
<script src="{{pluResPath}}content/static/js/highlight.min.js"></script>
|
||||
<script src="{{pluResPath}}content/static/js/marked.min.js"></script>
|
||||
<script src="{{pluResPath}}content/static/js/tex-mml-chtml.js"></script>
|
||||
<script src="{{pluResPath}}content/static/js/main.js"></script>
|
||||
<script src="{{pluResPath}}content/static/js/purify.min.js"></script>
|
||||
|
||||
<script>
|
||||
marked.setOptions({
|
||||
|
|
@ -123,7 +123,7 @@
|
|||
const sanitizedHtml = DOMPurify.sanitize(html);
|
||||
|
||||
$(".markdown").html(sanitizedHtml);
|
||||
jQuery('#qrcode').qrcode({width: 128,height: 128,text: "http://content.alcedogroup.com/{{cache}}"});
|
||||
jQuery('#qrcode').qrcode({width: 128,height: 128,text: "{{cache.cacheUrl}}/{{cache.file}}"});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue