谢嬴

💡 本资源需花费 10 积分 下载 | 新用户注册即送 100 积分,可免费下载!

谢嬴

🎭 角色简介

<info>
<character>
“`yaml
谢嬴:
Chinese name: 谢嬴
age: 23
gender: male
height: 189cm
birthday: 6月12日
identity:
– {{user}}的前男友…

💬 开场白

“`html
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NARRATIVE</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Space+Grotesk:wght@300;400;500;600&display=swap');

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

:root {
–primary: #0A0A0A;
–danger: #DC143C;
–platinum: #E5E4E2;
–smoke: rgba(255, 255, 255, 0.03);
–transition: cubic-bezier(0.23, 1, 0.32, 1);
}

body {
font-family: 'Space Grotesk', sans-serif;
background: var(–primary);
color: var(–platinum);
min-height: 100vh;
overflow-x: hidden;
cursor: crosshair;
position: relative;
}

/* 提示面板样式 */
.tips-panel {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 100;
background: rgba(10, 10, 10, 0.95);
backdrop-filter: blur(20px);
border-bottom: 1px solid rgba(220, 20, 60, 0.3);
transition: all 0.5s var(–transition);
}

.tips-toggle {
display: block;
width: 200px;
margin: 15px auto;
padding: 12px 24px;
background: transparent;
border: 1px solid rgba(229, 228, 226, 0.2);
color: var(–platinum);
font-family: 'Space Grotesk', sans-serif;
font-size: 0.9rem;
letter-spacing: 0.1em;
text-transform: uppercase;
cursor: pointer;
position: relative;
overflow: hidden;
transition: all 0.3s ease;
}

.tips-toggle::before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: var(–danger);
transition: left 0.3s ease;
z-index: -1;
}

.tips-toggle:hover {
border-color: var(–danger);
color: white;
}

.tips-toggle:hover::before {
left: 0;
}

.tips-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.5s var(–transition);
background: rgba(0, 0, 0, 0.5);
}

.tips-panel.expanded .tips-content {
max-height: 400px;
}

.tips-inner {
padding: 30px 20px;
max-width: 900px;
margin: 0 auto;
}

.tips-list {
display: grid;
gap: 20px;
}

.tip-item {
position: relative;
padding: 20px 30px;
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(229, 228, 226, 0.1);
clip-path: polygon(0 0, calc(100% – 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% – 15px));
transition: all 0.3s ease;
}

.tip-item::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 3px;
height: 100%;
background: var(–danger);
opacity: 0;
transition: opacity 0.3s ease;
}

.tip-item:hover {
background: rgba(255, 255, 255, 0.05);
transform: translateX(5px);
}

.tip-item:hover::before {
opacity: 1;
}

.tip-number {
display: inline-block;
width: 30px;
height: 30px;
line-height: 30px;
text-align: center;
background: rgba(220, 20, 60, 0.2);
color: var(–danger);
font-weight: 600;
margin-right: 15px;
clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.tip-text {
display: inline-block;
color: rgba(229, 228, 226, 0.9);
font-size: 0.95rem;
line-height: 1.6;
}

.tip-highlight {
color: var(–danger);
font-weight: 500;
}

/* 液态背景效果 */
#liquid-bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 0;
}

.liquid-layer {
position: absolute;
width: 150%;
height: 150%;
top: -25%;
left: -25%;
background:
radial-gradient(circle at 30% 40%, var(–danger) 0%, transparent 50%),
radial-gradient(circle at 70% 60%, rgba(220, 20, 60, 0.1) 0%, transparent 50%);
filter: blur(100px);
opacity: 0.15;
animation: liquidFlow 20s ease-in-out infinite;
}

@keyframes liquidFlow {
0%, 100% { transform: rotate(0deg) scale(1); }
33% { transform: rotate(120deg) scale(1.1); }
66% { transform: rotate(240deg) scale(0.9); }
}

/* 烟雾粒子 */
.smoke-particle {
position: fixed;
width: 200px;
height: 200px;
background: radial-gradient(circle, var(–smoke) 0%, transparent 70%);
border-radius: 50%;
pointer-events: none;
animation: smokeRise 15s linear infinite;
}

@keyframes smokeRise {
0% {
transform: translateY(100vh) scale(0);
opacity: 0;
}
10% {
opacity: 0.3;
}
90% {
opacity: 0.3;
}
100% {
transform: translateY(-100vh) scale(3);
opacity: 0;
}
}

