feat(mobile): add personal assistant knowledge flow
This commit is contained in:
@@ -8,6 +8,18 @@
|
||||
<text class="toolbar-tip">先把问题问清楚,再按需生成总结卡,不伪造分类能力。</text>
|
||||
</view>
|
||||
|
||||
<view class="assistant-entry employee-card">
|
||||
<view class="assistant-entry-copy">
|
||||
<text class="assistant-entry-title">个人助理 · 我的资料</text>
|
||||
<text class="assistant-entry-desc">收藏个人文字、文件和网页后提问;与当前企业 SOP 问答分开管理。</text>
|
||||
</view>
|
||||
<view class="assistant-entry-actions">
|
||||
<button class="secondary-button" @click="openPersonalAssistant">进入个人助理</button>
|
||||
<button class="secondary-button" @click="openPersonalCapture">收藏资料</button>
|
||||
</view>
|
||||
<text class="assistant-domain-note">当前页面:企业 SOP · 个人助理默认:我的资料</text>
|
||||
</view>
|
||||
|
||||
<view class="panel query-panel employee-card">
|
||||
<view class="query-hero">
|
||||
<view class="query-copy">
|
||||
@@ -340,6 +352,14 @@ const closeSummary = () => {
|
||||
summaryCard.value = null;
|
||||
};
|
||||
|
||||
const openPersonalAssistant = () => {
|
||||
uni.navigateTo({ url: '/pages/user/assistant/index' });
|
||||
};
|
||||
|
||||
const openPersonalCapture = () => {
|
||||
uni.navigateTo({ url: '/pages/user/assistant/capture' });
|
||||
};
|
||||
|
||||
const goLogin = () => {
|
||||
rememberLoginRedirect('/pages/user/sop/index');
|
||||
uni.navigateTo({ url: '/pages/auth/login/index' });
|
||||
@@ -404,6 +424,43 @@ onShow(() => {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.assistant-entry {
|
||||
margin-top: 16px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.assistant-entry-title,
|
||||
.assistant-entry-desc,
|
||||
.assistant-domain-note {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.assistant-entry-title {
|
||||
color: var(--ink);
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.assistant-entry-desc,
|
||||
.assistant-domain-note {
|
||||
margin-top: 6px;
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.assistant-entry-actions {
|
||||
display: grid;
|
||||
margin-top: 12px;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.assistant-entry-actions button {
|
||||
min-width: 0;
|
||||
padding: 0 8px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.sop-head .page-title {
|
||||
color: #1f2b3d;
|
||||
font-size: 31px;
|
||||
|
||||
Reference in New Issue
Block a user