about.vue 3.7 KB

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