mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-04-13 04:36:38 +08:00
feat: 图片广场优化
This commit is contained in:
@@ -373,6 +373,13 @@ onUnmounted(() => {
|
||||
配置
|
||||
</h2>
|
||||
|
||||
<!-- 操作说明 -->
|
||||
<div class="px-3 py-2 bg-green-50 rounded-lg text-xs text-gray-600 leading-relaxed">
|
||||
<p class="mb-1"><strong>📌 生成说明:</strong></p>
|
||||
<p class="mb-1">• 生成的图片将自动保存到"我的图库",仅个人可见</p>
|
||||
<p>• 发布后图片将在"图片广场"公开展示,所有用户可见</p>
|
||||
</div>
|
||||
|
||||
<el-form label-position="top" class="space-y-1">
|
||||
<!-- Token -->
|
||||
<el-form-item label="API密钥 (可选)">
|
||||
@@ -413,10 +420,16 @@ onUnmounted(() => {
|
||||
</div>
|
||||
</el-option>
|
||||
</el-select>
|
||||
<div class="mt-2 text-xs text-gray-500">
|
||||
按此收费,
|
||||
<router-link to="/model-library" class="text-primary hover:underline">
|
||||
前往模型库查看详情
|
||||
</router-link>
|
||||
</div>
|
||||
</el-form-item>
|
||||
|
||||
<!-- Prompt -->
|
||||
<el-form-item label="提示词" required>
|
||||
<el-form-item label="提示词" required class="prompt-from">
|
||||
<template #label>
|
||||
<div class="flex justify-between items-center w-full">
|
||||
<span>提示词</span>
|
||||
@@ -597,7 +610,9 @@ onUnmounted(() => {
|
||||
.custom-scrollbar::-webkit-scrollbar-track {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
:deep(.prompt-from .el-form-item__label){
|
||||
display: flex;
|
||||
}
|
||||
.bg-checkboard {
|
||||
background-image:
|
||||
linear-gradient(45deg, #f0f0f0 25%, transparent 25%),
|
||||
|
||||
Reference in New Issue
Block a user