index.vue 4.27 KB
<template>
  <div class="login_result">
    <NafmHeader title="会籍服务" />
    <main class="result_content">
      <section class="member_basic">
        <van-cell class="bg_transparent">
          <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>
          <p slot="default" class="tip_more">
            <span class="warning_tip"> 提示:如需变更请登录会员系统办理 </span>
            <span class="more" @click="toOtherRouter('MemberDetail')">
              查看更多
              <van-icon :name="moreIcon" />
            </span>
          </p>
        </van-cell>
      </section>
      <section class="member_opration">
        <div class="in">
          <van-cell is-link :icon="joinIcon" @click="toOtherRouter('JoinProgress')">
            <template #title>
              <span class="oper_title">入会</span>
            </template>
          </van-cell>
        </div>
        <div class="out">
          <van-cell is-link :icon="quitIcon" @click="toOtherRouter('QuitProgress')">
            <template #title>
              <span class="oper_title">退会</span>
            </template>
          </van-cell>
        </div>
        <div class="change">
          <van-cell is-link :icon="changeIcon" @click="toOtherRouter('ChangeProgress')">
            <template #title>
              <span class="oper_title">变更</span>
            </template>
          </van-cell>
        </div>
      </section>
    </main>
    <footer class="bottom_tip">
      提示:如联系人,通讯地址,注册地址,法人代表等变更,请登录会员系统办理
    </footer>
  </div>
</template>
<script>
export default {
  name: 'MembrshipService',
  data() {
    return {
      memberInfo: {
        name: '山证国际证券有限公司',
        shtyxydm: 'HK344TZ00000000001',
        status: '欠费状态',
        level: '境外机构',
        type: '投资人'
      },
      joinIcon: require('@/assets/icon/join_member.png'),
      quitIcon: require('@/assets/icon/quit_member.png'),
      changeIcon: require('@/assets/icon/change_member.png'),
      moreIcon: require('@/assets/icon/icon_arrow_right.png')
    }
  },
  methods: {
    toOtherRouter(routerName) {
      this.$router.push({
        name: routerName
      })
    }
  }
}
</script>
<style lang="less" scoped>
.login_result {
  width: 100%;
  height: 100%;
  background: url("../../../assets/icon/bg_member.png") no-repeat;
  background-size: 100%;
  display: flex;
  flex-direction: column;
  .result_content {
    flex: 1;
  }
}
.van-cell {
  border-radius: 8px;
  background-color: transparent;
}
.member_basic {
  width: 396px;
  height: 231px;
  margin: 10px auto;
  border-radius: 8px;
  background: url("../../../assets/icon/bg_member_result.png") no-repeat;
  background-size: 100% 100%;
  .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;
      align-items: center;
    }
  }
}
.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;
    .van-cell__left-icon {
      font-size: 26px;
    }

    .oper_title {
      margin-left: 10px;
      font-size: 16px;
      color: #444444;
      font-family: PingFangSC-Semibold;
    }
  }
}
.bottom_tip {
  flex: 0;
  font-size: 12px;
  color: #999999;
  background: #f6f6f6;
  padding: 10px 15px;
}
</style>