AI家宽个人使用教程分享
<div class="ce-block" data-id="4xxNKsCgJw" ><div class="ce-block__content" style="">
<h2 class="ce-header ce-header--left">部署工具</h2>
</div>
</div><div class="ce-block ce-block--focused" data-id="woMwaHGvrn" >
<div class="ce-block__content">
<ul class="cdx-list-unordered"><li class="cdx-list__item"><a href="https://github.com/binaricat/Netcatty/releases/tag/v1.1.80" rel="noopener nofollow ugc">Netcatty</a></li></ul>
</div>
</div><div class="ce-block" data-id="w5Vgnb6BlP" >
<div class="ce-block__content" style="">
<h2 class="ce-header ce-header--left">客户端工具</h2>
</div>
</div><div class="ce-block ce-block--focused" data-id="2IMsoQpmVY" >
<div class="ce-block__content">
<ul class="cdx-list-unordered"><li class="cdx-list__item"><a href="https://apps.apple.com/us/app/shadowrocket/id932747118?l=zh-Hans-CN" rel="noopener nofollow ugc">Shadowrocket</a></li><li class="cdx-list__item"><a href="https://github.com/clash-verge-rev/clash-verge-rev/releases" rel="noopener nofollow ugc">Clash Verge Rev</a></li><li class="cdx-list__item"><a href="https://github.com/2dust/v2**yN/releases#release-7.24.4" rel="noopener nofollow ugc">v2**yN</a></li><li class="cdx-list__item"><a href="https://github.com/Matsuridayo/NekoBoxForAndroid/releases" rel="noopener nofollow ugc">NekoBox</a></li></ul>
</div>
</div><div class="ce-block" data-id="tpPAeQqfWS" >
<div class="ce-block__content" style="">
<h2 class="ce-header ce-header--left">部署教程</h2>
</div>
</div><div class="ce-block" data-id="373TgwoFZV" >
<div class="ce-block__content" style="">
<h3 class="ce-header ce-header--left"> 配置密钥链接</h3>
</div>
</div><div class="ce-block ce-block--focused" data-id="Av6BiL-ubQ" >
<div class="ce-block__content">
<div class="ce-paragraph cdx-block ce-paragraph--left"> <span style="color: rgb(34, 34, 34); font-family: Inter, Arial, sans-serif; font-variant-ligatures: none; background-color: rgb(248, 248, 248);">生成密钥</span></div>
</div>
</div><div class="ce-block ce-block--focused" data-id="FfVaIS1B25" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled ">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_FfVaIS1B25" class="image-tool__image-picture _zoom" src="http://idceve.com/data/attachment/forum/202609/14/140545l39m3v6wjjz3k3gn.png" title="" alt="" data-aid="169"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block ce-block--focused" data-id="owWlvnpYgS" >
<div class="ce-block__content">
<div class="ce-paragraph cdx-block ce-paragraph--left"> <span style="color: rgb(34, 34, 34); font-family: Inter, Arial, sans-serif; font-variant-ligatures: none; background-color: rgb(248, 248, 248);">拷贝公钥到VPS控制台添加</span></div>
</div>
</div><div class="ce-block ce-block--focused" data-id="MYG162edSb" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled ">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_MYG162edSb" class="image-tool__image-picture _zoom" src="http://idceve.com/data/attachment/forum/202609/14/140558rrharmh00ffwzrtw.png" title="" alt="" data-aid="170"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block ce-block--focused" data-id="mMS-is5XLv" >
<div class="ce-block__content">
<div class="ce-paragraph cdx-block ce-paragraph--left"> <span style="color: rgb(34, 34, 34); font-family: Inter, Arial, sans-serif; font-variant-ligatures: none; background-color: rgb(248, 248, 248);">这里以搬瓦工控制台为例</span></div>
</div>
</div><div class="ce-block ce-block--focused" data-id="Dac105Swgt" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled ">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_Dac105Swgt" class="image-tool__image-picture _zoom" src="http://idceve.com/data/attachment/forum/202609/14/140614gjibov5majiotyx9.png" title="" alt="" data-aid="171"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block ce-block--focused" data-id="Kzf8IRZU9h" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled ">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_Kzf8IRZU9h" class="image-tool__image-picture _zoom" src="http://idceve.com/data/attachment/forum/202609/14/140619efh8e7hri2z8kaw7.png" title="" alt="" data-aid="172"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block ce-block--focused" data-id="0Ifou6Wc8N" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled ">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_0Ifou6Wc8N" class="image-tool__image-picture _zoom" src="http://idceve.com/data/attachment/forum/202609/14/140627fmxrpxdnhguhh8ur.png" title="" alt="" data-aid="173"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block" data-id="RVcL1vzYWN" >
<div class="ce-block__content" style="">
<h3 class="ce-header ce-header--left"> 线路机器(中转机器)reality生成教程</h3>
</div>
</div><div class="ce-block ce-block--focused" data-id="nq5x0FrTX9" >
<div class="ce-block__content">
<div class="editorjs-codeFlask_Wrapper">
<div class="editorjs-codeFlask_Header">
<div class="editorjs-codeFlask_LangDisplay">shell</div>
<button class="editorjs-codeFlask_CopyButton" title="复制代码" id="codeflask-copy-nq5x0FrTX9">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>
<path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
</svg>
</button>
<button class="editorjs-codeFlask_Toggle" id="codeflask-Toggle-nq5x0FrTX9">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<polyline points="6 9 12 15 18 9"></polyline>
</svg>
</button>
</div>
<div class="editorjs-codeFlask_ContentContainer">
<div class="editorjs-codeFlask_Editor" id="codeflask-nq5x0FrTX9" >
</div>
</div>
<div class="editorjs-codeFlask_BottomButtonContainer" id="codeflask-bottomBtn-nq5x0FrTX9">
<button class="editorjs-codeFlask_BottomToggle expand-mode" title="展开代码" data-empty="false"><span class="toggle-icon">▼</span> 展开</button>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="static/js/editorjs/tools/codeflask/codeflask150.min.js?xvG"></script>
<script type="application/javascript">
const editorElem1790134523Gkyom = document.getElementById('codeflask-nq5x0FrTX9');
var isCollapsed1790134523Gkyom = true;
const flask1790134523Gkyom = new CodeFlask(editorElem1790134523Gkyom, {
language: 'shell',
lineNumbers: true,
styleParent: this.shadowRoot,
rtl: false,
readonly: true
});
var code1790134523Gkyom = `# 建议ubuntu 24.04 LTS or Debian 12 以上系统使用
# 如果忘记节点信息再次执行脚本选择查看节点信息即可
apt update && apt install wget curl unzip nano sudo vim -y && bash <(curl -Ls https://cdn.jsdelivr.net/gh/Skylush/reality-tool@main/reality_tool.sh)`;
code1790134523Gkyom = code1790134523Gkyom.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, '"').replace(/'/g, "'");
flask1790134523Gkyom.addLanguage('shell', Prism.languages['shell']);
flask1790134523Gkyom.onUpdate((code) => {
// do something with code here.
// this will trigger whenever the code
// in the editor changes.
// console.log(code)
});
// flask.updateCode('');
// This will also trigger .onUpdate()
flask1790134523Gkyom.updateCode(code1790134523Gkyom);
const currentCode1790134523Gkyom = flask1790134523Gkyom.getCode();
var coderow1790134523Gkyom = parseInt('');
if (coderow1790134523Gkyom === undefined || coderow1790134523Gkyom !== coderow1790134523Gkyom || coderow1790134523Gkyom === 0) {
coderow1790134523Gkyom = flask1790134523Gkyom.lineNumber;
}
if (coderow1790134523Gkyom < 20) {
editorElem1790134523Gkyom.parentElement.style.height = '300px';
editorElem1790134523Gkyom.style.height = '300px';
} else if (coderow1790134523Gkyom >= 20) {
editorElem1790134523Gkyom.parentElement.style.height = '500px';
editorElem1790134523Gkyom.style.height = '500px';
}
//console.log({currentCode1790134523Gkyom})
const copyBtn1790134523Gkyom = document.getElementById('codeflask-copy-nq5x0FrTX9');
copyBtn1790134523Gkyom.addEventListener('click', function() {
try {
// 先检查 Clipboard API 是否可用
if (navigator.clipboard && navigator.clipboard.writeText) {
// 使用 Clipboard API 复制代码
navigator.clipboard.writeText(code1790134523Gkyom).then(function() {
// 复制成功提示
const originalText = copyBtn1790134523Gkyom.innerHTML;
copyBtn1790134523Gkyom.innerHTML = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg> 已复制';
// 一段时间后恢复原文本
setTimeout(function() {
copyBtn1790134523Gkyom.innerHTML = originalText;
}, 2000);
}).catch(function(err) {
// 复制失败处理
console.error('复制失败:', err);
// 降级方案:使用传统的复制方法
fallbackCopyTextToClipboard(code1790134523Gkyom);
});
} else {
// Clipboard API 不可用时直接使用降级方案
fallbackCopyTextToClipboard(code1790134523Gkyom);
}
// 提取降级方案为独立函数
function fallbackCopyTextToClipboard(text) {
const textArea = document.createElement('textarea');
textArea.value = text;
textArea.style.position = 'fixed';
textArea.style.opacity = '0';
document.body.appendChild(textArea);
textArea.select();
try {
document.execCommand('copy');
const originalText = copyBtn1790134523Gkyom.innerHTML;
copyBtn1790134523Gkyom.innerHTML = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg> 已复制';
setTimeout(function() {
copyBtn1790134523Gkyom.innerHTML = originalText;
}, 2000);
} catch (copyErr) {
console.error('传统复制方法也失败了:', copyErr);
} finally {
document.body.removeChild(textArea);
}
}
} catch (err) {
console.error('复制功能不可用:', err);
}
});
const bottomBtn1790134523Gkyom = document.getElementById('codeflask-bottomBtn-nq5x0FrTX9');
const Toggle1790134523Gkyom = document.getElementById('codeflask-Toggle-nq5x0FrTX9');
bottomBtn1790134523Gkyom.addEventListener('click', function() {
if (isCollapsed1790134523Gkyom) {
// 展开代码
isCollapsed1790134523Gkyom = false;
const codeElement1790134523Gkyom = editorElem1790134523Gkyom.querySelector('.codeflask__code');
if (codeElement1790134523Gkyom) {
const actualHeight1790134523Gkyom = codeElement1790134523Gkyom.scrollHeight + 20;
editorElem1790134523Gkyom.parentElement.style.height = actualHeight1790134523Gkyom + 'px';
editorElem1790134523Gkyom.style.height = actualHeight1790134523Gkyom + 'px';
}
bottomBtn1790134523Gkyom.innerHTML = '<button class="editorjs-codeFlask_BottomToggle" title="折叠代码"><span class="toggle-icon">▲</span> 折叠</button>';
Toggle1790134523Gkyom.innerHTML = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg>';
} else {
// 折叠代码
isCollapsed1790134523Gkyom = true;
if (coderow1790134523Gkyom < 20) {
editorElem1790134523Gkyom.parentElement.style.height = '300px';
editorElem1790134523Gkyom.style.height = '300px';
} else if (coderow1790134523Gkyom >= 20) {
editorElem1790134523Gkyom.parentElement.style.height = '500px';
editorElem1790134523Gkyom.style.height = '500px';
}
bottomBtn1790134523Gkyom.innerHTML = '<button class="editorjs-codeFlask_BottomToggle expand-mode" title="展开代码" data-empty="false"><span class="toggle-icon">▼</span> 展开</button>';
Toggle1790134523Gkyom.innerHTML = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>';
}
});
Toggle1790134523Gkyom.addEventListener('click', function() {
bottomBtn1790134523Gkyom.click();
});
</script><div class="ce-block ce-block--focused" data-id="bFHzbdAfim" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled ">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_bFHzbdAfim" class="image-tool__image-picture _zoom" src="http://idceve.com/data/attachment/forum/202609/14/140721swz3ytrpw9dxpwrd.png" title="" alt="" data-aid="174"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block" data-id="5cSMp-_2C9" >
<div class="ce-block__content" style="">
<h3 class="ce-header ce-header--left"> 落地机器 SS2022 部署</h3>
</div>
</div><div class="ce-block ce-block--focused" data-id="raCsDmLxgO" >
<div class="ce-block__content">
<div class="editorjs-codeFlask_Wrapper">
<div class="editorjs-codeFlask_Header">
<div class="editorjs-codeFlask_LangDisplay">shell</div>
<button class="editorjs-codeFlask_CopyButton" title="复制代码" id="codeflask-copy-raCsDmLxgO">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>
<path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
</svg>
</button>
<button class="editorjs-codeFlask_Toggle" id="codeflask-Toggle-raCsDmLxgO">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<polyline points="6 9 12 15 18 9"></polyline>
</svg>
</button>
</div>
<div class="editorjs-codeFlask_ContentContainer">
<div class="editorjs-codeFlask_Editor" id="codeflask-raCsDmLxgO" >
</div>
</div>
<div class="editorjs-codeFlask_BottomButtonContainer" id="codeflask-bottomBtn-raCsDmLxgO">
<button class="editorjs-codeFlask_BottomToggle expand-mode" title="展开代码" data-empty="false"><span class="toggle-icon">▼</span> 展开</button>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="static/js/editorjs/tools/codeflask/codeflask150.min.js?xvG"></script>
<script type="application/javascript">
const editorElem1790134523T3IG4 = document.getElementById('codeflask-raCsDmLxgO');
var isCollapsed1790134523T3IG4 = true;
const flask1790134523T3IG4 = new CodeFlask(editorElem1790134523T3IG4, {
language: 'shell',
lineNumbers: true,
styleParent: this.shadowRoot,
rtl: false,
readonly: true
});
var code1790134523T3IG4 = `bash <(curl -L -s menu.jinqians.com)`;
code1790134523T3IG4 = code1790134523T3IG4.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, '"').replace(/'/g, "'");
flask1790134523T3IG4.addLanguage('shell', Prism.languages['shell']);
flask1790134523T3IG4.onUpdate((code) => {
// do something with code here.
// this will trigger whenever the code
// in the editor changes.
// console.log(code)
});
// flask.updateCode('');
// This will also trigger .onUpdate()
flask1790134523T3IG4.updateCode(code1790134523T3IG4);
const currentCode1790134523T3IG4 = flask1790134523T3IG4.getCode();
var coderow1790134523T3IG4 = parseInt('');
if (coderow1790134523T3IG4 === undefined || coderow1790134523T3IG4 !== coderow1790134523T3IG4 || coderow1790134523T3IG4 === 0) {
coderow1790134523T3IG4 = flask1790134523T3IG4.lineNumber;
}
if (coderow1790134523T3IG4 < 20) {
editorElem1790134523T3IG4.parentElement.style.height = '300px';
editorElem1790134523T3IG4.style.height = '300px';
} else if (coderow1790134523T3IG4 >= 20) {
editorElem1790134523T3IG4.parentElement.style.height = '500px';
editorElem1790134523T3IG4.style.height = '500px';
}
//console.log({currentCode1790134523T3IG4})
const copyBtn1790134523T3IG4 = document.getElementById('codeflask-copy-raCsDmLxgO');
copyBtn1790134523T3IG4.addEventListener('click', function() {
try {
// 先检查 Clipboard API 是否可用
if (navigator.clipboard && navigator.clipboard.writeText) {
// 使用 Clipboard API 复制代码
navigator.clipboard.writeText(code1790134523T3IG4).then(function() {
// 复制成功提示
const originalText = copyBtn1790134523T3IG4.innerHTML;
copyBtn1790134523T3IG4.innerHTML = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg> 已复制';
// 一段时间后恢复原文本
setTimeout(function() {
copyBtn1790134523T3IG4.innerHTML = originalText;
}, 2000);
}).catch(function(err) {
// 复制失败处理
console.error('复制失败:', err);
// 降级方案:使用传统的复制方法
fallbackCopyTextToClipboard(code1790134523T3IG4);
});
} else {
// Clipboard API 不可用时直接使用降级方案
fallbackCopyTextToClipboard(code1790134523T3IG4);
}
// 提取降级方案为独立函数
function fallbackCopyTextToClipboard(text) {
const textArea = document.createElement('textarea');
textArea.value = text;
textArea.style.position = 'fixed';
textArea.style.opacity = '0';
document.body.appendChild(textArea);
textArea.select();
try {
document.execCommand('copy');
const originalText = copyBtn1790134523T3IG4.innerHTML;
copyBtn1790134523T3IG4.innerHTML = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg> 已复制';
setTimeout(function() {
copyBtn1790134523T3IG4.innerHTML = originalText;
}, 2000);
} catch (copyErr) {
console.error('传统复制方法也失败了:', copyErr);
} finally {
document.body.removeChild(textArea);
}
}
} catch (err) {
console.error('复制功能不可用:', err);
}
});
const bottomBtn1790134523T3IG4 = document.getElementById('codeflask-bottomBtn-raCsDmLxgO');
const Toggle1790134523T3IG4 = document.getElementById('codeflask-Toggle-raCsDmLxgO');
bottomBtn1790134523T3IG4.addEventListener('click', function() {
if (isCollapsed1790134523T3IG4) {
// 展开代码
isCollapsed1790134523T3IG4 = false;
const codeElement1790134523T3IG4 = editorElem1790134523T3IG4.querySelector('.codeflask__code');
if (codeElement1790134523T3IG4) {
const actualHeight1790134523T3IG4 = codeElement1790134523T3IG4.scrollHeight + 20;
editorElem1790134523T3IG4.parentElement.style.height = actualHeight1790134523T3IG4 + 'px';
editorElem1790134523T3IG4.style.height = actualHeight1790134523T3IG4 + 'px';
}
bottomBtn1790134523T3IG4.innerHTML = '<button class="editorjs-codeFlask_BottomToggle" title="折叠代码"><span class="toggle-icon">▲</span> 折叠</button>';
Toggle1790134523T3IG4.innerHTML = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg>';
} else {
// 折叠代码
isCollapsed1790134523T3IG4 = true;
if (coderow1790134523T3IG4 < 20) {
editorElem1790134523T3IG4.parentElement.style.height = '300px';
editorElem1790134523T3IG4.style.height = '300px';
} else if (coderow1790134523T3IG4 >= 20) {
editorElem1790134523T3IG4.parentElement.style.height = '500px';
editorElem1790134523T3IG4.style.height = '500px';
}
bottomBtn1790134523T3IG4.innerHTML = '<button class="editorjs-codeFlask_BottomToggle expand-mode" title="展开代码" data-empty="false"><span class="toggle-icon">▼</span> 展开</button>';
Toggle1790134523T3IG4.innerHTML = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>';
}
});
Toggle1790134523T3IG4.addEventListener('click', function() {
bottomBtn1790134523T3IG4.click();
});
</script><div class="ce-block ce-block--focused" data-id="74SVxZLYao" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled ">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_74SVxZLYao" class="image-tool__image-picture _zoom" src="http://idceve.com/data/attachment/forum/202609/14/140812yz8znusiu10unusl.png" title="" alt="" data-aid="175"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block ce-block--focused" data-id="fugCOLffz1" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled ">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_fugCOLffz1" class="image-tool__image-picture _zoom" src="http://idceve.com/data/attachment/forum/202609/14/140818xh6cnzaqxqttecmz.png" title="" alt="" data-aid="176"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block ce-block--focused" data-id="FVUF_rNPmx" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled ">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_FVUF_rNPmx" class="image-tool__image-picture _zoom" src="http://idceve.com/data/attachment/forum/202609/14/140825oanaaa1twp64tugq.png" title="" alt="" data-aid="177"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block ce-block--focused" data-id="VAfyWvnCX1" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled ">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_VAfyWvnCX1" class="image-tool__image-picture _zoom" src="http://idceve.com/data/attachment/forum/202609/14/140832ea0d0zzgmotw660x.png" title="" alt="" data-aid="178"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block" data-id="0EJImBZ3TC" >
<div class="ce-block__content" style="">
<h3 class="ce-header ce-header--left"> Shadowrocket 链式戴丽操作</h3>
</div>
</div><div class="ce-block ce-block--focused" data-id="AWZqGUS2q8" >
<div class="ce-block__content">
<div class="ce-paragraph cdx-block ce-paragraph--left"> <span style="color: rgb(34, 34, 34); font-family: Inter, Arial, sans-serif; font-variant-ligatures: none; background-color: rgb(248, 248, 248);">先将两个戴丽节点都扫码添加到软件中,然后配置落地链式并设置ai规则</span></div>
</div>
</div><div class="ce-block ce-block--focused" data-id="VgXyTrcel6" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled ">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_VgXyTrcel6" class="image-tool__image-picture _zoom" src="http://idceve.com/data/attachment/forum/202609/14/140903eft744c399rn9drc.png" title="" alt="" data-aid="179"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block ce-block--focused" data-id="qhWqvTAs4W" >
<div class="ce-block__content">
<div class="ce-paragraph cdx-block ce-paragraph--left"> <span style="color: rgb(34, 34, 34); font-family: Inter, Arial, sans-serif; font-variant-ligatures: none; background-color: rgb(248, 248, 248);">戴丽通过选择线路节点然后保存</span></div>
</div>
</div><div class="ce-block ce-block--focused" data-id="sv9Kh3XeUM" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled ">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_sv9Kh3XeUM" class="image-tool__image-picture _zoom" src="http://idceve.com/data/attachment/forum/202609/14/140915qy0ey88eqb3znby1.png" title="" alt="" data-aid="180"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block ce-block--focused" data-id="dLCguEtLEs" >
<div class="ce-block__content">
<div class="ce-paragraph cdx-block ce-paragraph--left"> <span style="color: rgb(34, 34, 34); font-family: Inter, Arial, sans-serif; font-variant-ligatures: none; background-color: rgb(248, 248, 248);">配置规则组应用ai走家宽节点</span></div>
</div>
</div><div class="ce-block ce-block--focused" data-id="Onr99w-VAX" >
<div class="ce-block__content">
<div class="editorjs-codeFlask_Wrapper">
<div class="editorjs-codeFlask_Header">
<div class="editorjs-codeFlask_LangDisplay">shell</div>
<button class="editorjs-codeFlask_CopyButton" title="复制代码" id="codeflask-copy-Onr99w-VAX">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>
<path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
</svg>
</button>
<button class="editorjs-codeFlask_Toggle" id="codeflask-Toggle-Onr99w-VAX">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<polyline points="6 9 12 15 18 9"></polyline>
</svg>
</button>
</div>
<div class="editorjs-codeFlask_ContentContainer">
<div class="editorjs-codeFlask_Editor" id="codeflask-Onr99w-VAX" >
</div>
</div>
<div class="editorjs-codeFlask_BottomButtonContainer" id="codeflask-bottomBtn-Onr99w-VAX">
<button class="editorjs-codeFlask_BottomToggle expand-mode" title="展开代码" data-empty="false"><span class="toggle-icon">▼</span> 展开</button>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="static/js/editorjs/tools/codeflask/codeflask150.min.js?xvG"></script>
<script type="application/javascript">
const editorElem1790134523yO5B4 = document.getElementById('codeflask-Onr99w-VAX');
var isCollapsed1790134523yO5B4 = true;
const flask1790134523yO5B4 = new CodeFlask(editorElem1790134523yO5B4, {
language: 'shell',
lineNumbers: true,
styleParent: this.shadowRoot,
rtl: false,
readonly: true
});
var code1790134523yO5B4 = `# 懒人教程可以先添加现成的模版规则组,然后有缺失的自己添加到对应组补全即可
https://github.com/johnshall/Shadowrocket-ADBlock-Rules-Forever#%E6%87%92%E4%BA%BA%E9%85%8D%E7%BD%AE-%E5%90%AB%E7%AD%96%E7%95%A5%E7%BB%84`;
code1790134523yO5B4 = code1790134523yO5B4.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, '"').replace(/'/g, "'");
flask1790134523yO5B4.addLanguage('shell', Prism.languages['shell']);
flask1790134523yO5B4.onUpdate((code) => {
// do something with code here.
// this will trigger whenever the code
// in the editor changes.
// console.log(code)
});
// flask.updateCode('');
// This will also trigger .onUpdate()
flask1790134523yO5B4.updateCode(code1790134523yO5B4);
const currentCode1790134523yO5B4 = flask1790134523yO5B4.getCode();
var coderow1790134523yO5B4 = parseInt('');
if (coderow1790134523yO5B4 === undefined || coderow1790134523yO5B4 !== coderow1790134523yO5B4 || coderow1790134523yO5B4 === 0) {
coderow1790134523yO5B4 = flask1790134523yO5B4.lineNumber;
}
if (coderow1790134523yO5B4 < 20) {
editorElem1790134523yO5B4.parentElement.style.height = '300px';
editorElem1790134523yO5B4.style.height = '300px';
} else if (coderow1790134523yO5B4 >= 20) {
editorElem1790134523yO5B4.parentElement.style.height = '500px';
editorElem1790134523yO5B4.style.height = '500px';
}
//console.log({currentCode1790134523yO5B4})
const copyBtn1790134523yO5B4 = document.getElementById('codeflask-copy-Onr99w-VAX');
copyBtn1790134523yO5B4.addEventListener('click', function() {
try {
// 先检查 Clipboard API 是否可用
if (navigator.clipboard && navigator.clipboard.writeText) {
// 使用 Clipboard API 复制代码
navigator.clipboard.writeText(code1790134523yO5B4).then(function() {
// 复制成功提示
const originalText = copyBtn1790134523yO5B4.innerHTML;
copyBtn1790134523yO5B4.innerHTML = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg> 已复制';
// 一段时间后恢复原文本
setTimeout(function() {
copyBtn1790134523yO5B4.innerHTML = originalText;
}, 2000);
}).catch(function(err) {
// 复制失败处理
console.error('复制失败:', err);
// 降级方案:使用传统的复制方法
fallbackCopyTextToClipboard(code1790134523yO5B4);
});
} else {
// Clipboard API 不可用时直接使用降级方案
fallbackCopyTextToClipboard(code1790134523yO5B4);
}
// 提取降级方案为独立函数
function fallbackCopyTextToClipboard(text) {
const textArea = document.createElement('textarea');
textArea.value = text;
textArea.style.position = 'fixed';
textArea.style.opacity = '0';
document.body.appendChild(textArea);
textArea.select();
try {
document.execCommand('copy');
const originalText = copyBtn1790134523yO5B4.innerHTML;
copyBtn1790134523yO5B4.innerHTML = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg> 已复制';
setTimeout(function() {
copyBtn1790134523yO5B4.innerHTML = originalText;
}, 2000);
} catch (copyErr) {
console.error('传统复制方法也失败了:', copyErr);
} finally {
document.body.removeChild(textArea);
}
}
} catch (err) {
console.error('复制功能不可用:', err);
}
});
const bottomBtn1790134523yO5B4 = document.getElementById('codeflask-bottomBtn-Onr99w-VAX');
const Toggle1790134523yO5B4 = document.getElementById('codeflask-Toggle-Onr99w-VAX');
bottomBtn1790134523yO5B4.addEventListener('click', function() {
if (isCollapsed1790134523yO5B4) {
// 展开代码
isCollapsed1790134523yO5B4 = false;
const codeElement1790134523yO5B4 = editorElem1790134523yO5B4.querySelector('.codeflask__code');
if (codeElement1790134523yO5B4) {
const actualHeight1790134523yO5B4 = codeElement1790134523yO5B4.scrollHeight + 20;
editorElem1790134523yO5B4.parentElement.style.height = actualHeight1790134523yO5B4 + 'px';
editorElem1790134523yO5B4.style.height = actualHeight1790134523yO5B4 + 'px';
}
bottomBtn1790134523yO5B4.innerHTML = '<button class="editorjs-codeFlask_BottomToggle" title="折叠代码"><span class="toggle-icon">▲</span> 折叠</button>';
Toggle1790134523yO5B4.innerHTML = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg>';
} else {
// 折叠代码
isCollapsed1790134523yO5B4 = true;
if (coderow1790134523yO5B4 < 20) {
editorElem1790134523yO5B4.parentElement.style.height = '300px';
editorElem1790134523yO5B4.style.height = '300px';
} else if (coderow1790134523yO5B4 >= 20) {
editorElem1790134523yO5B4.parentElement.style.height = '500px';
editorElem1790134523yO5B4.style.height = '500px';
}
bottomBtn1790134523yO5B4.innerHTML = '<button class="editorjs-codeFlask_BottomToggle expand-mode" title="展开代码" data-empty="false"><span class="toggle-icon">▼</span> 展开</button>';
Toggle1790134523yO5B4.innerHTML = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>';
}
});
Toggle1790134523yO5B4.addEventListener('click', function() {
bottomBtn1790134523yO5B4.click();
});
</script><div class="ce-block ce-block--focused" data-id="dnVKOqrZED" >
<div class="ce-block__content">
<div class="ce-paragraph cdx-block ce-paragraph--left"> <span style="color: rgb(34, 34, 34); font-family: Inter, Arial, sans-serif; font-variant-ligatures: none; background-color: rgb(248, 248, 248);">我这里就随便演示一下使用方法</span></div>
</div>
</div><div class="ce-block ce-block--focused" data-id="Gw_99JM8E8" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled ">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_Gw_99JM8E8" class="image-tool__image-picture _zoom" src="http://idceve.com/data/attachment/forum/202609/14/140946l5ll75i25z44lj54.png" title="" alt="" data-aid="181"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block ce-block--focused" data-id="r9UfOUVDk4" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled ">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_r9UfOUVDk4" class="image-tool__image-picture _zoom" src="http://idceve.com/data/attachment/forum/202609/14/140952j69hu4rujoeoaodo.png" title="" alt="" data-aid="182"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block ce-block--focused" data-id="LkPZpWgUya" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled ">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_LkPZpWgUya" class="image-tool__image-picture _zoom" src="http://idceve.com/data/attachment/forum/202609/14/140958az8zrbbgbes3szsd.png" title="" alt="" data-aid="183"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block ce-block--focused" data-id="CDK1EXsGJK" >
<div class="ce-block__content">
<div class="ce-paragraph cdx-block ce-paragraph--left"> <span style="color: rgb(34, 34, 34); font-family: Inter, Arial, sans-serif; font-variant-ligatures: none; background-color: rgb(248, 248, 248);">到此就设置好了,日常使用也不需要设置选中这个节点,规则组匹配成功自动走落地家宽。</span></div>
</div>
</div><div class="ce-block" data-id="-m8rnoU3k4" >
<div class="ce-block__content" style="">
<h3 class="ce-header ce-header--left"> Clash Verge Rev 链式戴丽操作</h3>
</div>
</div><div class="ce-block ce-block--focused" data-id="55FIL0avb5" >
<div class="ce-block__content">
<div class="editorjs-codeFlask_Wrapper">
<div class="editorjs-codeFlask_Header">
<div class="editorjs-codeFlask_LangDisplay">shell</div>
<button class="editorjs-codeFlask_CopyButton" title="复制代码" id="codeflask-copy-55FIL0avb5">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>
<path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
</svg>
</button>
<button class="editorjs-codeFlask_Toggle" id="codeflask-Toggle-55FIL0avb5">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<polyline points="6 9 12 15 18 9"></polyline>
</svg>
</button>
</div>
<div class="editorjs-codeFlask_ContentContainer">
<div class="editorjs-codeFlask_Editor" id="codeflask-55FIL0avb5" >
</div>
</div>
<div class="editorjs-codeFlask_BottomButtonContainer" id="codeflask-bottomBtn-55FIL0avb5">
<button class="editorjs-codeFlask_BottomToggle expand-mode" title="展开代码" data-empty="false"><span class="toggle-icon">▼</span> 展开</button>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="static/js/editorjs/tools/codeflask/codeflask150.min.js?xvG"></script>
<script type="application/javascript">
const editorElem1790134523l58HC = document.getElementById('codeflask-55FIL0avb5');
var isCollapsed1790134523l58HC = true;
const flask1790134523l58HC = new CodeFlask(editorElem1790134523l58HC, {
language: 'shell',
lineNumbers: true,
styleParent: this.shadowRoot,
rtl: false,
readonly: true
});
var code1790134523l58HC = `# 我这里用ai写的,基本,应该有更简单的方式,仅供参考
# ============================================
# Clash Verge (Mihomo内核) 链式戴丽配置
# 前置节点 (US-IT7) --dialer-proxy--> 落地节点 (vircs-尔湾家宽)
# 实际出口IP为落地节点 75.36.11.11,流量先经前置节点中转
# ============================================
mixed-port: 7890
allow-lan: true
mode: rule
log-level: info
ipv6: false
unified-delay: true
tcp-concurrent: true
find-process-mode: strict
external-controller: 127.0.0.1:9090
dns:
enable: true
listen: 0.0.0.0:1053
ipv6: false
enhanced-mode: fake-ip
fake-ip-range: 198.18.0.1/16
default-nameserver:
- 223.5.5.5
- 8.8.8.8
nameserver:
- https://doh.pub/dns-query
- https://dns.alidns.com/dns-query
fallback:
- https://1.1.1.1/dns-query
- https://dns.google/dns-query
proxies:
# ---------- 前置节点 (落地节点将通过它中转) ----------
- name: "US-IT7_前置"
type: vless
server: 88.88.88.88
port: 443
uuid: a05e8ccb-6729-75d8-ac92-7f4cdc52cbdc
network: tcp
udp: true
tls: true
flow: xtls-rprx-vision
servername: www.nazhumi.com
client-fingerprint: chrome
reality-opts:
public-key: 3d-nnL-luSEZrQ97qWGtHXaFswpSo
short-id: 6de16609
# ---------- 落地节点 (实际出口,dialer-proxy指向前置节点) ----------
- name: "vircs-尔湾家宽_落地"
type: ss
server: 75.36.11.11
port: 10465
cipher: 2022-blake3-aes-256-gcm
password: "Gr0tf7qE2SaHMHfFeeS7yCpWl7w01Os0="
udp: true
dialer-proxy: "US-IT7_前置" # 关键:链式戴丽,先走前置节点再到落地节点
proxy-groups:
- name: "🚀 节点选择"
type: select
proxies:
- "vircs-尔湾家宽_落地"
- "US-IT7_前置"
- DIRECT
- name: "🐟 漏网之鱼"
type: select
proxies:
- "🚀 节点选择"
- DIRECT
rules:
- GEOIP,CN,DIRECT
- MATCH,🐟 漏网之鱼`;
code1790134523l58HC = code1790134523l58HC.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, '"').replace(/'/g, "'");
flask1790134523l58HC.addLanguage('shell', Prism.languages['shell']);
flask1790134523l58HC.onUpdate((code) => {
// do something with code here.
// this will trigger whenever the code
// in the editor changes.
// console.log(code)
});
// flask.updateCode('');
// This will also trigger .onUpdate()
flask1790134523l58HC.updateCode(code1790134523l58HC);
const currentCode1790134523l58HC = flask1790134523l58HC.getCode();
var coderow1790134523l58HC = parseInt('');
if (coderow1790134523l58HC === undefined || coderow1790134523l58HC !== coderow1790134523l58HC || coderow1790134523l58HC === 0) {
coderow1790134523l58HC = flask1790134523l58HC.lineNumber;
}
if (coderow1790134523l58HC < 20) {
editorElem1790134523l58HC.parentElement.style.height = '300px';
editorElem1790134523l58HC.style.height = '300px';
} else if (coderow1790134523l58HC >= 20) {
editorElem1790134523l58HC.parentElement.style.height = '500px';
editorElem1790134523l58HC.style.height = '500px';
}
//console.log({currentCode1790134523l58HC})
const copyBtn1790134523l58HC = document.getElementById('codeflask-copy-55FIL0avb5');
copyBtn1790134523l58HC.addEventListener('click', function() {
try {
// 先检查 Clipboard API 是否可用
if (navigator.clipboard && navigator.clipboard.writeText) {
// 使用 Clipboard API 复制代码
navigator.clipboard.writeText(code1790134523l58HC).then(function() {
// 复制成功提示
const originalText = copyBtn1790134523l58HC.innerHTML;
copyBtn1790134523l58HC.innerHTML = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg> 已复制';
// 一段时间后恢复原文本
setTimeout(function() {
copyBtn1790134523l58HC.innerHTML = originalText;
}, 2000);
}).catch(function(err) {
// 复制失败处理
console.error('复制失败:', err);
// 降级方案:使用传统的复制方法
fallbackCopyTextToClipboard(code1790134523l58HC);
});
} else {
// Clipboard API 不可用时直接使用降级方案
fallbackCopyTextToClipboard(code1790134523l58HC);
}
// 提取降级方案为独立函数
function fallbackCopyTextToClipboard(text) {
const textArea = document.createElement('textarea');
textArea.value = text;
textArea.style.position = 'fixed';
textArea.style.opacity = '0';
document.body.appendChild(textArea);
textArea.select();
try {
document.execCommand('copy');
const originalText = copyBtn1790134523l58HC.innerHTML;
copyBtn1790134523l58HC.innerHTML = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg> 已复制';
setTimeout(function() {
copyBtn1790134523l58HC.innerHTML = originalText;
}, 2000);
} catch (copyErr) {
console.error('传统复制方法也失败了:', copyErr);
} finally {
document.body.removeChild(textArea);
}
}
} catch (err) {
console.error('复制功能不可用:', err);
}
});
const bottomBtn1790134523l58HC = document.getElementById('codeflask-bottomBtn-55FIL0avb5');
const Toggle1790134523l58HC = document.getElementById('codeflask-Toggle-55FIL0avb5');
bottomBtn1790134523l58HC.addEventListener('click', function() {
if (isCollapsed1790134523l58HC) {
// 展开代码
isCollapsed1790134523l58HC = false;
const codeElement1790134523l58HC = editorElem1790134523l58HC.querySelector('.codeflask__code');
if (codeElement1790134523l58HC) {
const actualHeight1790134523l58HC = codeElement1790134523l58HC.scrollHeight + 20;
editorElem1790134523l58HC.parentElement.style.height = actualHeight1790134523l58HC + 'px';
editorElem1790134523l58HC.style.height = actualHeight1790134523l58HC + 'px';
}
bottomBtn1790134523l58HC.innerHTML = '<button class="editorjs-codeFlask_BottomToggle" title="折叠代码"><span class="toggle-icon">▲</span> 折叠</button>';
Toggle1790134523l58HC.innerHTML = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg>';
} else {
// 折叠代码
isCollapsed1790134523l58HC = true;
if (coderow1790134523l58HC < 20) {
editorElem1790134523l58HC.parentElement.style.height = '300px';
editorElem1790134523l58HC.style.height = '300px';
} else if (coderow1790134523l58HC >= 20) {
editorElem1790134523l58HC.parentElement.style.height = '500px';
editorElem1790134523l58HC.style.height = '500px';
}
bottomBtn1790134523l58HC.innerHTML = '<button class="editorjs-codeFlask_BottomToggle expand-mode" title="展开代码" data-empty="false"><span class="toggle-icon">▼</span> 展开</button>';
Toggle1790134523l58HC.innerHTML = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>';
}
});
Toggle1790134523l58HC.addEventListener('click', function() {
bottomBtn1790134523l58HC.click();
});
</script><div class="ce-block ce-block--focused" data-id="tNEed5fB-9" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled ">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_tNEed5fB-9" class="image-tool__image-picture _zoom" src="http://idceve.com/data/attachment/forum/202609/14/141041teezkilix8esbe8x.png" title="" alt="" data-aid="184"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block ce-block--focused" data-id="Yiz8e5IeTP" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled ">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_Yiz8e5IeTP" class="image-tool__image-picture _zoom" src="http://idceve.com/data/attachment/forum/202609/14/141046xctrw6joue9ivpl8.png" title="" alt="" data-aid="185"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block ce-block--focused" data-id="UQXgyLfdRL" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled ">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_UQXgyLfdRL" class="image-tool__image-picture _zoom" src="http://idceve.com/data/attachment/forum/202609/14/141055xzuiroh8nfuzowzn.png" title="" alt="" data-aid="186"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block" data-id="fYFcd01W2n" >
<div class="ce-block__content" style="">
<h3 class="ce-header ce-header--left"> v2**yN 链式戴丽操作</h3>
</div>
</div><div class="ce-block ce-block--focused" data-id="7g6XhiWNSJ" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled ">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_7g6XhiWNSJ" class="image-tool__image-picture _zoom" src="http://idceve.com/data/attachment/forum/202609/14/141115hpz15f5g5y7owu7g.png" title="" alt="" data-aid="187"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block ce-block--focused" data-id="Aldx1CDFaL" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled ">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_Aldx1CDFaL" class="image-tool__image-picture _zoom" src="http://idceve.com/data/attachment/forum/202609/14/141122w7ni47xmrzb5n72e.png" title="" alt="" data-aid="188"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block" data-id="nznaIeH37A" >
<div class="ce-block__content" style="">
<h3 class="ce-header ce-header--left"> NekoBox 链式戴丽操作</h3>
</div>
</div><div class="ce-block ce-block--focused" data-id="pVQ5zgcI91" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled ">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_pVQ5zgcI91" class="image-tool__image-picture _zoom" src="http://idceve.com/data/attachment/forum/202609/14/141141f2zu6j2dug22pd2q.png" title="" alt="" data-aid="189"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block ce-block--focused" data-id="P-LCnewGLC" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled ">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_P-LCnewGLC" class="image-tool__image-picture _zoom" src="http://idceve.com/data/attachment/forum/202609/14/141148smlnp3cxfapcddiz.png" title="" alt="" data-aid="190"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block" data-id="TR40mzfzmd" >
<div class="ce-block__content" style="">
<h3 class="ce-header ce-header--left">预算充足</h3>
</div>
</div><div class="ce-block ce-block--focused" data-id="RjKm1r6Tnm" >
<div class="ce-block__content">
<div class="ce-paragraph cdx-block ce-paragraph--left"><br>线路机PLAN A:<a href="https://bandwagonhost.com/aff.php?aff=2875&pid=87&billingcycle=monthly&configoption%5B17%5D=55">bandwagonhost DC9 三网优化</a><br><a href="https://bandwagonhost.com/aff.php?aff=78922&pid=87&billingcycle=monthly&configoption%5B17%5D=55" rel="noopener nofollow ugc"></a>线路机PLAN B: <a href="https://www.dmit.io/aff.php?aff=1344&pid=253" target="_blank" rel="nofollow">DIMT LAX PRO 三网优化</a><br>家宽 PLAN A:<a href="https://IF站.com/t/topic/121939/">ATTVPS 🏷️ 基础版 家宽 初体 🐔</a><br>家宽 PLAN B:<a href="https://IF站.com/t/topic/123715/">AalTR 🏷️ Verizon 静态家宽 初体 🐔</a></div>
</div>
</div><style type="text/css">
.ce-block {
margin-top: 20px;
margin-bottom: 20px;
}
.ce-block__content,.ce-toolbar__content {
/* max-width:calc(100% - 50px) */
margin-left: auto;
margin-right: auto;
}
/**
* Plugin styles
*/
.ce-header {
position: relative;
padding: 1px 0px 1px 15px;
margin: 0;
line-height: 1.25em;
outline: none;
margin-bottom: 10px;
}
.ce-header p,
.ce-header div {
padding: 0 !important;
margin: 0 !important;
}
.ce-header::before {
content: "";
background-color: #3e8fe3;
width: 6px;
height: 100%;
position: absolute;
left: 0;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
/**
* Styles for Plugin icon in Toolbar
*/
.ce-header__icon {
}
.ce-header::before {
position: absolute;
content: attr(data-placeholder);
color: #707684;
font-weight: normal;
display: none;
cursor: text;
}
.ce-header:empty::before {
display: block;
}
.ce-header:empty:focus::before {
display: none;
}
/* FontSize */
h1.ce-header {
font-size: 2.0em;
}
h2.ce-header {
font-size: 1.7em;
}
h3.ce-header {
font-size: 1.4em;
}
h4.ce-header {
font-size: 1.15em;
}
h5.ce-header {
font-size: 0.95em;
}
h6.ce-header {
font-size: 0.8em;
}
/* Alignment*/
.ce-header--right {
text-align: right;
}
.ce-header--center {
text-align: center;
}
.ce-header--left {
text-align: left;
}
.ce-header--justify {
text-align: justify;
}
</style><style type="text/css">
.ce-block {
margin-bottom: 20px;
}
.ce-block__content,.ce-toolbar__content {
/* max-width:calc(100% - 50px) */
margin-left: auto;
margin-right: auto;
}
.cdx-list {
margin:0;
outline:none;
display:block;
counter-reset:item;
padding:6px;
}
.cdx-list__item {
line-height:1.45em;
display:block;
padding-top:8px;
margin-left: 2em;
}
.cdx-list__item-children {
display:block;
}
.cdx-list__item {
outline:none
}
.cdx-list__item-content {
word-break:break-word;
white-space:pre-wrap;
grid-area:content;
padding-left:8px
}
.cdx-list__item:before {
counter-increment:item;
white-space:nowrap
}
.cdx-list-li-container {
display: flex;
}
.cdx-list-ordered .cdx-list__item:before {
/* content:counters(item,".",numeric) "." */
}
.cdx-list-ordered {
list-style-type: none;
margin-left: -15px;
counter-reset:item;
font-size: 16px;
}
.cdx-list-unordered {
font-size: 16px;
}
.cdx-list-unordered .cdx-list__item:before {
content:"•"
}
.cdx-list-checklist .cdx-list__item:before {
content:""
}
.cdx-list__settings .cdx-settings-button {
width:50%
}
.cdx-list__checkbox {
padding-top:calc((1.45em - 1.2em) / 2);
grid-area:checkbox;
width:1.2em;
height:1.2em;
display:flex;
cursor:pointer;
font-size: 16px;
}
.cdx-list__checkbox svg {
opacity:0;
height:1.2em;
width:1.2em;
left:-1px;
top:-1px;
position:absolute
}
@media (hover:hover) {
.cdx-list__checkbox:not(.cdx-list__checkbox--no-hover):hover .cdx-list__checkbox-check svg {
opacity:1
}
}.cdx-list__checkbox--checked-1 {
line-height:1.45em
}
@media (hover:hover) {
.cdx-list__checkbox--checked-1:not(.cdx-list__checkbox--checked-1--no-hover):hover .cdx-checklist__checkbox-check {
background:#0059AB;
border-color:#0059AB
}
}.cdx-list__checkbox--checked-1 .cdx-list__checkbox-check {
background:#369FFF;
border-color:#369FFF
}
.cdx-list__checkbox--checked-1 .cdx-list__checkbox-check svg {
opacity:1
}
.cdx-list__checkbox--checked-1 .cdx-list__checkbox-check svg path {
stroke:#fff
}
.cdx-list__checkbox--checked-1 .cdx-list__checkbox-check:before {
opacity:0;
visibility:visible;
transform:scale(2.5)
}
.cdx-list__checkbox-check {
cursor:pointer;
display:inline-block;
position:relative;
margin:0 auto;
width:1.2em;
height:1.2em;
box-sizing:border-box;
border-radius:5px;
border:1px solid #C9C9C9;
background:#fff
}
.cdx-list__checkbox-check:before {
content:"";
position:absolute;
top:0;
right:0;
bottom:0;
left:0;
border-radius:100%;
background-color:#369FFF;
visibility:hidden;
pointer-events:none;
transform:scale(1);
transition:transform .4s ease-out,opacity .4s
}
.cdx-list__checkbox-check--disabled {
pointer-events:none
}
.cdx-list-start-with-field {
background:#F8F8F8;
border:1px solid rgba(226,226,229,.2);
border-radius:6px;
padding:2px;
display:grid;
grid-template-columns:auto auto 1fr;
grid-template-rows:auto
}
.cdx-list-start-with-field--invalid {
background:#FFECED;
border:1px solid #E13F3F
}
.cdx-list-start-with-field--invalid .cdx-list-start-with-field__input {
color:#e13f3f
}
.cdx-list-start-with-field__input {
font-size:16px;
outline:none;
font-weight:500;
font-family:inherit;
border:0;
background:transparent;
margin:0;
padding:0;
line-height:22px;
min-width:calc(100% - 10px)
}
.cdx-list-start-with-field__input::placeholder {
color:#797979;
font-weight:500
}
</style><style type="text/css">
.ce-block {
margin-bottom: 20px;
}
.ce-block__content,.ce-toolbar__content {
/* max-width:calc(100% - 50px) */
margin-left: auto;
margin-right: auto;
}
.ce-paragraph {
line-height: 1.6em;
outline: none;
text-indent: 2em;
font-size: 16px;
}
.ce-paragraph--right {
text-align: right;
}
.ce-paragraph--center {
text-align: center;
}
.ce-paragraph--left {
text-align: left;
}
.ce-paragraph--justify {
text-align: justify;
}
.ce-paragraph-text-indent {
text-align: justify;
}
.ce-paragraph:empty::before{
content: attr(data-placeholder);
color: #707684;
font-weight: normal;
opacity: 0;
}
/** Show placeholder at the first paragraph if Editor is empty */
.codex-editor--empty .ce-block:first-child .ce-paragraph:empty::before {
opacity: 1;
}
.codex-editor--toolbox-opened .ce-block:first-child .ce-paragraph:empty::before,
.codex-editor--empty .ce-block:first-child .ce-paragraph:empty:focus::before {
opacity: 0;
}
.ce-paragraph p:first-of-type{
margin-top: 0;
}
.ce-paragraph p:last-of-type{
margin-bottom: 0;
}
.svg-icon {
width: 1em;
height: 1em;
}
.svg-icon path,
.svg-icon polygon,
.svg-icon rect {
fill: #4691f6;
}
.svg-icon circle {
stroke: #4691f6;
stroke-width: 1;
}
</style><style type="text/css">
.ce-block {
margin-bottom: 20px;
}
.ce-block__content,.ce-toolbar__content {
/* max-width:calc(100% - 50px) */
margin-left: auto;
margin-right: auto;
}
.image-tool {
--bg-color: #cdd1e0;
--front-color: #388ae5;
--border-color: #e8e8eb;
}
.image-tool__image {
border-radius: 3px;
overflow: hidden;
margin-bottom: 10px;
}
.image-tool__image-picture {
max-width: 100%;
vertical-align: bottom;
display: block;
margin-left: auto;
margin-right: auto;
}
.image-tool__image-preloader {
width: 50px;
height: 50px;
border-radius: 50%;
background-size: cover;
margin: auto;
position: relative;
background-color: #cdd1e0;
background-position: center center;
}
.image-tool__image-preloader::after {
content: "";
position: absolute;
z-index: 3;
width: 60px;
height: 60px;
border-radius: 50%;
border: 2px solid #cdd1e0;
border-top-color: #388ae5;
left: 50%;
top: 50%;
margin-top: -30px;
margin-left: -30px;
animation: image-preloader-spin 2s infinite linear;
box-sizing: border-box;
}
.image-tool__caption::before {
position: absolute !important;
content: attr(data-placeholder);
color: #707684;
font-weight: normal;
display: none;
}
.image-tool__caption:empty::before {
display: block;
}
.image-tool__caption:empty:focus::before {
display: none;
}
.image-tool--empty .image-tool__image {
display: none;
}
.image-tool--empty .image-tool__caption, .image-tool--loading .image-tool__caption {
display: none;
}
.image-tool .cdx-button {
display: flex;
align-items: center;
justify-content: center;
}
.image-tool .cdx-button svg {
height: auto;
margin: 0 6px 0 0;
}
.image-tool--filled .cdx-button {
display: none;
}
.image-tool--filled .image-tool__image-preloader {
display: none;
}
.image-tool--loading .image-tool__image {
min-height: 200px;
display: flex;
border: 1px solid #e8e8eb;
background-color: #fff;
}
.image-tool--loading .image-tool__image-picture {
display: none;
}
.image-tool--loading .cdx-button {
display: none;
}
/**
* Tunes
* ----------------
*/
.image-tool--withBorder .image-tool__image {
border: 1px solid #e8e8eb;
}
.image-tool--withBackground .image-tool__image {
padding: 15px;
background: #cdd1e0;
}
.image-tool--withBackground .image-tool__image-picture {
max-width: 60%;
margin: 0 auto;
}
.image-tool--stretched .image-tool__image-picture {
width: 100%;
}
.image-tool__caption {
text-align: center;
font-size: 14px;
color: #a3a3a3;
}
@keyframes image-preloader-spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
</style><style type="text/css">
.ce-block {
margin-bottom: 20px;
}
.ce-block__content,.ce-toolbar__content {
/* max-width:calc(100% - 50px) */
margin-left: auto;
margin-right: auto;
position: relative;
}
/* 主容器 */
.editorjs-codeFlask_Wrapper {
border: 1px solid #dcdfe6;
border-radius: 5px;
background-color: #f6f8fa;
margin-bottom: 10px;
position: relative;
transition: all 0.3s ease;
width: 100%;
min-height: 100px;
overflow: hidden;
}
/* 标题栏 */
.editorjs-codeFlask_Header {
display: flex;
justify-content: flex-end;
align-items: center;
padding: 8px 12px;
background-color: #e9ecef;
border-bottom: 1px solid #dcdfe6;
position: relative;
z-index: 0; /* 从10降低到2 */
}
/* 语言显示 */
.editorjs-codeFlask_LangDisplay {
padding: 2px 8px;
background-color: #409eff;
color: white;
border-radius: 3px;
font-size: 12px;
font-weight: 500;
position: absolute;
left: 12px;
top: 50%;
transform: translateY(-50%);
}
/* 内容容器 - 禁止纵向滚动 */
.editorjs-codeFlask_ContentContainer {
position: relative;
min-height: 100px;
overflow-x: hidden; /* 禁止横向滚动 */
overflow-y: hidden;
transition: height 0.3s ease;
}
/* 编辑器容器 - 禁止纵向滚动 */
.editorjs-codeFlask_Editor {
position: relative;
min-height: 100px;
overflow-x: hidden; /* 禁止横向滚动 */
overflow-y: hidden;
transition: height 0.3s ease;
}
/* 底部按钮容器 - 优化为更简洁的样式 */
.editorjs-codeFlask_BottomButtonContainer {
display: flex;
justify-content: center;
align-items: center;
padding: 4px;
background-color: #f8f9fa;
border-top: 1px solid #e9ecef;
position: relative;
z-index: 0;
}
/* 底部横向折叠/展开按钮 - 优化样式,使其更融入设计 */
.editorjs-codeFlask_BottomToggle {
width: 100%;
background-color: transparent;
color: #606266;
border: none;
border-radius: 4px;
padding: 6px 12px;
font-size: 12px;
font-weight: 400;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 4px;
text-align: center;
position: relative;
}
.editorjs-codeFlask_BottomToggle:hover {
background-color: #e9ecef;
color: #409eff;
}
.editorjs-codeFlask_BottomToggle:active {
background-color: #dee2e6;
}
.editorjs-codeFlask_BottomToggle .toggle-icon {
font-size: 11px;
transition: transform 0.3s ease;
}
/* 展开按钮(显示"展开"文本)上边缘添加渐变虚化效果 */
.editorjs-codeFlask_BottomToggle:has(span.toggle-icon:contains("▲"))::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 6px;
background: linear-gradient(to bottom, rgba(248, 249, 250, 0) 0%, rgba(248, 249, 250, 1) 100%);
pointer-events: none;
}
/* 展开按钮(显示"展开"文本)上边缘添加渐变虚化效果 */
/* 删除不被广泛支持的:contains()选择器 */
.editorjs-codeFlask_BottomToggle.expand-mode::before {
content: '';
position: absolute;
top: -60px;
left: 0;
right: 0;
height: 60px;
background: linear-gradient(to bottom, rgb(255 255 255 / 0%) 0%, rgba(248, 249, 250, 1) 100%);
pointer-events: none;
}
/* CodeFlask 主容器样式 */
.editorjs-codeFlask_Editor .codeflask {
position: relative;
background: #fafafa;
border-radius: 0 0 4px 4px;
min-height: 100px;
overflow-x: hidden; /* 禁止横向滚动 */
overflow-y: hidden;
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}
/* 行号容器 */
.editorjs-codeFlask_Editor .codeflask.codeflask--has-line-numbers:before {
content: '';
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 40px;
background-color: #f5f5f5;
border-right: 1px solid #e0e0e0;
z-index: 0;
}
/* 行号 */
.editorjs-codeFlask_Editor .codeflask__lines {
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 40px;
padding: 10px 0;
background-color: #f5f5f5;
border-right: 1px solid #e0e0e0;
z-index: 0;
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
font-size: 14px;
line-height: 21px;
color: #666;
text-align: right;
user-select: none;
overflow: hidden;
}
.editorjs-codeFlask_Editor .codeflask__lines__line {
padding-right: 8px;
}
/* 文本区域 - 输入框 */
.editorjs-codeFlask_Editor .codeflask__textarea {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 10px;
border: none;
background: transparent;
color: transparent;
caret-color: #333;
resize: none;
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
font-size: 14px;
line-height: 21px;
z-index: 1;
overflow-x: hidden; /* 禁止横向滚动 */
overflow-y: hidden;
white-space: pre-wrap; /* 自动换行 */
tab-size: 4;
outline: none;
}
/* 添加选中文本样式 */
.editorjs-codeFlask_Editor .codeflask__textarea::selection {
background-color: #b3d4fc;
color: #333;
}
.editorjs-codeFlask_Editor .codeflask__textarea::-moz-selection {
background-color: #b3d4fc;
color: #333;
}
/* 代码预览区域 */
.editorjs-codeFlask_Editor .codeflask__pre {
position: absolute;
top: 0;
left: 0;
width: 100%; /* 确保宽度不超出容器 */
height: 100%;
padding: 10px;
margin: 0;
border: none;
background: transparent;
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
font-size: 14px;
line-height: 21px;
z-index: 0;
overflow-x: hidden; /* 禁止横向滚动 */
overflow-y: hidden;
white-space: pre-wrap; /* 自动换行 */
pointer-events: none;
}
/* 代码高亮区域 */
.editorjs-codeFlask_Editor .codeflask__code {
display: block;
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
font-size: 14px;
line-height: 21px;
color: #333;
white-space: pre-wrap; /* 自动换行 */
tab-size: 4;
overflow: visible;
}
/* 语法高亮样式 - 确保Prism.js样式正确应用 */
.editorjs-codeFlask_Editor .codeflask__code {
background: transparent !important;
}
/* 通用语法高亮token样式 */
.editorjs-codeFlask_Editor .token.comment,
.editorjs-codeFlask_Editor .token.prolog,
.editorjs-codeFlask_Editor .token.doctype,
.editorjs-codeFlask_Editor .token.cdata {
color: #708090;
}
.editorjs-codeFlask_Editor .token.punctuation {
color: #999;
}
.editorjs-codeFlask_Editor .token.namespace {
opacity: 0.7;
}
.editorjs-codeFlask_Editor .token.property,
.editorjs-codeFlask_Editor .token.tag,
.editorjs-codeFlask_Editor .token.boolean,
.editorjs-codeFlask_Editor .token.number,
.editorjs-codeFlask_Editor .token.constant,
.editorjs-codeFlask_Editor .token.symbol,
.editorjs-codeFlask_Editor .token.deleted {
color: #905;
}
.editorjs-codeFlask_Editor .token.selector,
.editorjs-codeFlask_Editor .token.attr-name,
.editorjs-codeFlask_Editor .token.string,
.editorjs-codeFlask_Editor .token.char,
.editorjs-codeFlask_Editor .token.builtin,
.editorjs-codeFlask_Editor .token.inserted {
color: #690;
}
.editorjs-codeFlask_Editor .token.operator,
.editorjs-codeFlask_Editor .token.entity,
.editorjs-codeFlask_Editor .token.url,
.editorjs-codeFlask_Editor .language-css .token.string,
.editorjs-codeFlask_Editor .style .token.string {
color: #9a6e3a;
background: hsla(0, 0%, 100%, 0.5);
}
.editorjs-codeFlask_Editor .token.atrule,
.editorjs-codeFlask_Editor .token.attr-value,
.editorjs-codeFlask_Editor .token.keyword {
color: #07a;
}
.editorjs-codeFlask_Editor .token.function,
.editorjs-codeFlask_Editor .token.class-name {
color: #dd4a68;
}
.editorjs-codeFlask_Editor .token.regex,
.editorjs-codeFlask_Editor .token.important,
.editorjs-codeFlask_Editor .token.variable {
color: #e90;
}
/* 复制按钮样式 */
.editorjs-codeFlask_CopyButton {
background-color: #409eff;
color: white;
border: none;
border-radius: 3px;
padding: 6px 12px;
margin-right: 8px;
font-size: 12px;
cursor: pointer;
transition: background-color 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
min-width: 28px;
height: 28px;
}
.editorjs-codeFlask_CopyButton:hover {
background-color: #66b1ff;
}
.editorjs-codeFlask_CopyButton.copied {
background-color: #67c23a;
}
/* 折叠/展开按钮样式 */
.editorjs-codeFlask_Toggle {
background-color: #909399;
color: white;
border: none;
border-radius: 3px;
padding: 0 8px;
font-size: 12px;
cursor: pointer;
transition: background-color 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
min-width: 28px;
height: 28px;
font-weight: bold;
}
.editorjs-codeFlask_Toggle:hover {
background-color: #a6a9ad;
}
/* 响应式调整 */
@media (max-width: 768px) {
.editorjs-codeFlask_Header {
padding: 6px 8px;
}
.editorjs-codeFlask_Editor .codeflask__textarea,
.editorjs-codeFlask_Editor .codeflask__pre,
.editorjs-codeFlask_Editor .codeflask__code {
font-size: 13px;
line-height: 19px;
padding: 8px;
}
.editorjs-codeFlask_Editor .codeflask.codeflask--has-line-numbers:before {
width: 35px;
}
.editorjs-codeFlask_Editor .codeflask__lines {
width: 35px;
font-size: 12px;
}
}
/* 滚动条样式 - 完全隐藏纵向滚动条 */
.editorjs-codeFlask_Wrapper ::-webkit-scrollbar {
width: 0;/* 纵向滚动条宽度为0 */
height: 6px;/* 横向滚动条保持6px宽度 */
}
.editorjs-codeFlask_Wrapper ::-webkit-scrollbar-track {
background: transparent;
border-radius: 0;
}
.editorjs-codeFlask_Wrapper ::-webkit-scrollbar-thumb {
background: transparent;
border-radius: 0;
}
/* Firefox 滚动条隐藏 */
.editorjs-codeFlask_Wrapper {
scrollbar-width: none;/* Firefox 隐藏纵向滚动条 */
}
.editorjs-codeFlask_Wrapper ::-moz-scrollbar {
width: 0;
height: 6px;
}
/* 焦点状态 */
.editorjs-codeFlask_Wrapper:focus-within {
border-color: #409eff;
box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
}
/* 只读模式样式 */
.editorjs-codeFlask_Wrapper.readonly .editorjs-codeFlask_Header {
background-color: #f5f7fa;
}
.editorjs-codeFlask_Wrapper.readonly .editorjs-codeFlask_Editor .codeflask__textarea {
cursor: default;
}
/* 确保所有元素正确显示 */
.editorjs-codeFlask_Wrapper * {
box-sizing: border-box;
}
/* 修复行号对齐 */
.editorjs-codeFlask_Editor .codeflask--has-line-numbers .codeflask__textarea,
.editorjs-codeFlask_Editor .codeflask--has-line-numbers .codeflask__pre {
padding-left: 50px;
}
.editorjs-codeFlask_Editor .codeflask--has-line-numbers .codeflask__lines {
padding-top: 10px;
}
/* 语言显示元素 - 添加点击样式 */
.editorjs-codeFlask_LangDisplay {
padding: 2px 8px;
background-color: #409eff;
color: white;
border-radius: 3px;
font-size: 12px;
font-weight: 500;
position: absolute;
left: 12px;
top: 50%;
transform: translateY(-50%);
cursor: pointer;
transition: all 0.2s ease;
}
.editorjs-codeFlask_LangDisplay:hover {
background-color: #66b1ff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* 语言选择弹窗 */
.editorjs-codeFlask_LanguagePopup {
background-color: white;
border: 1px solid #dcdfe6;
border-radius: 4px;
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
width: 250px;
max-height: 300px;
z-index: 1000;
overflow: hidden;
}
/* 搜索框 */
.editorjs-codeFlask_LanguageSearch {
width: 100%;
padding: 8px 12px;
border: none;
border-bottom: 1px solid #ebeef5;
font-size: 12px;
outline: none;
box-sizing: border-box;
}
/* 语言列表 */
.editorjs-codeFlask_LanguagesList {
max-height: 250px;
overflow-y: auto;
}
/* 语言选项 */
.editorjs-codeFlask_LanguageItem {
padding: 8px 12px;
font-size: 12px;
cursor: pointer;
transition: background-color 0.2s ease;
}
.editorjs-codeFlask_LanguageItem:hover {
background-color: #f5f7fa;
}
.editorjs-codeFlask_LanguageItem.selected {
background-color: #ecf5ff;
color: #409eff;
font-weight: 500;
}
/* 滚动条样式 */
.editorjs-codeFlask_LanguagesList::-webkit-scrollbar {
width: 6px;
}
.editorjs-codeFlask_LanguagesList::-webkit-scrollbar-track {
background-color: #f5f7fa;
}
.editorjs-codeFlask_LanguagesList::-webkit-scrollbar-thumb {
background-color: #c0c4cc;
border-radius: 3px;
}
.editorjs-codeFlask_LanguagesList::-webkit-scrollbar-thumb:hover {
background-color: #909399;
}
</style><style type="text/css">
.inline-code {
background: rgba(250, 239, 240, 0.78);
color: #b44437;
padding: 3px 4px;
border-radius: 5px;
margin: 0 1px;
font-family: inherit;
font-size: 0.86em;
font-weight: 500;
letter-spacing: 0.3px;
}
</style>
页:
[1]