app-info.vue 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <template>
  2. <view >
  3. <uni-nav-bar id="nav-bar" status-bar="true" @clickLeft="onBack()" title="" color="#000000" fixed="true" :border="false">
  4. <view slot="left">
  5. <view class=" flex align-center margin-left">
  6. <image class="p-left-arrow" src="../../../static/p-left-arrow.png"></image>
  7. </view>
  8. </view>
  9. <!-- <view slot="right">
  10. <view class=" flex align-center " style="margin-right: 10rpx;">
  11. <image style="width: 60rpx;height: 50rpx;" src="../../../static/devicesIconSimple/upgrade.png"></image>
  12. </view>
  13. </view> -->
  14. </uni-nav-bar>
  15. <view class="flex flex-direction justify-center align-center" style="height: 350px;">
  16. <view>
  17. <image style="width: 180px;height: 180px ;" src="../../../static/logo/logo.png"></image>
  18. </view>
  19. <view >哔蹦</view>
  20. <view v-if="version !=''" class="margin-sm">Version:{{version}}</view>
  21. <view v-if="version !=''" class="text-11px text-grey">{{showEndTime}}</view>
  22. <view class="margin-sm"></view>
  23. <button class="make-bg-bPurple text-white text-14px" @click="checkAppUpdata">检测更新</button>
  24. </view>
  25. </view>
  26. </template>
  27. <script>
  28. import {
  29. mapState,
  30. mapMutations
  31. } from 'vuex';
  32. export default {
  33. computed: mapState(['version','showEndTime']),
  34. data() {
  35. return {
  36. }
  37. },
  38. methods: {
  39. ...mapMutations(['checkAppUpdata']),
  40. onBack() {
  41. uni.navigateBack({
  42. delta: 1
  43. })
  44. }
  45. }
  46. }
  47. </script>
  48. <style>
  49. page{
  50. background-color: white;
  51. }
  52. </style>