fix(portal): 微官网预览页新增极简返回按钮与预览态徽标,修复自定义导航栏无法回退的问题
这个提交包含在:
@@ -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';
|
||||
}
|
||||
|
||||
在新工单中引用
屏蔽一个用户