amber ui guest 页面更新
rebuild page Signed-off-by: jwai <jwai4789@gmail.com>
This commit is contained in:
parent
dbbba63746
commit
ef54223e86
@ -1,173 +1,126 @@
|
||||
<template>
|
||||
<div class="p-4 pt-0">
|
||||
<div>
|
||||
<n-grid x-gap="14" cols="1 s:2" responsive="screen">
|
||||
<n-gi class="mt-3 from-green-200 to-green-300 rounded-lg p-4">
|
||||
<h3 class="text-2xl">Leaflow Amber</h3>
|
||||
<p class="mt-3">
|
||||
Amber 是一个全新的智能体平台,是我们 LeaFlow
|
||||
生态里面重要的一环,也是我们自脱离莱云之后全新的尝试。 Leaflow Amber
|
||||
目前仍然处于测试阶段, 不代表最终品质。
|
||||
</p>
|
||||
|
||||
<div
|
||||
v-if="
|
||||
siteUsage.month_tokens &&
|
||||
siteUsage.month_tool_calls &&
|
||||
siteUsage.month_tokens > 0 &&
|
||||
siteUsage.month_tool_calls
|
||||
"
|
||||
>
|
||||
<p class="mt-5">本月处理的 Token 和工具调用的情况</p>
|
||||
<n-statistic tabular-nums>
|
||||
<n-number-animation
|
||||
ref="numberAnimationInstRef"
|
||||
:from="
|
||||
siteUsage.month_tokens < 1000
|
||||
? 0
|
||||
: siteUsage.month_tokens - 800
|
||||
"
|
||||
:to="siteUsage.month_tokens"
|
||||
/>
|
||||
<template #suffix> Tokens </template>
|
||||
</n-statistic>
|
||||
<n-statistic tabular-nums>
|
||||
<n-number-animation
|
||||
ref="numberAnimationInstRef"
|
||||
:from="
|
||||
siteUsage.month_tool_calls < 1000
|
||||
? 0
|
||||
: siteUsage.month_tool_calls - 800
|
||||
"
|
||||
:to="siteUsage.month_tool_calls"
|
||||
/>
|
||||
<template #suffix> Calls </template>
|
||||
</n-statistic>
|
||||
<n-config-provider :theme="theme">
|
||||
<n-layout>
|
||||
<div class="container">
|
||||
<!-- Spotlight 区域 -->
|
||||
<n-card class="spotlight" :bordered="false">
|
||||
<div class="background-pattern" |