From d9198d478a4f50b5e24f90c5ec85f1baa6577546 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Thu, 18 Mar 2021 18:20:23 +0800 Subject: [PATCH] refactor: ~ --- packages/gui/src/view/pages/index.vue | 49 +++++++++++++++++++++++---- 1 file changed, 43 insertions(+), 6 deletions(-) diff --git a/packages/gui/src/view/pages/index.vue b/packages/gui/src/view/pages/index.vue index cbb26ed..e1bb050 100644 --- a/packages/gui/src/view/pages/index.vue +++ b/packages/gui/src/view/pages/index.vue @@ -42,12 +42,26 @@
-
-
如果它解决了你的问题,请不要吝啬你的star哟!
- star - GitHub stars -
+
+ + +
+
如果它解决了你的问题,请不要吝啬你的star哟!
+ star + GitHub stars + +
+
+ +
* 随着越来越多用户来使用,我的1m带宽的小服务器已经满负荷运转了。
+
* 也请大家不要看油管视频,把带宽留给想要访问github的同学,致敬爱学习的你。
+
* 如果您觉得这个软件帮助到你,而你也想帮助更多的人,可以捐赠我, 我将会用捐赠的钱来购买带宽,感谢支持。
+
+ + +
+
@@ -73,6 +87,7 @@ export default { }, data () { return { + donateModal: false, status: undefined, startup: { loading: false, @@ -227,6 +242,9 @@ export default { } }) }, + goDonate () { + this.$message.info('感谢支持') + }, doCheckUpdate (fromUser = true) { this.$api.update.checkForUpdate(fromUser) }, @@ -240,6 +258,18 @@ export default { .page_index { .star { + display: flex; + flex-direction: row; + align-items: center; + justify-content: space-between; + .donate{ + cursor:pointer; + } + .right{ + display: flex; + flex-direction: row; + justify-content: flex-end; + } >*{ margin-right:10px; } @@ -252,7 +282,14 @@ export default { } } } - +.payQrcode{ + padding:10px; + display: flex; + justify-content: space-evenly; + img{ + border:1px #c7c7c7 solid; + } +} .big_button > button { width: 100px; height: 100px;