about.vue 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <template>
  2. <view>
  3. <uni-nav-bar
  4. fixed="true"
  5. statusBar="true"
  6. left-icon="back"
  7. @clickLeft="back"
  8. >
  9. <view class="title">关于{{ gstitle}}</view>
  10. </uni-nav-bar>
  11. <image class="zcc-img" mode="widthFix" src="../../../static/u3.png"></image>
  12. <view class="content">
  13. <view class="font-color"> 株洲硬质合金集团有限公司型材分公司 </view>
  14. <view class="font-grey p-desc">
  15. ZHUZHOU CEMENTEO CRRBIDE GAOUP CO .,LTD.
  16. </view>
  17. <view class="font-color p-v"> 版本号:{{ currentVersion }} </view>
  18. </view>
  19. <view class="content content-fixed">
  20. <view class="font-grey"> 版权所有© 2019-2021中赢合力 </view>
  21. <view class="font-grey"> 湘ICP备20015098号 </view>
  22. </view>
  23. </view>
  24. </template>
  25. <script>
  26. import { usName } from '@/api/common'
  27. export default {
  28. data () {
  29. return {
  30. currentVersion: '',
  31. gstitle: null,
  32. }
  33. },
  34. created () {
  35. this.getUsName()
  36. this.currentVersion = plus?.runtime.version
  37. },
  38. methods: {
  39. getUsName() {
  40. usName().then(res => {
  41. this.gstitle = res
  42. })
  43. },
  44. }
  45. }
  46. </script>
  47. <style lang="scss" scoped>
  48. .title {
  49. display: flex;
  50. font-size: 28rpx;
  51. justify-content: center;
  52. align-items: center;
  53. width: 100%;
  54. }
  55. .zcc-img {
  56. width: 232rpx;
  57. margin: 80rpx auto;
  58. display: block;
  59. }
  60. .content {
  61. text-align: center;
  62. view {
  63. margin: 2rpx 0;
  64. }
  65. .p-v {
  66. margin: 80rpx 0;
  67. font-size: $uni-font-size-base;
  68. }
  69. .p-desc {
  70. font-size: $uni-font-size-ssm;
  71. text-indent: 92rpx;
  72. }
  73. }
  74. .content-fixed {
  75. position: fixed;
  76. left: 0;
  77. right: 0;
  78. bottom: 60rpx;
  79. font-size: $uni-font-size-sm;
  80. }
  81. </style>