/* 主容器 */
.main-wrapper {
position: relative;
z-index: 10;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
padding-top: 80px; /* 为提示面板留出空间 */
}

.container {
width: 100%;
max-width: 900px;
position: relative;
}

/* 撕裂边框效果 */
.torn-border {
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: linear-gradient(45deg, var(–danger), transparent, var(–danger));
opacity: 0;
transition: opacity 0.6s var(–transition);
clip-path: polygon(
0% 0%, 3% 0%, 3% 3%, 6% 3%, 6% 0%, 10% 0%, 10% 2%, 15% 2%, 15% 0%,
100% 0%, 100% 85%, 98% 85%, 98% 88%, 100% 88%, 100% 100%,
15% 100%, 15% 98%, 10% 98%, 10% 100%, 6% 100%, 6% 97%, 3% 97%, 3% 100%, 0% 100%
);
}

.container:hover .torn-border {
opacity: 0.5;
}

/* 标题区域 */
.header {
text-align: center;
margin-bottom: 60px;
position: relative;
}

.title {
font-family: 'Playfair Display', serif;
font-size: clamp(3rem, 8vw, 5rem);
font-weight: 400;
letter-spacing: 0.2em;
color: var(–platinum);
position: relative;
display: inline-block;
}

.title::before,
.title::after {
content: attr(data-text);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}

.title::before {
color: var(–danger);
animation: glitch1 2.5s infinite;
}

.title::after {
color: var(–platinum);
animation: glitch2 2.5s infinite;
}

@keyframes glitch1 {
0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
20% { clip-path: inset(20% 0 60% 0); transform: translate(-2px, 2px); }
40% { clip-path: inset(50% 0 20% 0); transform: translate(2px, -2px); }
60% { clip-path: inset(10% 0 80% 0); transform: translate(-1px, 1px); }
80% { clip-path: inset(80% 0 10% 0); transform: translate(1px, -1px); }
}

@keyframes glitch2 {
0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
20% { clip-path: inset(80% 0 10% 0); transform: translate(1px, -1px); }
40% { clip-path: inset(10% 0 80% 0); transform: translate(-1px, 1px); }
60% { clip-path: inset(50% 0 20% 0); transform: translate(2px, -2px); }
80% { clip-path: inset(20% 0 60% 0); transform: translate(-2px, 2px); }
}

.subtitle {
font-size: 0.9rem;
letter-spacing: 0.3em;
text-transform: uppercase;
color: rgba(229, 228, 226, 0.5);
margin-top: 10px;
}

/* 故事列表 */
.stories-container {
position: relative;
}

.story-item {
position: relative;
margin-bottom: 30px;
opacity: 0;
animation: fadeInUp 0.8s forwards;
animation-delay: calc(var(–index) * 0.1s);
}

@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
from {
opacity: 0;
transform: translateY(30px);
}
}

.story-link {
display: block;
position: relative;
padding: 40px;
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.05);
text-decoration: none;
color: inherit;
transition: all 0.4s var(–transition);
overflow: hidden;
clip-path: polygon(0 0, calc(100% – 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% – 20px));
}

.story-link::before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(220, 20, 60, 0.1), transparent);
transition: left 0.6s var(–transition);
}

.story-link:hover::before {
left: 100%;
}

.story-link:hover {
background: rgba(255, 255, 255, 0.05);
border-color: var(–danger);
transform: translateX(10px);
}

/* 故事编号 */
.story-number {
position: absolute;
top: 40px;
left: 40px;
font-size: 4rem;
font-weight: 600;
color: rgba(220, 20, 60, 0.2);
font-family: 'Playfair Display', serif;
font-style: italic;
transition: all 0.4s var(–transition);
}

.story-link:hover .story-number {
color: rgba(220, 20, 60, 0.5);
transform: scale(1.1) rotate(-5deg);
}

/* 故事内容 */
.story-content {
padding-left: 120px;
}

.story-title {
font-size: 1.8rem;
font-weight: 400;
margin-bottom: 10px;
letter-spacing: 0.05em;
position: relative;
display: inline-block;
}

.story-title::after {
content: "";
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background: var(–danger);
transition: width 0.4s var(–transition);
}

.story-link:hover .story-title::after {
width: 100%;
}

.story-description {
color: rgba(229, 228, 226, 0.6);
line-height: 1.6;
font-size: 0.95rem;
font-weight: 300;
}

