<template>
  <div class="customer">
    <div class="customer-title">请您选择服务内容</div>
    <div class="customer-line"></div>
    <div v-for="item in list" :key="item.key" class="customer-item">
      <div class="customer-item-img">
        <img :src="require(`@/assets/images/customer/${item.img}.png`) ">
      </div>
      <div class="customer-item-text">
        <div>{{item.title}}</div>
        <div>{{item.content}}</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'CustomerPage',
  data() {
    return {
      list: [{
        title: '在线客服',
        content: '追求卓越 尽善尽美',
        img: 'avator',
      },
      {
        title: 'VIP充值通道',
        content: '尊贵一对一  一触即发',
        img: 'avator',
      },
      {
        title: '投诉与建议',
        content: '邮箱：',
        img: 'avator',
      }]
    };
  },
  methods: {}
}
</script>

<style  lang="scss" scoped>
.customer {
  background: url("@/assets/images/index/bg.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  padding: 50px 0 50px;

  &-title {
    position: relative;
    color: white;
    text-align: center;
    font-size: 18px;
    background-color: #2730c9;
    width: 190px;
    margin: 0 auto;
    z-index: 1;
  }

  &-line {
    border-top: 1px solid white;
    width: 90%;
    margin: -12px auto 30px;
  }

  &-item {
    background: linear-gradient(176deg, #37BBFC 0%, #13A4FF 100%);
    box-shadow: 0px 2px 35px 0px rgba(5, 18, 100, 0.5);
    border-radius: 15px;
    width: 90%;
    height: 120px;
    margin: 0 auto 20px;
    color: white;
    font-family: PingFang SC, Arial;
    display: flex;
    align-items: center;
    &-img {
      width: 40%;
      text-align: center;
      img {
        width: 90px;;
      }
    }
    &-text {
      div:first-child {
        margin-bottom: 10px;
        font-size: 20px;
        font-weight: bold;
      }
    }
  }
}
</style>
