如何减少购物信息差?试试这套 AI 决策方法
<div class="ce-block ce-block--focused" data-id="cUvo03bjn2" ><div class="ce-block__content">
<div class="ce-paragraph cdx-block ce-paragraph--left"><span md-inline="plain" class="md-plain md-expand" style="box-sizing: border-box;">现在买东西真的很心累。不是买不到,而是选择太多、套路太深。随便打开一个
购物App ,同类商品能翻出几十上百款 ;看测评全是充值的软文,翻评论又不知道是不是托。最后挑不动了,只能凭感觉下单。你可以把 AI 纯当成购物助手来用,还挺省心的。</span></div>
</div>
</div><div class="ce-block" data-id="ddJxIWAa2Y" >
<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="WONDaRF01W" >
<div class="ce-block__content">
<div class="ce-paragraph cdx-block ce-paragraph--left"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">下面这些场景,几乎覆盖了大多数人的购物需求。</span></div>
</div>
</div><div class="ce-block" data-id="9RiE1Zonzk" >
<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="kDNHicaLwM" >
<div class="ce-block__content">
<div class="ce-paragraph cdx-block ce-paragraph--left"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">很多人买错东西,就是认为产品不好,但就是一开始就不清楚自己的需求。</span><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">这时候可以让AI扮演顾问,通过连续提问帮你梳理真实需求。</span></div>
</div>
</div><div class="ce-block" data-id="rUszXN3WDH" >
<div class="ce-block__content" style="">
<h3 class="ce-header ce-header--left">提示词:</h3>
</div>
</div><div class="locked">游客,回复即可解锁完整可复用资源 → <a href="forum.php?mod=post&action=reply&fid=17&tid=358" onclick="showWindow('reply', this.href)">回复</a></div><div class="ce-block" data-id="Ij9co10eDl" >
<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="Y9ULWsByUO" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled image-tool--withBorder">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_Y9ULWsByUO" class="image-tool__image-picture _zoom" src="https://bbs.gpt.com.cn/data/attachment/forum/202606/12/174356j11qjdzvjuqwqdd1.png" title="" alt="" data-aid="189"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block" data-id="9wqSC6pkVH" >
<div class="ce-block__content" style="">
<h3 class="ce-header ce-header--left">场景二:让AI帮你做产品对比</h3>
</div>
</div><div class="ce-block ce-block--focused" data-id="tzmgLqx_VF" >
<div class="ce-block__content">
<div class="ce-paragraph cdx-block ce-paragraph--left"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">看测评最累的地方,就是广告太多。</span><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">与其刷十几个视频,不如直接把两款产品的参数发给AI。</span><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">让它把营销话术去掉,只看真实差异。</span></div>
</div>
</div><div class="ce-block" data-id="S4MdiMxG9q" >
<div class="ce-block__content" style="">
<h3 class="ce-header ce-header--left">提示词:</h3>
</div>
</div><div class="locked">游客,回复即可解锁完整可复用资源 → <a href="forum.php?mod=post&action=reply&fid=17&tid=358" onclick="showWindow('reply', this.href)">回复</a></div><div class="ce-block" data-id="Jxhnxim6cS" >
<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="SZmSToNU47" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled image-tool--withBorder">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_SZmSToNU47" class="image-tool__image-picture _zoom" src="https://bbs.gpt.com.cn/data/attachment/forum/202606/12/174422g2724548se29f5rq.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="lC3LN8lChN" >
<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="HkG7x2PA7C" >
<div class="ce-block__content">
<div class="ce-paragraph cdx-block ce-paragraph--left"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">各种优惠券、满减、跨店活动,经常看得人头大。</span>
<span style="font-family: "Open Sans", "Clear Sans", "Helvetica Neue", Helvetica, Arial, "Segoe UI Emoji", "SF Pro", sans-serif; orphans: 4; white-space: pre-wrap;">你可以把商家的活动规则和你的购物车截图发给 AI,</span><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">它能一步步帮你算出最终价格,还能提醒有没有隐藏套路。</span></div>
</div>
</div><div class="ce-block" data-id="u6Vrw7dmyZ" >
<div class="ce-block__content" style="">
<h3 class="ce-header ce-header--left">提示词:</h3>
</div>
</div><div class="locked">游客,回复即可解锁完整可复用资源 → <a href="forum.php?mod=post&action=reply&fid=17&tid=358" onclick="showWindow('reply', this.href)">回复</a></div><div class="ce-block" data-id="eLQvGZRV_m" >
<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="E8QseJDoyX" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled image-tool--withBorder">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_E8QseJDoyX" class="image-tool__image-picture _zoom" src="https://bbs.gpt.com.cn/data/attachment/forum/202606/12/174438dbtxv5riabxay1t1.png" title="" alt="" data-aid="191"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block" data-id="caJ77FKbSJ" >
<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="X8_lfhWJxq" >
<div class="ce-block__content">
<div class="ce-paragraph cdx-block ce-paragraph--left"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">很多商品详情页看起来都不错但</span><span style="font-family: "Open Sans", "Clear Sans", "Helvetica Neue", Helvetica, Arial, "Segoe UI Emoji", "SF Pro", sans-serif; orphans: 4; white-space: pre-wrap;">有些网店的五星好评全是刷出来的。</span><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">真正有价值的信息,一般藏在中差评里。你可以</span><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">把评论<span style="font-family: "Open Sans", "Clear Sans", "Helvetica Neue", Helvetica, Arial, "Segoe UI Emoji", "SF Pro", sans-serif; orphans: 4; white-space: pre-wrap;">区内容一键复制</span>给AI,</span>
<span style="font-family: "Open Sans", "Clear Sans", "Helvetica Neue", Helvetica, Arial, "Segoe UI Emoji", "SF Pro", sans-serif; orphans: 4; white-space: pre-wrap;">让它自动去重、过滤掉情绪化宣泄,只总结频繁出现的硬伤。比如衣服到底洗几次会起球、鞋子究竟磨不磨脚。</span></div>
</div>
</div><div class="ce-block" data-id="sGZa0FwB0t" >
<div class="ce-block__content" style="">
<h3 class="ce-header ce-header--left">提示词:</h3>
</div>
</div><div class="locked">游客,回复即可解锁完整可复用资源 → <a href="forum.php?mod=post&action=reply&fid=17&tid=358" onclick="showWindow('reply', this.href)">回复</a></div><div class="ce-block" data-id="T_X-ytsw2a" >
<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="CPyEcV-y2c" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled image-tool--withBorder">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_CPyEcV-y2c" class="image-tool__image-picture _zoom" src="https://bbs.gpt.com.cn/data/attachment/forum/202606/12/174454xkunfytmhth3ut2m.png" title="" alt="" data-aid="192"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block" data-id="jCgXDcHzRJ" >
<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="P27ajK9o6D" >
<div class="ce-block__content">
<div class="ce-paragraph cdx-block ce-paragraph--left"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">有些商品买早了容易亏。</span><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">比如电子产品刚出新款、季节商品即将清仓的时候。</span><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">AI可以帮你分析产品周期、促销节点和价格趋势,判断现在值不值得入手。</span></div>
</div>
</div><div class="ce-block" data-id="vEsSUoTxG5" >
<div class="ce-block__content" style="">
<h3 class="ce-header ce-header--left">提示词:</h3>
</div>
</div><div class="locked">游客,回复即可解锁完整可复用资源 → <a href="forum.php?mod=post&action=reply&fid=17&tid=358" onclick="showWindow('reply', this.href)">回复</a></div><div class="ce-block" data-id="0U1fNehvrr" >
<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="sNe57CYgn7" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled image-tool--withBorder">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_sNe57CYgn7" class="image-tool__image-picture _zoom" src="https://bbs.gpt.com.cn/data/attachment/forum/202606/12/174511bnomzv00f0ynoggj.png" title="" alt="" data-aid="193"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block" data-id="kuFazIHkKL" >
<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="_yJIKLMRaa" >
<div class="ce-block__content">
<div class="ce-paragraph cdx-block ce-paragraph--left"><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">这个功能特别适合买衣服和家居用品。</span><span md-inline="plain" class="md-plain" style="box-sizing: border-box;">直接拍照发给AI,它不仅能识别风格,还能告诉你关键词,方便寻找同款或者平替产品。</span></div>
</div>
</div><div class="ce-block" data-id="hBx54R2yAo" >
<div class="ce-block__content" style="">
<h3 class="ce-header ce-header--left">提示词:</h3>
</div>
</div><div class="locked">游客,回复即可解锁完整可复用资源 → <a href="forum.php?mod=post&action=reply&fid=17&tid=358" onclick="showWindow('reply', this.href)">回复</a></div><div class="ce-block" data-id="0df5nHKX4R" >
<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="n291pJEsHG" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled image-tool--withBorder">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_n291pJEsHG" class="image-tool__image-picture _zoom" src="https://bbs.gpt.com.cn/data/attachment/forum/202606/12/174621l3u3oi95bugjjvio.png" title="" alt="" data-aid="194"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><div class="ce-block" data-id="iENhDVSAXh" >
<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="PnQB42ClNV" >
<div class="ce-block__content">
<div class="ce-paragraph cdx-block ce-paragraph--left"> <span style="font-family: "Open Sans", "Clear Sans", "Helvetica Neue", Helvetica, Arial, "Segoe UI Emoji", "SF Pro", sans-serif; orphans: 4; white-space: pre-wrap;">以后买大件物品(比如冰箱、沙发)拿不定主意时,别直接问“哪款好”。你可以把你的具体预算、家里几口人、摆放尺寸、以及最在意的功能(比如省电还是颜值)直接发给它,让它站在中立的角度帮你出一份优缺点对比。有了这份清单,再去实体店或者网购,心里就踏实多了。</span></div>
</div>
</div><div class="ce-block" data-id="hGhhOsnqJl" >
<div class="ce-block__content" style="">
<h3 class="ce-header ce-header--left">提示词:</h3>
</div>
</div><div class="locked">游客,回复即可解锁完整可复用资源 → <a href="forum.php?mod=post&action=reply&fid=17&tid=358" onclick="showWindow('reply', this.href)">回复</a></div><div class="ce-block" data-id="SFI5yojNyR" >
<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="CqZ8tTlIH2" >
<div class="ce-block__content">
<div class="cdx-block image-tool image-tool--filled image-tool--withBorder">
<div class="image-tool__image">
<div class="image-tool__image-preloader" style=""></div>
<img id="aimg_CqZ8tTlIH2" class="image-tool__image-picture _zoom" src="https://bbs.gpt.com.cn/data/attachment/forum/202606/12/174852ldrulprq14qd43vr.png" title="" alt="" data-aid="195"/>
</div>
<div class="cdx-input image-tool__caption" data-placeholder=""></div>
</div>
</div>
</div><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-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;
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">
.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">
.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]