/* 标签 */
.story-tags {
margin-top: 15px;
display: flex;
gap: 10px;
flex-wrap: wrap;
}

.tag {
padding: 5px 15px;
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.1em;
border: 1px solid rgba(229, 228, 226, 0.2);
transition: all 0.3s ease;
}

.tag:hover {
border-color: var(–danger);
color: var(–danger);
}

.tag.warning {
border-color: rgba(220, 20, 60, 0.5);
color: var(–danger);
}

/* 加载状态 */
.loading {
text-align: center;
padding: 60px;
font-style: italic;
color: rgba(229, 228, 226, 0.5);
}

.loading::after {
content: "";
display: inline-block;
width: 20px;
height: 20px;
margin-left: 10px;
border: 2px solid rgba(220, 20, 60, 0.3);
border-top-color: var(–danger);
border-radius: 50%;
animation: spin 1s linear infinite;
}

@keyframes spin {
to { transform: rotate(360deg); }
}

/* 鼠标跟随效果 */
.cursor-follow {
position: fixed;
width: 20px;
height: 20px;
border: 2px solid var(–danger);
border-radius: 50%;
pointer-events: none;
z-index: 9999;
transition: all 0.1s ease;
mix-blend-mode: difference;
}

/* 响应式 */
@media (max-width: 768px) {
body { cursor: default; }
.cursor-follow { display: none; }

.tips-panel {
position: relative;
}

.main-wrapper {
padding-top: 20px;
}

.tip-item {
padding: 15px 20px;
}

.story-link {
padding: 30px 20px;
}

.story-number {
font-size: 3rem;
top: 30px;
left: 20px;
}

.story-content {
padding-left: 80px;
}

.story-title {
font-size: 1.4rem;
}

.title {
letter-spacing: 0.1em;
}
}

/* 特殊视觉效果 */
@supports (backdrop-filter: blur(10px)) {
.story-link {
backdrop-filter: blur(10px);
}
}

/* 音效反馈样式 */
.story-link:active {
transform: scale(0.98);
}
</style>
</head>
<body>
<audio id="hover-sound" src="data:audio/wav;base64,UklGRnoGAABXQVZFZm10IBAAAAABAAEARKwAAIhYAQACABAAZGF0YQoGAACBhYqFbF1fdJivrJBhNjVgodDbq2EcBj+a2/LDciUFLIHO8tiJNwgZaLvt559NEAxQp+PwtmMcBjiR1/LMeSwFJHfH8N2QQAoUXrTp66hVFApGn+DyvmwhBTGH0fPTgjMGHm7A7+OZURE…" preload="auto"></audio>
<audio id="click-sound" src="https://files.catbox.moe/31vqt3.mp3" preload="auto"></audio>

<!– 提示面板 –>
<div class="tips-panel" id="tips-panel">
<button class="tips-toggle" id="tips-toggle">请点击查看提示</button>
<div class="tips-content">
<div class="tips-inner">
<div class="tips-list">
<div class="tip-item">
<span class="tip-number">1</span>
<span class="tip-text">世界书 <span class="tip-highlight">"人设修正"</span> 分为Claude专用与其它,注意开关</span>
</div>
<div class="tip-item">
<span class="tip-number">2</span>
<span class="tip-text">有两个状态栏,一个 <span class="tip-highlight">暗色系</span>,一个 <span class="tip-highlight">萌版</span>,在正则自行开关</span>
</div>
<div class="tip-item">
<span class="tip-number">3</span>
<span class="tip-text">手机有 <span class="tip-highlight">两种壁纸</span>,也是在正则自行开关</span>
</div>
</div>
</div>
</div>
</div>

<!– 液态背景 –>
<div id="liquid-bg">
<div class="liquid-layer"></div>
</div>

<!– 烟雾粒子容器 –>
<div id="smoke-container"></div>

<!– 鼠标跟随 –>
<div class="cursor-follow"></div>

<!– 主内容 –>
<div class="main-wrapper">
<div class="container">
<div class="torn-border"></div>

<header class="header">
<h1 class="title" data-text="NARRATIVE">NARRATIVE</h1>
<p class="subtitle">Choose Your Poison</p>
</header>

<div class="stories-container" id="stories-container">
<div class="loading" id="loading">Initializing narrative matrix</div>
</div>
</div>
</div>

<script>
// 提示面板展开/折叠功能
const tipsPanel = document.getElementById('tips-panel');
const tipsToggle = document.getElementById('tips-toggle');

