You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
700 B

  1. <template>
  2. <view class="main">
  3. <view class="logo">
  4. <image src="@/static/images/userCenter/minIcon (2).png" mode="widthFix"></image>
  5. </view>
  6. <view class="text">
  7. 版本号 {{version}}
  8. </view>
  9. </view>
  10. </template>
  11. <script >
  12. export default {
  13. data() {
  14. return {
  15. version: '1.0.0'
  16. }
  17. },
  18. onLoad() {
  19. // #ifdef APP-PLUS
  20. this.version = plus.runtime.version
  21. // #endif
  22. }
  23. }
  24. </script>
  25. <style lang="scss" scoped>
  26. .main {
  27. padding: 230rpx 0 0 0;
  28. .logo {
  29. display: flex;
  30. justify-content: center;
  31. image {
  32. display: block;
  33. width: 120rpx;
  34. }
  35. }
  36. .text {
  37. margin-top: 20rpx;
  38. font-size: 32rpx;
  39. color: #666;
  40. text-align: center;
  41. }
  42. }
  43. </style>