system.vue 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <template>
  2. <page-meta :page-font-size="fontValue+'px'" :root-font-size="fontValue+'px'"></page-meta>
  3. <view>
  4. <cu-custom bgImage="/static/bg.png" :isBack="true">
  5. <template v-slot:content>
  6. <text class="text-black">系统信息</text>
  7. </template>
  8. </cu-custom>
  9. <view class="cu-list menu menu-margin">
  10. <view class="cu-item" >
  11. <view class="content">
  12. <text class="cuIcon-mail text-cyan"></text>
  13. <text class="text-grey">名称</text>
  14. </view>
  15. <view class="action text-grey">
  16. AI-IM
  17. </view>
  18. </view>
  19. <view class="cu-item" >
  20. <view class="content">
  21. <text class="cuIcon-home text-cyan"></text>
  22. <text class="text-grey">主机</text>
  23. </view>
  24. <view class="action text-grey">
  25. {{ host }}
  26. </view>
  27. </view>
  28. <view class="cu-item" >
  29. <view class="content">
  30. <text class="cuIcon-present text-cyan"></text>
  31. <text class="text-grey">版本</text>
  32. </view>
  33. <view class="action text-grey">
  34. {{ version }}
  35. </view>
  36. </view>
  37. </view>
  38. </view>
  39. </template>
  40. <script setup lang='ts'>
  41. import CuCustom from '@/colorui/components/cu-custom.vue'
  42. import packageJson from '@/package.json'
  43. import VimConfig from "@/config/VimConfig";
  44. import {ref} from "vue";
  45. import Auth from "@/api/Auth";
  46. const fontValue=ref(Auth.getfontSize());
  47. const version = packageJson.version
  48. const host = VimConfig.host
  49. </script>
  50. <style scoped>
  51. </style>