Fix experience bugs (#9)
This commit is contained in:
1 parent
c300500135
commit
b35d5a926a
260 files changed
+36865
-16290
No files matched your search
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="panel">
|
||||
<el-skeleton v-if="loading && conversations === undefined" />
|
||||
<el-skeleton v-if="conversations === undefined" />
|
||||
<div v-else class="conversations">
|
||||
<div class="conversation" @click="onNewConversation">
|
||||
<div class="icons">
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<el-input v-model="form.description" :placeholder="$t('chatdoc.message.inputRepositoryDescription')" />
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="onSubmit">{{ $t('common.button.create') }}</el-button>
|
||||
<el-button type="primary" round @click="onSubmit">{{ $t('common.button.create') }}</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</el-dialog>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
</span>
|
||||
<el-input
|
||||
v-model="questionValue"
|
||||
:rows="1"
|
||||
:rows="3"
|
||||
:disabled="disabled"
|
||||
class="input"
|
||||
type="textarea"
|
||||
@@ -20,8 +20,8 @@
|
||||
@keydown.enter.exact.prevent="onSubmit"
|
||||
>
|
||||
</el-input>
|
||||
<p class="info">{{ $t('chat.message.howToUse') }}</p>
|
||||
</div>
|
||||
<p class="info">{{ $t('chat.message.howToUse') }}</p>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -94,7 +94,6 @@ export default defineComponent({
|
||||
box-shadow: none;
|
||||
resize: none;
|
||||
line-height: 30px;
|
||||
height: 40px;
|
||||
}
|
||||
}
|
||||
.el-upload-list {
|
||||
@@ -117,20 +116,12 @@ export default defineComponent({
|
||||
border-radius: 10px;
|
||||
background: none;
|
||||
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
|
||||
top: 30px;
|
||||
.input {
|
||||
border: none;
|
||||
width: calc(100% - 80px);
|
||||
margin-left: 5px;
|
||||
}
|
||||
.info {
|
||||
display: block;
|
||||
position: absolute;
|
||||
font-size: 12px;
|
||||
color: #666;
|
||||
margin-top: 5px;
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
.btn {
|
||||
display: block;
|
||||
z-index: 100;
|
||||
@@ -152,4 +143,13 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.info {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
color: #666;
|
||||
margin-top: 5px;
|
||||
margin-left: 3px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
</style>
|
||||
@@ -16,7 +16,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<el-alert v-if="errorText" class="error" :title="errorText" type="error" :closable="false" />
|
||||
<el-button v-if="showBuyMore" type="primary" class="btn btn-buy" size="small" @click="onBuyMore">
|
||||
<el-button v-if="showBuyMore" round type="primary" class="btn btn-buy" size="small" @click="onBuyMore">
|
||||
{{ $t('common.button.buyMore') }}
|
||||
</el-button>
|
||||
</template>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<div v-if="learning">{{ $t('chatdoc.message.learningDocument') }}</div>
|
||||
</el-upload>
|
||||
</el-dialog>
|
||||
<el-button type="primary" @click="dialogVisible = true">{{ $t('chatdoc.button.uploadDocuments') }}</el-button>
|
||||
<el-button type="primary" round @click="dialogVisible = true">{{ $t('chatdoc.button.uploadDocuments') }}</el-button>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
|
||||
Reference in new issue
Block a user