<template>
  <div class="content mainPage">
    <div class="list" @click="toCustomizationList">
      <img :src="dz">
      <span>定制记录</span>
      <i class="iconfont icon-you"></i>
    </div>
  </div>
</template>

<script>
import dz from '@/common/icon/dz.jpg'
export default {
  data () {
    return {
      dz
    }
  },
  methods: {
    toCustomizationList () {
      this.$router.push({ name: 'customizationList' })
    }
  }
}
</script>

<style lang="scss" scoped>
.content {
  padding: 0 0 0 0.1rem;
  background: #fff;
  height: 100%;
  box-sizing: border-box;
  .list {
    width: 100%;
    height: 0.8rem;
    display: flex;
    align-items: center;
    padding: 0.05rem;
    box-sizing: border-box;
    border-bottom: 1px solid #f1f1f1;
    img {
      width: 0.88rem;
      height: 0.54rem;
      border-radius: 0.07rem;
      object-fit: cover;
    }
    span {
      flex: 1;
      padding-left: 0.1rem;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 0.14rem;
      color: #000;
    }
    i {
      color: #ddd;
      padding-right: 0.1rem;
    }
  }
}
</style>
