add side menu and info
This commit is contained in:
1 parent
5b076b2374
commit
0577efe43a
7 files changed
+57
-4
No files matched your search
@@ -90,6 +90,7 @@ export default defineComponent({
|
||||
onDeleteConversation(id: string) {
|
||||
const newConversations = this.conversations.filter((i: IConversation) => i.id !== id);
|
||||
this.$store.dispatch('setConversations', newConversations);
|
||||
this.onNewConversation();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<el-dialog :model-value="visible" @close="$emit('close')">
|
||||
<el-dialog :model-value="visible" width="400px" @close="$emit('close')">
|
||||
<h2 class="title">{{ $t('common.nav.setting') }}</h2>
|
||||
<el-form label-width="120px">
|
||||
<el-form-item :label="$t('setting.field.stream')">
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
<template>
|
||||
<div class="new-message-box">
|
||||
<span v-if="application" class="new-message-box-usage-info">
|
||||
{{ $t('conversation.message.usedCount') }}: {{ application?.used_amount }}
|
||||
{{ $t('conversation.message.remainingCount') }}: {{ application?.remaining_amount }}
|
||||
</span>
|
||||
<el-input
|
||||
v-model="value"
|
||||
type="textarea"
|
||||
@@ -147,5 +151,13 @@ export default defineComponent({
|
||||
font-size: 12px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.new-message-box-usage-info {
|
||||
color: #999;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
display: block;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user