index.vue 3.23 KB
<template>
  <div>
    <NafmHeader title="会籍服务" />
    <section class="member_basic">
      <van-cell>
        <h3 slot="title" class="title">{{memberInfo.name}}</h3>
        <div slot="label">
          <p>
            <span>
              社会统一信用代码:
            </span>
            <span class="info">
              {{memberInfo.shtyxydm}}
            </span>
          </p>
          <p>
            <span>
              会员状态:
            </span>
            <span class="info">
              {{memberInfo.status}}
            </span>
          </p>
          <p>
            <span>
              会员级别:
            </span>
            <span class="info">
              {{memberInfo.level}}
            </span>
          </p>
          <p>
            <span>
              会籍类别:
            </span>
            <span class="info">
              {{memberInfo.type}}
            </span>
          </p>
        </div>
      </van-cell>
      <van-cell is-link to="/member/memberDetail">
        <p slot="default" class="tip_more">
          <span class="warning_tip">
            提示:如需变更请登录会员系统办理
          </span>
          <span class="more">查看更多</span>
        </p>
      </van-cell>
    </section>
    <section class="member_opration">
      <div class="in">
        <van-cell is-link>
          <template #title>
            <span class="oper_title">入会</span>
          </template>
        </van-cell>
      </div>
      <div class="out">
        <van-cell is-link>
          <template #title>
            <span class="oper_title">退会</span>
          </template>
        </van-cell>
      </div>
      <div class="change">
        <van-cell is-link>
          <template #title>
            <span class="oper_title">变更</span>
          </template>
        </van-cell>
      </div>
    </section>
    <footer class="bottom_tip">
      提示:如联系人,通讯地址,注册地址,法人代表等变更,请登录会员系统办理
    </footer>
  </div>
</template>
<script>
export default {
  data() {
    return {
      memberInfo: {
        name: '山证国际证券有限公司',
        shtyxydm: 'HK344TZ00000000001',
        status: '欠费状态',
        level: '境外机构',
        type: '投资人'
      }
    }
  }
}
</script>
<style lang="less" scoped>
.van-cell {
  border-radius: 8px;
}
.member_basic {
  margin: 15px;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0px 2px 8px 2px rgba(0, 0, 0, 0.08);
  .title {
    font-weight: bold;
  }
  p {
    line-height: 30px;
    .info {
      color: #000000;
    }
  }
  .tip_more {
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    .warning_tip {
      color: #ea5c6d;
    }
    .more {
      color: #666666;
    }
  }
}
.member_opration {
  margin: 15px;
  .in {
    .van-cell {
      background-color: #e7efff;
    }
  }
  .out {
    .van-cell {
      background-color: #f8e8eb;
    }
  }
  .change {
    .van-cell {
      background-color: #f8f1df;
    }
  }
  .van-cell {
    margin-bottom: 10px;
  }
}
.bottom_tip {
  font-size: 12px;
  color: #999999;
  position: absolute;
  bottom: 83px;
  left: 0;
  right: 0;
  background: #f6f6f6;
  padding: 10px 15px;
}
</style>