mirror of
https://github.com/viarotel-org/escrcpy.git
synced 2025-02-21 20:39:49 +01:00
docs: 🧑💻 Add Sponsored entry
This commit is contained in:
parent
ae13fdea07
commit
0e1202e106
@ -348,15 +348,15 @@ Windows 及 Linux 端内部集成了 Gnirehtet, 用于提供 PC 到安卓设
|
|||||||
- [vue](https://vuejs.org/)
|
- [vue](https://vuejs.org/)
|
||||||
- [gnirehtet](https://github.com/Genymobile/gnirehtet/)
|
- [gnirehtet](https://github.com/Genymobile/gnirehtet/)
|
||||||
|
|
||||||
## 支持项目
|
## 赞助项目
|
||||||
|
|
||||||
> 如果该项目帮到你的话,可以请我喝杯咖啡,让我更有精神完善该项目 😛
|
> 如果该项目帮到你的话,可以请我喝杯咖啡,让我更有精神完善该项目 😛
|
||||||
|
|
||||||
<div style="display:flex;">
|
<div style="display:flex;">
|
||||||
<img src="https://cdn.jsdelivr.net/gh/viarotel-org/escrcpy@main/src/assets/donate/viarotel-wepay.png" alt="viarotel-wepay" width="30%">
|
<img src="https://cdn.jsdelivr.net/gh/viarotel-org/escrcpy@main/src/assets/sponsor/viarotel-wepay.png" alt="viarotel-wepay" width="30%">
|
||||||
<img src="https://cdn.jsdelivr.net/gh/viarotel-org/escrcpy@main/src/assets/donate/viarotel-alipay.png" alt="viarotel-alipay" width="30%">
|
<img src="https://cdn.jsdelivr.net/gh/viarotel-org/escrcpy@main/src/assets/sponsor/viarotel-alipay.png" alt="viarotel-alipay" width="30%">
|
||||||
<a href="https://www.paypal.com/paypalme/viarotel" target="_blank" rel="noopener noreferrer">
|
<a href="https://www.paypal.com/paypalme/viarotel" target="_blank" rel="noopener noreferrer">
|
||||||
<img src="https://cdn.jsdelivr.net/gh/viarotel-org/escrcpy@main/src/assets/donate/viarotel-paypal.png" alt="viarotel-paypal" width="30%">
|
<img src="https://cdn.jsdelivr.net/gh/viarotel-org/escrcpy@main/src/assets/sponsor/viarotel-paypal.png" alt="viarotel-paypal" width="30%">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -346,15 +346,15 @@ Gnirehtet встроен в приложения для Windows и Linux, что
|
|||||||
- [vue](https://vuejs.org/)
|
- [vue](https://vuejs.org/)
|
||||||
- [gnirehtet](https://github.com/Genymobile/gnirehtet/)
|
- [gnirehtet](https://github.com/Genymobile/gnirehtet/)
|
||||||
|
|
||||||
## Поддержка проекта
|
## Спонсировать проектта
|
||||||
|
|
||||||
> Если этот проект помог вам, вы можете купить мне кофе, чтобы поддержать меня в улучшении проекта! 😛
|
> Если этот проект помог вам, вы можете купить мне кофе, чтобы поддержать меня в улучшении проекта! 😛
|
||||||
|
|
||||||
<div style="display:flex;">
|
<div style="display:flex;">
|
||||||
<img src="https://cdn.jsdelivr.net/gh/viarotel-org/escrcpy@main/src/assets/donate/viarotel-wepay.png" alt="viarotel-wepay" width="30%">
|
<img src="https://cdn.jsdelivr.net/gh/viarotel-org/escrcpy@main/src/assets/sponsor/viarotel-wepay.png" alt="viarotel-wepay" width="30%">
|
||||||
<img src="https://cdn.jsdelivr.net/gh/viarotel-org/escrcpy@main/src/assets/donate/viarotel-alipay.png" alt="viarotel-alipay" width="30%">
|
<img src="https://cdn.jsdelivr.net/gh/viarotel-org/escrcpy@main/src/assets/sponsor/viarotel-alipay.png" alt="viarotel-alipay" width="30%">
|
||||||
<a href="https://www.paypal.com/paypalme/viarotel" target="_blank" rel="noopener noreferrer">
|
<a href="https://www.paypal.com/paypalme/viarotel" target="_blank" rel="noopener noreferrer">
|
||||||
<img src="https://cdn.jsdelivr.net/gh/viarotel-org/escrcpy@main/src/assets/donate/viarotel-paypal.png" alt="viarotel-paypal" width="30%">
|
<img src="https://cdn.jsdelivr.net/gh/viarotel-org/escrcpy@main/src/assets/sponsor/viarotel-paypal.png" alt="viarotel-paypal" width="30%">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -347,15 +347,15 @@ This project would not be possible without the following open source projects:
|
|||||||
- [vue](https://vuejs.org/)
|
- [vue](https://vuejs.org/)
|
||||||
- [gnirehtet](https://github.com/Genymobile/gnirehtet/)
|
- [gnirehtet](https://github.com/Genymobile/gnirehtet/)
|
||||||
|
|
||||||
## Support the Project
|
## Sponsor Project
|
||||||
|
|
||||||
> If this project has helped you, you can buy me a coffee to keep me energized and improving the project! 😛
|
> If this project has helped you, you can buy me a coffee to keep me energized and improving the project! 😛
|
||||||
|
|
||||||
<div style="display:flex;">
|
<div style="display:flex;">
|
||||||
<img src="https://cdn.jsdelivr.net/gh/viarotel-org/escrcpy@main/src/assets/donate/viarotel-wepay.png" alt="viarotel-wepay" width="30%">
|
<img src="https://cdn.jsdelivr.net/gh/viarotel-org/escrcpy@main/src/assets/sponsor/viarotel-wepay.png" alt="viarotel-wepay" width="30%">
|
||||||
<img src="https://cdn.jsdelivr.net/gh/viarotel-org/escrcpy@main/src/assets/donate/viarotel-alipay.png" alt="viarotel-alipay" width="30%">
|
<img src="https://cdn.jsdelivr.net/gh/viarotel-org/escrcpy@main/src/assets/sponsor/viarotel-alipay.png" alt="viarotel-alipay" width="30%">
|
||||||
<a href="https://www.paypal.com/paypalme/viarotel" target="_blank" rel="noopener noreferrer">
|
<a href="https://www.paypal.com/paypalme/viarotel" target="_blank" rel="noopener noreferrer">
|
||||||
<img src="https://cdn.jsdelivr.net/gh/viarotel-org/escrcpy@main/src/assets/donate/viarotel-paypal.png" alt="viarotel-paypal" width="30%">
|
<img src="https://cdn.jsdelivr.net/gh/viarotel-org/escrcpy@main/src/assets/sponsor/viarotel-paypal.png" alt="viarotel-paypal" width="30%">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
56
src/components/About/components/SponsorDialog/index.vue
Normal file
56
src/components/About/components/SponsorDialog/index.vue
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
<template>
|
||||||
|
<el-dialog v-model="visible" :title="`♥ ${$t('about.sponsor.title')}`" width="800px" @closed="onClosed">
|
||||||
|
<div class="pt-4 pb-8">
|
||||||
|
{{ $t('about.sponsor.description') }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="flex space-x-4">
|
||||||
|
<el-image v-for="(item, index) of imageList" :key="index" :src="item.src" :alt="item.alt" preview-teleported :preview-src-list :initial-index="index" fit="contain" class="!flex-1 !w-0 !border !rounded-md !overflow-hidden" />
|
||||||
|
</div>
|
||||||
|
</el-dialog>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import alipay from '$/assets/sponsor/viarotel-alipay.png'
|
||||||
|
import wepay from '$/assets/sponsor/viarotel-wepay.png'
|
||||||
|
import paypal from '$/assets/sponsor/viarotel-paypal.png'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
visible: false,
|
||||||
|
imageList: [
|
||||||
|
{
|
||||||
|
src: alipay,
|
||||||
|
alt: 'Alipay',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
src: wepay,
|
||||||
|
alt: 'Wepay',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
src: paypal,
|
||||||
|
alt: 'Paypal',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
previewSrcList() {
|
||||||
|
return this.imageList.map(item => item.src)
|
||||||
|
},
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
open() {
|
||||||
|
this.visible = true
|
||||||
|
},
|
||||||
|
close() {
|
||||||
|
this.visible = false
|
||||||
|
},
|
||||||
|
submit() {},
|
||||||
|
onClosed() {},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style></style>
|
@ -1,14 +1,14 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="flex flex-col items-center justify-center h-full -mt-8">
|
<div class="flex flex-col items-center justify-center h-full -mt-8 space-y-4">
|
||||||
<a class="block" :href="escrcpyURL" target="_blank">
|
<a class="block" :href="escrcpyURL" target="_blank">
|
||||||
<img src="$electron/resources/build/logo.png" class="h-48" alt="" />
|
<img src="$electron/resources/build/logo.png" class="h-48" alt="" />
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<div class="pt-4 text-xl text-center italic text-gray-700 dark:text-white">
|
<div class="text-xl text-center italic text-gray-700 dark:text-white">
|
||||||
{{ $t("about.description") }}
|
{{ $t("about.description") }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="pt-12 pb-4">
|
<div class="pt-8">
|
||||||
<el-button
|
<el-button
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
type="primary"
|
type="primary"
|
||||||
@ -21,6 +21,11 @@
|
|||||||
: $t("about.update")
|
: $t("about.update")
|
||||||
}}
|
}}
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
||||||
|
<el-button size="large" class="group" @click="handleSponsor">
|
||||||
|
<span class="group-hover:animate-rubber-band">♥</span>
|
||||||
|
<span class="pl-1">{{ $t('about.sponsor.title') }}</span>
|
||||||
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="text-sm">
|
<div class="text-sm">
|
||||||
@ -34,13 +39,19 @@
|
|||||||
|
|
||||||
v{{ version }}
|
v{{ version }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<SponsorDialog ref="sponsorDialogRef" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { version } from '/package.json'
|
import { version } from '/package.json'
|
||||||
|
import SponsorDialog from './components/SponsorDialog/index.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
components: {
|
||||||
|
SponsorDialog,
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
loading: false,
|
loading: false,
|
||||||
@ -57,6 +68,9 @@ export default {
|
|||||||
this.onUpdateError()
|
this.onUpdateError()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
handleSponsor() {
|
||||||
|
this.$refs.sponsorDialogRef.open()
|
||||||
|
},
|
||||||
handleUpdate() {
|
handleUpdate() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
this.$electron.ipcRenderer.send('check-for-update')
|
this.$electron.ipcRenderer.send('check-for-update')
|
||||||
|
@ -412,5 +412,7 @@
|
|||||||
"about.update-downloaded.confirm": "Update",
|
"about.update-downloaded.confirm": "Update",
|
||||||
"about.update-available.title": "Update Available",
|
"about.update-available.title": "Update Available",
|
||||||
"about.update-available.confirm": "Update",
|
"about.update-available.confirm": "Update",
|
||||||
"about.update.progress": "Updating..."
|
"about.update.progress": "Updating...",
|
||||||
|
"about.sponsor.title": "Sponsor Project",
|
||||||
|
"about.sponsor.description": "If this project has helped you, you can buy me a coffee to keep me energized to improve it 😛"
|
||||||
}
|
}
|
||||||
|
@ -412,5 +412,7 @@
|
|||||||
"about.update-downloaded.confirm": "Обновить",
|
"about.update-downloaded.confirm": "Обновить",
|
||||||
"about.update-available.title": "Доступно обновление",
|
"about.update-available.title": "Доступно обновление",
|
||||||
"about.update-available.confirm": "Обновить",
|
"about.update-available.confirm": "Обновить",
|
||||||
"about.update.progress": "Обновление..."
|
"about.update.progress": "Обновление...",
|
||||||
|
"about.sponsor.title": "Спонсировать проект",
|
||||||
|
"about.sponsor.description": "Если этот проект помог вам, вы можете угостить меня кофе, чтобы у меня было больше энергии для его улучшения 😛"
|
||||||
}
|
}
|
||||||
|
@ -412,5 +412,7 @@
|
|||||||
"about.update-downloaded.confirm": "更新",
|
"about.update-downloaded.confirm": "更新",
|
||||||
"about.update-available.title": "发现新版本",
|
"about.update-available.title": "发现新版本",
|
||||||
"about.update-available.confirm": "更新",
|
"about.update-available.confirm": "更新",
|
||||||
"about.update.progress": "正在更新中"
|
"about.update.progress": "正在更新中",
|
||||||
|
"about.sponsor.title": "赞助项目",
|
||||||
|
"about.sponsor.description": "如果该项目帮到你的话,可以请我喝杯咖啡,让我更有精神完善该项目 😛"
|
||||||
}
|
}
|
||||||
|
@ -412,5 +412,7 @@
|
|||||||
"about.update-downloaded.confirm": "更新",
|
"about.update-downloaded.confirm": "更新",
|
||||||
"about.update-available.title": "發現新版本",
|
"about.update-available.title": "發現新版本",
|
||||||
"about.update-available.confirm": "更新",
|
"about.update-available.confirm": "更新",
|
||||||
"about.update.progress": "正在更新"
|
"about.update.progress": "正在更新",
|
||||||
|
"about.sponsor.title": "贊助項目",
|
||||||
|
"about.sponsor.description": "如果該項目幫到你的話,可以請我喝杯咖啡,讓我更有精神完善該項目 😛"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user