index.vue 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <template>
  2. <view class="about-container">
  3. <u-navbar :titleStyle="{ color: '#fff' }" :autoBack="true" title="关于我们" :placeholder="true" :safeAreaInsetTop="true" :bgColor="proxy.$settingStore.themeColor.color">
  4. <template #left>
  5. <view class="u-nav-slot">
  6. <u-icon name="arrow-left" size="19" color="#fff"></u-icon>
  7. </view>
  8. </template>
  9. </u-navbar>
  10. <view class="uni-content-header"></view>
  11. <view class="header-section text-center">
  12. <image style="width: 150rpx; height: 150rpx" mode="heightFix" :src="useStore.$state.loginLogo" v-if="useStore.$state.loginLogo" />
  13. <image style="width: 150rpx; height: 150rpx" mode="heightFix" src="@/static/logo200.png" v-else />
  14. <uni-title type="h2" :title="useStore.$state.loginTitle"></uni-title>
  15. </view>
  16. <view class="content-section">
  17. <view class="menu-list">
  18. <view class="list-cell list-cell-arrow">
  19. <view class="menu-item-box">
  20. <view>版本信息</view>
  21. <view class="text-right">v{{ version }}</view>
  22. </view>
  23. </view>
  24. <view class="list-cell list-cell-arrow">
  25. <view class="menu-item-box">
  26. <view>官方邮箱</view>
  27. <view class="text-right">{{ email }}</view>
  28. </view>
  29. </view>
  30. <view class="list-cell list-cell-arrow">
  31. <view class="menu-item-box">
  32. <view>服务热线</view>
  33. <view class="text-right">{{ hotline }}</view>
  34. </view>
  35. </view>
  36. <view class="list-cell list-cell-arrow">
  37. <view class="menu-item-box">
  38. <view>公司网站</view>
  39. <view class="text-right">
  40. <uni-link :href="url" :text="url" showUnderLine="false"></uni-link>
  41. </view>
  42. </view>
  43. </view>
  44. </view>
  45. </view>
  46. <view class="copyright">
  47. <view>Copyright &copy; 2021 - 2025 Usky. All Rights Reserved. 永天股份 版权所有</view>
  48. </view>
  49. </view>
  50. </template>
  51. <script setup>
  52. import config from "@/config";
  53. import { onReady, onLoad, onShow, onNavigationBarButtonTap } from "@dcloudio/uni-app";
  54. import { ref, reactive, computed, getCurrentInstance, toRefs, inject } from "vue";
  55. import { publicStores, useStores } from "@/store/modules/index";
  56. const useStore = useStores();
  57. const { proxy } = getCurrentInstance();
  58. const url = ref(config.appInfo.site_url);
  59. const version = ref(config.appInfo.version);
  60. const email = ref(config.appInfo.email);
  61. const hotline = ref(config.appInfo.hotline);
  62. onShow(() => {
  63. //调用系统主题颜色
  64. proxy.$settingStore.systemThemeColor([1]);
  65. });
  66. </script>
  67. <style lang="scss" scoped>
  68. .about-container {
  69. .copyright {
  70. margin-top: 50rpx;
  71. text-align: center;
  72. line-height: 60rpx;
  73. color: #999;
  74. }
  75. .header-section {
  76. display: flex;
  77. padding: 30rpx 0 0;
  78. flex-direction: column;
  79. align-items: center;
  80. }
  81. }
  82. </style>