fix(portal): 微官网预览页新增极简返回按钮与预览态徽标,修复自定义导航栏无法回退的问题

这个提交包含在:
wikiboss
2026-09-21 15:37:06 +08:00
父节点 2d0b655200
当前提交 38506bbd40
共有 8 个文件被更改,包括 397 次插入 和 127 次删除

查看文件

@@ -125,12 +125,12 @@
</view>
</view>
<!-- 3. AI Copilot Icebreaker Script Bento Card -->
<!-- 3. Follow-up Script Bento Card -->
<view class="lead-card lead-section ai-card">
<view class="ai-header-row">
<view class="ai-identity">
<view class="ai-pulse-dot"></view>
<text class="ai-badge-text">AI Copilot</text>
<text class="ai-badge-text">{{ aiScriptTitle }}</text>
</view>
<view class="ai-gen-action" @click="handleGenerateAiScript">
<text class="ai-gen-btn-text">{{ generateAiLabel }}</text>
@@ -424,6 +424,10 @@ const saveLabel = computed((): string => {
return resolveLeadDetailText('save');
});
const aiScriptTitle = computed((): string => {
return resolveLeadDetailText('aiScriptTitle');
});
function t(key: LeadDetailCopyKey): string {
return resolveLeadDetailText(key);
}

查看文件

@@ -1475,6 +1475,7 @@ onShow(() => {
color: #0B5CFF;
background-color: #F7F8FA;
border-color: #E3E7ED;
box-shadow: 0 0 0 1px #667085;
}
/* Error Notice */

查看文件

@@ -51,7 +51,8 @@ export type LeadDetailCopyKey =
| 'applyScriptAction'
| 'scriptCopiedToast'
| 'savedContactToast'
| 'leadTitle';
| 'leadTitle'
| 'aiScriptTitle';
export type LeadDetailPageOptions = {
id?: string;
@@ -217,6 +218,9 @@ export function resolveLeadDetailText(key: LeadDetailCopyKey): string {
if (key === 'leadTitle') {
return zh ? '潜客档案' : 'Lead Profile';
}
if (key === 'aiScriptTitle') {
return zh ? '智能跟进建议' : 'AI Copilot';
}
if (key === 'noteSavedToast') {
return zh ? '备忘已保存' : 'Note saved';
}