copyright.vue 614 B

12345678910111213141516171819202122232425262728293031
  1. <template>
  2. <view>
  3. <view class="copyright">
  4. <view class="text">Powered by ShopXO {{version}}</view>
  5. </view>
  6. </view>
  7. </template>
  8. <script>
  9. const app = getApp();
  10. export default {
  11. data() {
  12. return {
  13. version: app.globalData.data.version
  14. };
  15. },
  16. components: {},
  17. props: {},
  18. methods: {}
  19. };
  20. </script>
  21. <style>
  22. .copyright {
  23. color: #cfcfcf;
  24. text-align: center;
  25. padding: 20rpx 0;
  26. }
  27. .copyright .text {
  28. font-size: 26rpx;
  29. font-weight: 400;
  30. }
  31. </style>