tipsToggle.addEventListener('click', () => {
tipsPanel.classList.toggle('expanded');
if (tipsPanel.classList.contains('expanded')) {
tipsToggle.textContent = '点击折叠';
} else {
tipsToggle.textContent = '请点击查看提示';
}
});

// 烟雾粒子生成
function createSmoke() {
const container = document.getElementById('smoke-container');
const particle = document.createElement('div');
particle.className = 'smoke-particle';
particle.style.left = Math.random() * window.innerWidth + 'px';
particle.style.animationDelay = Math.random() * 15 + 's';
particle.style.animationDuration = (15 + Math.random() * 10) + 's';
container.appendChild(particle);

setTimeout(() => particle.remove(), 25000);
}

// 定期生成烟雾
setInterval(createSmoke, 3000);

// 鼠标跟随效果
const cursor = document.querySelector('.cursor-follow');
let mouseX = 0, mouseY = 0;
let cursorX = 0, cursorY = 0;

document.addEventListener('mousemove', (e) => {
mouseX = e.clientX;
mouseY = e.clientY;
});

function animateCursor() {
const dx = mouseX – cursorX;
const dy = mouseY – cursorY;

cursorX += dx * 0.1;
cursorY += dy * 0.1;

cursor.style.left = cursorX – 10 + 'px';
cursor.style.top = cursorY – 10 + 'px';

requestAnimationFrame(animateCursor);
}

animateCursor();

// 音效系统
const hoverSound = document.getElementById('hover-sound');
const clickSound = document.getElementById('click-sound');

// 主要功能
document.addEventListener('DOMContentLoaded', async () => {
const container = document.getElementById('stories-container');
const loading = document.getElementById('loading');

try {
const messages = await getChatMessages("0", { include_swipe: true });

if (!messages || messages.length === 0 || !messages[0].swipes || messages[0].swipes.length <= 1) {
container.innerHTML = '<div class="loading">No narratives found in the void</div>';
return;
}

loading.style.display = 'none';

for (let i = 1; i < messages[0].swipes.length; i++) {
const content = messages[0].swipes[i];
const swipeId = i;

let title = `Chapter ${String(i).padStart(2, '0')}`;
let description = "";

const titleMatch = content.match(/<!–s*title:s*(.*?)s*–>/);
if (titleMatch) title = titleMatch[1].trim();

const descMatch = content.match(/<!–s*desc:s*(.*?)(?=s*–>)–>/s);
if (descMatch) description = descMatch[1].trim();

const storyItem = document.createElement('div');
storyItem.className = 'story-item';
storyItem.style.setProperty('–index', i – 1);

storyItem.innerHTML = `
<a href="#" class="story-link" data-swipe="${swipeId}">
<div class="story-number">${String(i).padStart(2, '0')}</div>
<div class="story-content">
<h2 class="story-title">${title}</h2>
${description ? `<p class="story-description">${description}</p>` : ''}
</div>
</a>
`;

container.appendChild(storyItem);
}

// 事件绑定
document.querySelectorAll('.story-link').forEach(link => {
link.addEventListener('mouseenter', () => {
if (hoverSound.readyState >= 2) {
hoverSound.currentTime = 0;
hoverSound.volume = 0.3;
hoverSound.play().catch(() => {});
}
});

link.addEventListener('click', async (e) => {
e.preventDefault();

// 视觉反馈
link.style.transform = 'scale(0.95)';

// 音效
if (clickSound.readyState >= 2) {
clickSound.currentTime = 0;
clickSound.play().catch(() => {});
}

const swipeId = parseInt(link.dataset.swipe);
await switchToStory(swipeId);
});
});

} catch (error) {
console.error('Error loading stories:', error);
container.innerHTML = '<div class="loading">Error accessing narrative matrix</div>';
}
});

async function switchToStory(swipeId) {
try {
const messages = await getChatMessages("0", { include_swipe: true });
if (messages && messages[0].swipes && messages[0].swipes[swipeId]) {
await setChatMessage(messages[0].swipes[swipeId], 0, {
swipe_id: swipeId,
refresh: 'display_and_render_current'
});
}
} catch (error) {
console.error('Error switching story:', error);
}
}

// 初始烟雾
for (let i = 0; i < 3; i++) {
setTimeout(createSmoke, i * 1000);
}
</script>
</body>
</html>
“`

角色卡

谢嬴

2026-3-13 4:02:04

角色卡

贺时年

2026-3-13 4:02:17

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索