index.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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-navbar__content__left__item">
  6. <u-icon name="arrow-left" size="19" color="#fff"></u-icon>
  7. </view>
  8. </template>
  9. </u-navbar>
  10. <view class="oa-header-section text-center">
  11. <image style="width: 150rpx; height: 150rpx" mode="heightFix" :src="useStore.$state.loginLogo" v-if="useStore.$state.loginLogo" />
  12. <image style="width: 150rpx; height: 150rpx" mode="heightFix" src="@/static/logo200.png" v-else />
  13. <uni-title type="h2" :title="useStore.$state.loginTitle"></uni-title>
  14. </view>
  15. <view class="oa-content-section">
  16. <view class="menu-list">
  17. <view class="list-cell list-cell-arrow">
  18. <view class="menu-item">
  19. <view>版本信息</view>
  20. <view class="text-right">v{{ version }}</view>
  21. </view>
  22. </view>
  23. <view class="list-cell list-cell-arrow">
  24. <view class="menu-item">
  25. <view>官方邮箱</view>
  26. <view class="text-right">{{ email }}</view>
  27. </view>
  28. </view>
  29. <view class="list-cell list-cell-arrow">
  30. <view class="menu-item">
  31. <view>服务热线</view>
  32. <view class="text-right">{{ hotline }}</view>
  33. </view>
  34. </view>
  35. <view class="list-cell list-cell-arrow">
  36. <view class="menu-item">
  37. <view>公司网站</view>
  38. <view class="text-right">
  39. <uni-link :href="url" :text="url" showUnderLine="false"></uni-link>
  40. </view>
  41. </view>
  42. </view>
  43. </view>
  44. </view>
  45. <view class="copyright">
  46. <!-- <view>Copyright &copy; 2021 - 2025 Usky. All Rights Reserved. 永天股份 版权所有</view> -->
  47. <view>{{ copyright }}</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 { useStores, commonStores } 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. const copyright = ref(config.appInfo.copyright);
  63. onShow(() => {
  64. //调用系统主题颜色
  65. proxy.$settingStore.systemThemeColor([1]);
  66. });
  67. </script>
  68. <style lang="scss" scoped>
  69. .about-container {
  70. .copyright {
  71. margin-top: 50rpx;
  72. text-align: center;
  73. line-height: 60rpx;
  74. color: #999;
  75. }
  76. .oa-header-section {
  77. display: flex;
  78. padding: 30rpx 0 0;
  79. flex-direction: column;
  80. align-items: center;
  81. }
  82. }
  83. </style>