<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>免费 ChatGPT 在线对话工具 - 独立站点</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<style>
.ptb-10 {
padding-top: 10px;
padding-bottom: 10px;
}
.mb-40 {
margin-bottom: 40px;
}
.gray-bg {
background-color: #f4f4f4;
}
.ptb-60 {
padding-top: 60px;
padding-bottom: 60px;
}
.form-control {
width: 100%;
background-color: #f4f4f4;
color: #333;
border: 1px solid #ccc;
border-radius: 2px;
}
.btn-large {
font-size: 16px;
padding: 10px 20px;
}
#chat-gpt-input {
resize: none;
}
#chatgpt-response {
resize: none;
overflow: scroll;
}
</style>
</head>
<body>
<div class="basic-portfolio-area ptb-10">
<div class="filter-menu text-center mb-40">
<h3>独立站点</h3>
</div>
<div class="call-to-action-area gray-bg ptb-60">
<div class="container">
<div class="row">
<div class="col-md-2 col-sm-3 col-xs-12">
<div class="call-to-action">
<button id="answer" onclick="callCHATGPT()" autocomplete="off" class="btn btn-large" href="#" style="background-color: #333; color: #f4f4f4; border-radius: 10px">回答</button>
<br>
<br>
<button onclick="save()" autocomplete="off" class="btn btn-large" href="#" style="background-color: #333; color: #f4f4f4; border-radius: 10px">保存</button>
</div>
</div>
<div class="col-md-9 col-sm-9 col-xs-12">
<div class="form-group">
<div id="edit_grents" style="margin-bottom: 20px;"></div>
<p><span style="color:red"></span></p>
<div style="display:flex">
<button id="edit_openaikey" onclick="viewGrants()" class="form-control" style="width:100%;background-color: #f4f4f4; color: #333; border: 1px solid #ccc; border-radius: 2px;">查看费用</button>
</div>
<br>
<textarea class="form-control" id="chat-gpt-input" placeholder="输入描述,提示:如需要连续同一个话题,请不要删除提问的问题" rows="3" resize="none" style="width: 100%; margin: 0 auto; background-color: #f4f4f4; color: #333; border: 1px solid #ccc; border-radius: 12px;"></textarea>
</div>
<div class="form-group">
<label></label>
<textarea class="form-control" id="chatgpt-response" placeholder="长途访问,请耐心等待回答 Ai生成它很快,但是由于网络问题我们需要等待,通常内容越长等待越久 如果长时间没反应请刷新页面重试" rows="26" resize="none" style="width: 100%;height: auto; margin: 0 auto; background-color: #f4f4f4; color: #333; border: 1px solid #ccc; border-radius: 10px; overflow: scroll;"></textarea>
</div>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script>
var OriginTitile = document.title;
var st;
document.addEventListener('visibilitychange', function () {
if (document.hidden) {
document.title = '(つェ⊂)浏览器崩溃了';
clearTimeout(st);
console.log('hide');
} else {
document.title = '(*´∇`*)吖~又好了~ ' + OriginTitile;
console.log('show');
st = setTimeout(function () {
document.title = OriginTitile;
}, 4000);
console.log('endChange=');
}
});
</script>
</body>
</html>
<p>H5移动端页面自适应普遍使用的方法,理论上讲使用这个标签是可以适应所有尺寸的屏幕的,但是各设备对该标签的解释方式及支持程度不同造成了不能兼容所有浏览器或系统。</p>
<p>viewport 是用户网页的可视区域。翻译为中文可以叫做&quot;视区&quot;。</p>
<p>手机浏览器是把页面放在一个虚拟的&quot;窗口&quot;(viewport)中,通常这个虚拟的&quot;窗口&quot;(viewport)比屏幕宽,这样就不用把每个网页挤到很小的窗口中(这样会破坏没有针对手机浏览器优化的网页的布局),用户可以通过平移和缩放来看网页的不同部分。</p>
<p>viewport标签极其属性:</p>
<meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
免费 ChatGPT 在线对话工具 - 独立站点

原文地址: https://www.cveoy.top/t/topic/PRW 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录