about.vue 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <template>
  2. <view class="app-page bg-white flex flex-col">
  3. <view v-if="uni_halo_logo" class="logo mt-40 pt-40"><image class="logo-img round-3" :src="uni_halo_logo" mode="aspectFill"></image></view>
  4. <view class="mt-12 text-weight-b text-size-lg" :class="{ 'mt-40 pt-40': !uni_halo_logo }">uni-halo</view>
  5. <view class="mt-12 text-size-s text-grey-darken-3"></view>
  6. <view class="list-group mt-48" style="width: 100%;">
  7. <tm-grouplist :shadow="0" :margin="0" :borderBottom="true">
  8. <tm-listitem title="开源组织" :font-size="28" @click="$utils.copyText('https://www.ialley.cn', '巷子工坊官网已复制成功!')">
  9. <text class="text-size-s" slot="rightValue">巷子工坊</text>
  10. </tm-listitem>
  11. <tm-listitem title="开源作者" :font-size="28" @click="$utils.copyText('https://b.925i.cn', '作者博客地址已复制')">
  12. <text class="text-size-s" slot="rightValue">小莫唐尼</text>
  13. </tm-listitem>
  14. <tm-listitem title="作者博客" :font-size="28" @click="$utils.copyText('https://b.925i.cn', '作者博客地址已复制')">
  15. <text class="text-size-s text-overflow" slot="rightValue">https://b.925i.cn</text>
  16. </tm-listitem>
  17. <tm-listitem title="文档地址" :font-size="28" @click="$utils.copyText('https://uni-halo.925i.cn', '项目码云仓库已复制')">
  18. <text class="text-size-s text-overflow" slot="rightValue">https://uni-halo.925i.cn</text>
  19. </tm-listitem>
  20. <tm-listitem title="码云仓库" :font-size="28" @click="$utils.copyText('https://gitee.com/ialley-workshop-open/uni-halo', '码云仓库地址已复制')">
  21. <text class="text-size-s text-overflow" slot="rightValue">https://gitee.com/ialley-workshop-open/uni-halo</text>
  22. </tm-listitem>
  23. <tm-listitem title="Github" :font-size="28" @click="$utils.copyText('https://github.com/ialley-workshop-open/uni-halo', 'Github地址已复制')">
  24. <text class="text-size-s text-overflow" slot="rightValue">https://github.com/ialley-workshop-open/uni-halo</text>
  25. </tm-listitem>
  26. </tm-grouplist>
  27. </view>
  28. <view class="copyright bg-white text-size-xs text-align-center text-grey-darken-1 pa-36">
  29. <view class="">根据 AGPL-3.0 协议开源</view>
  30. <view class="mt-8">「 2022 uni-halo 丨 开源项目丨巷子工坊@小莫唐尼 」</view>
  31. </view>
  32. </view>
  33. </template>
  34. <script>
  35. import tmGrouplist from '@/tm-vuetify/components/tm-grouplist/tm-grouplist.vue';
  36. import tmListitem from '@/tm-vuetify/components/tm-listitem/tm-listitem.vue';
  37. export default {
  38. components: {
  39. tmGrouplist,
  40. tmListitem
  41. },
  42. computed: {
  43. uni_halo_logo() {
  44. return getApp().globalData.uni_halo_logo;
  45. }
  46. },
  47. onLoad() {
  48. this.fnSetPageTitle('关于项目');
  49. },
  50. methods: {}
  51. };
  52. </script>
  53. <style scoped lang="scss">
  54. .app-page {
  55. width: 100vw;
  56. height: 100vh;
  57. box-sizing: border-box;
  58. align-items: center;
  59. .logo-img {
  60. width: 160rpx;
  61. height: 160rpx;
  62. }
  63. .info {
  64. margin-left: 90rpx;
  65. margin-right: 90rpx;
  66. }
  67. .copyright {
  68. width: 100vw;
  69. position: fixed;
  70. bottom: 0;
  71. left: 0;
  72. box-sizing: border-box;
  73. }
  74. .label {
  75. display: inline-block;
  76. min-width: 140rpx;
  77. }
  78. }
  79. .text-overflow {
  80. width: calc(100vw - 300rpx);
  81. text-align: right;
  82. }
  83. .list-group {
  84. ::v-deep {
  85. .left {
  86. width: 160rpx;
  87. min-width: 160rpx;
  88. }
  89. }
  90. }
  91. </style>