aboutMy.vue 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <template>
  2. <view class="container">
  3. <navBar name="关于我们"></navBar>
  4. <view class="header_view flex-row flex-column">
  5. <image class="header_img" :src="app_logo" mode="aspectFit"></image>
  6. <view class="header_title">{{appName}}</view>
  7. <view class="version">{{"V " + app_version}}</view>
  8. </view>
  9. <view class="company-text-view">
  10. <view class=" company-text" style="margin-bottom:16rpx;">弗兰克公司 版权所有</view>
  11. <view class=" company-text">@2023 FULANKE Corporation,All Rights Reserved</view>
  12. </view>
  13. </view>
  14. </template>
  15. <script>
  16. var storage = require('../../common/storage.js');
  17. var appConfig = require('../../common/appConfig.js');
  18. export default {
  19. data() {
  20. return {
  21. app_logo: 'https://qiniu.bms16.com/FhOh-tx4b0fxr_kglD_zshsyi2_-',
  22. app_version: '',
  23. appName:''
  24. };
  25. },
  26. /**
  27. * 生命周期函数--监听页面加载
  28. */
  29. onLoad: function(options) {
  30. let getAppBaseInfo = uni.getAppBaseInfo()
  31. console.log(getAppBaseInfo)
  32. this.setData({
  33. // app_logo: appConfig.app_logo,
  34. app_version: getAppBaseInfo.appVersion || '',
  35. appName: getAppBaseInfo.appName || ''
  36. })
  37. },
  38. /**
  39. * 生命周期函数--监听页面显示
  40. */
  41. onShow: function() {
  42. },
  43. methods: {
  44. }
  45. };
  46. </script>
  47. <style>
  48. @import './aboutMy.css';
  49. </style>