-
Notifications
You must be signed in to change notification settings - Fork 339
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: GitHub Actions <actions@github.com>
- Loading branch information
1 parent
26d5668
commit e82f574
Showing
99 changed files
with
2,882 additions
and
2,015 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@acedatacloud-nexior-6a2816da-9631-482f-ace0-0b55d26d3a9d.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": "add config for support", | ||
"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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<template> | ||
<el-dialog :model-value="visible" :width="200" class="text-center" @close="$emit('close')"> | ||
<el-menu :collapse="false" class="menu"> | ||
<el-menu-item v-if="site?.features?.support?.discord?.enabled" index="1" @click="onJoin"> | ||
<font-awesome-icon icon="fa-brands fa-discord" class="mr-2" /> | ||
<template #title>{{ $t('common.message.joinDiscord') }}</template> | ||
</el-menu-item> | ||
<el-popover :width="350" trigger="hover"> | ||
<template #reference> | ||
<el-menu-item v-if="site?.features?.support?.wechat?.enabled" index="2"> | ||
<font-awesome-icon icon="fa-brands fa-weixin" class="mr-2" /> | ||
<template #title>{{ $t('common.message.addWeChat') }}</template> | ||
</el-menu-item> | ||
</template> | ||
<div class="flex"> | ||
<div class="flex-1 text-center"> | ||
<el-image :src="site?.features?.support?.wechat?.qr" /> | ||
</div> | ||
</div> | ||
</el-popover> | ||
</el-menu> | ||
</el-dialog> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import { defineComponent } from 'vue'; | ||
import { ElPopover, ElMenu, ElMenuItem, ElImage, ElDialog } from 'element-plus'; | ||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'; | ||
import { ROUTE_DISTRIBUTION_INDEX } from '@/router'; | ||
export default defineComponent({ | ||
name: 'HelpEntry', | ||
components: { | ||
ElImage, | ||
ElDialog, | ||
ElPopover, | ||
ElMenu, | ||
ElMenuItem, | ||
FontAwesomeIcon | ||
}, | ||
props: { | ||
visible: { | ||
type: Boolean, | ||
default: true | ||
} | ||
}, | ||
emits: ['close'], | ||
computed: { | ||
site() { | ||
return this.$store.state.site; | ||
} | ||
}, | ||
methods: { | ||
onJoin() { | ||
window.open(this.$store.state.site?.features?.support?.discord?.url, '_blank'); | ||
}, | ||
onProfit() { | ||
this.$router.push({ | ||
name: ROUTE_DISTRIBUTION_INDEX | ||
}); | ||
} | ||
} | ||
}); | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
.menu { | ||
border-right: none; | ||
.el-menu-item { | ||
height: 40px; | ||
} | ||
} | ||
</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
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
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.