list.vue 2.3 KB
<template>
  <div class="change_list_container">
    <NafmHeader navClass="nafmii-head-bg3" :title="$t('memberservice.change')" />
    <main class="change_list_content">
      <section class="name list_item">
        <van-cell is-link to="/member/changeProgress">
          <div slot="title" class="item_info">
            <div class="item_icon"></div>
            <span>{{$t('mprogress.organizationName')}}</span>
          </div>
        </van-cell>
      </section>
      <section class="represent list_item">
        <van-cell is-link to="/member/changeProgress">
          <div class="item_info">
            <div class="item_icon"></div>
            <span>{{$t('mprogress.organizationRepresentive')}}</span>
          </div>
        </van-cell>
      </section>
      <section class="type list_item">
        <van-cell is-link to="/member/changeProgress">
          <div class="item_info">
            <div class="item_icon"></div>
            <span>{{$t('mprogress.membershipType')}}</span>
          </div>
        </van-cell>
      </section>
    </main>
  </div>
</template>
<script>
export default {
  name: "ChangeList",
  data() {
    return {

    }
  }
}
</script>
<style lang="less" scoped>
.change_list_container {
  padding: 15px;
  .list_item {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
    &.name {
      background-color: #e7efff;
      .item_icon {
        background: url("../../../../assets/icon/change_name.png") no-repeat;
      }
    }
    &.represent {
      background-color: #f8f1df;
      .item_icon {
        background: url("../../../../assets/icon/change_representive.png")
          no-repeat;
      }
    }
    &.type {
      background-color: #f8e8eb;
      .item_icon {
        background: url("../../../../assets/icon/change_membership.png")
          no-repeat;
      }
    }
    ::v-deep .van-cell {
      background-color: transparent;
    }
    ::v-deep .van-icon {
      height: 50px;
      line-height: 50px;
    }
    .item_info {
      line-height: 30px;
      padding: 10px 0;
      display: flex;
      align-items: center;
      color: #444444;
      font-size: 16px;
      .item_icon {
        width: 30px;
        height: 30px;
        background-size: contain;
        margin-right: 10px;
      }
      span {
        font-family: PingFangSC-Semibold;
      }
    }
  }
}
</style>