-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: AceDataCloud <office@acedata.cloud> Co-authored-by: Germey <germey@acedata.cloud>
- Loading branch information
1 parent
a0a7cd9
commit c3176e4
Showing
80 changed files
with
4,533 additions
and
3,120 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@acedatacloud-nexior-93500e09-0308-4814-a0d7-146384869683.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "patch", | ||
"comment": "update translation files", | ||
"packageName": "@acedatacloud/nexior", | ||
"email": "office@acedata.cloud", | ||
"dependentChangeType": "patch" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<template> | ||
<div> | ||
<el-card v-show="operating"> | ||
<content-input class="mb-4" /> | ||
<prompt-input class="mb-4" /> | ||
<preset-selector class="mb-4" /> | ||
<div class="actions"> | ||
<el-button type="primary" class="btn w-full" round @click="onGenerate"> | ||
<font-awesome-icon icon="fa-solid fa-magic" class="mr-2" /> | ||
{{ $t('qrart.button.generate') }} | ||
</el-button> | ||
</div> | ||
</el-card> | ||
<div> | ||
<el-button type="primary" class="btn btn-operate" @click="operating = !operating">+</el-button> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import { defineComponent } from 'vue'; | ||
import { ElButton, ElCard } from 'element-plus'; | ||
import PresetSelector from './config/PresetSelector2.vue'; | ||
import ContentInput from './config/ContentInput.vue'; | ||
import PromptInput from './config/PromptInput.vue'; | ||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'; | ||
export default defineComponent({ | ||
name: 'OperationPanel', | ||
components: { | ||
ElButton, | ||
ElCard, | ||
PresetSelector, | ||
ContentInput, | ||
PromptInput, | ||
FontAwesomeIcon | ||
}, | ||
emits: ['generate'], | ||
data() { | ||
return { | ||
operating: false | ||
}; | ||
}, | ||
methods: { | ||
onGenerate() { | ||
this.$emit('generate'); | ||
this.operating = false; | ||
} | ||
} | ||
}); | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
.el-card { | ||
width: 580px; | ||
height: fit-content; | ||
overflow-y: scroll; | ||
position: absolute; | ||
bottom: 70px; | ||
left: calc(50% - 300px); | ||
@media (max-width: 767px) { | ||
width: 100%; | ||
left: 0; | ||
} | ||
} | ||
.btn-operate { | ||
width: 50px; | ||
height: 50px; | ||
border-radius: 50%; | ||
font-size: 24px; | ||
line-height: 40px; | ||
padding: 0; | ||
margin: auto; | ||
display: block; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.