About.vue 1.99 KB
Newer Older
JingChao's avatar
JingChao committed
1
<template>
JingChao's avatar
JingChao committed
2 3
  <h-view class="public-style about" title="关于徐工金服">
    <h-header :proportion="[5,1,1]" class="bar-custom">
linxin's avatar
linxin committed
4
      <div slot="left" class="h-header-btn">
JingChao's avatar
JingChao committed
5 6
        <img src="@/assets/userBind/arrow.png" @click="$routeGo()">
        <span>关于徐工金服</span>
JingChao's avatar
JingChao committed
7 8 9 10 11
      </div>
    </h-header>
    <h-content>
      <div class="about-content">
        <img class="icon" src="@/assets/image/icon.png">
JingChao's avatar
JingChao committed
12
        <div class="version">徐工金服 v{{ currentVersion }}</div>
JingChao's avatar
JingChao committed
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
      </div>
      <list-item>
        <item :show-arrow="true" @click.native="userAgree">
          <div slot="name">用户协议</div>
        </item>
        <item :show-arrow="true" @click.native="privacyPolicy">
          <div slot="name">隐私政策</div>
        </item>
      </list-item>
    </h-content>
  </h-view>
</template>

<script>
export default {
  data () {
    return {
      currentVersion: process.env.currentVersion,
    }
  },
  methods: {
    userAgree () {
      this.$router.push({
        name: 'UserAgree',
      })
    },
    privacyPolicy () {
      this.$router.push({
        name: 'PrivacyPolicy',
      })
    },
  },
}
</script>

<style lang="less">
  .about {
    background-color: #f3f3f3;
    .content {
      .about-content {
        height: 170px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background-color: #fff;
        .icon{
          width: 60px;
          height: 60px;
          border-radius: 12px;
          box-shadow: 0 0.03rem 0.01rem -0.02rem rgba(0,0,0,.2), 0 0.02rem 0.02rem 0 rgba(0,0,0,.14), 0 0.01rem 0.05rem 0 rgba(0,0,0,.12);
        }
        .version{
          margin-top: 20px;
          font-size: 17px;
          color: #666;
          font-weight: 400;
        }
      }
      .hls-list-item{
        margin-top: 20px;
        .hls-item{
          .contents{
            .add-name{
              color: #666;
            }
          }
        }
      }
    }
  }
</style>