This commit is contained in:
神仙都没用 2024-06-28 15:54:35 +08:00
parent e40da32789
commit a5bd14020f

View File

@ -37,7 +37,7 @@
<el-input <el-input
:ref="setRefs('inputEntity')" :ref="setRefs('inputEntity')"
v-model="form.entity" v-model="form.entity"
placeholder="如:收货地址、商品列表" placeholder="如:学生信息、商品信息"
@keydown.enter="step.next" @keydown.enter="step.next"
/> />
@ -57,7 +57,9 @@
<div class="editor"> <div class="editor">
<div class="topbar"> <div class="topbar">
<div class="dots"> <div class="dots">
<span></span> <el-tooltip content="返回">
<span @click="step.prev()"></span>
</el-tooltip>
<span></span> <span></span>
<span></span> <span></span>
</div> </div>
@ -70,7 +72,7 @@
<el-tooltip <el-tooltip
placement="top" placement="top"
content="指某类事物的集合名称,如:收货地址、商品列表" content="指某类事物的集合名称,如:学生信息、商品信息"
> >
<el-icon> <el-icon>
<question-filled /> <question-filled />
@ -135,7 +137,7 @@
<el-tooltip <el-tooltip
placement="top" placement="top"
content="实体数据的字段名称ID、姓名、手机号" content="实体数据的字段名称ID、姓名、手机号、状态"
> >
<el-icon> <el-icon>
<question-filled /> <question-filled />
@ -179,13 +181,9 @@
<div class="editor"> <div class="editor">
<div class="topbar"> <div class="topbar">
<div class="dots"> <div class="dots">
<span <el-tooltip content="返回">
@click=" <span @click="step.prev()"></span>
() => { </el-tooltip>
step.prev();
}
"
></span>
<span></span> <span></span>
<span></span> <span></span>
</div> </div>
@ -356,6 +354,8 @@ const step = reactive({
return false; return false;
} }
desc.set(["正在做初步分析,请稍等..."]);
await code.getColumns(); await code.getColumns();
break; break;
} }
@ -710,7 +710,7 @@ const desc = reactive({
default: default:
desc.list = [ desc.list = [
"为开发者生成优质编程代码", "COOL为开发者生",
"只需少量的口语提示就能完成特定的功能,大大节省开发时间" "只需少量的口语提示就能完成特定的功能,大大节省开发时间"
]; ];
} }
@ -718,6 +718,11 @@ const desc = reactive({
desc.start(); desc.start();
}, },
set(arr: string[]) {
desc.list = arr;
desc.start();
},
t1: null as any, t1: null as any,
t2: null as any, t2: null as any,
start() { start() {
@ -1027,6 +1032,14 @@ $color: #41d1ff;
border-radius: 12px; border-radius: 12px;
background-color: #2f3447; background-color: #2f3447;
margin-right: 8px; margin-right: 8px;
&:first-child {
cursor: pointer;
&:hover {
background-color: var(--el-color-danger);
}
}
} }
} }
} }
@ -1339,20 +1352,6 @@ $color: #41d1ff;
border-radius: 10px 10px 0 0; border-radius: 10px 10px 0 0;
} }
.topbar {
.dots {
span {
cursor: pointer;
&:first-child {
&:hover {
background-color: var(--el-color-danger);
}
}
}
}
}
.content { .content {
height: calc(100% - 36px); height: calc(100% - 36px);
background-color: #080e14; background-color: #080e14;