<template>
  <view class="pages-about flex al-item-center j-between">
    <view class="pages-about__hd flex al-item-center">
      <image
        class="pages-about__logo"
        :src="data.logo"
        mode="widthFix"
      ></image>
      <view class="pages-about__version">{{ data.version }}</view>
    </view>
    <view class="pages-about__ft">
      <view class="pages-about__copyright">{{ data.copyright }}</view>
    </view>
    <!-- 悬浮按钮 -->
    <drag-button></drag-button>
  </view>
</template>
<script>
var app = getApp();
export default {
  data() {
    return {
      data:{},
    };
  },
  onLoad() {
    // const accountInfo = uni.getAccountInfoSync();

    let that = this;
    app.get("ApiHome/getWebInfo", {},function(res) {
      that.data = res.data;
    });
  },
};
</script>
<style lang="scss">
.pages-about {
  height: 100vh;
  background: #ffffff;
  flex-direction: column;
  position: relative;
  &__hd {
    padding-top: 200rpx;
    flex-direction: column;
    color: #333333;
    text-align: center;
    font-size: 36rpx;
    line-height: 40rpx;
  }
  &__logo {
    width: 300rpx;
    height: 300rpx;
    margin-bottom: 30rpx;
  }
  &__ft {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #999999;
    text-align: center;
    padding: 65rpx 20rpx;
    font-size: 24rpx;
    line-height: 40rpx;
  }
}
</style>