Account.vue 946 字节
<script setup>
import { ref } from 'vue';
    const active = ref(0);
</script>
<template>
    <div class="right">
      <div class="biti">
        账号管理
      </div>
      <div class="container">
        <van-tabs v-model:active="active">
  <van-tab title="基本信息" class="box">基本信息</van-tab>
  <van-tab title="我的头像" class="box">我的头像</van-tab>
  <van-tab title="密码管理" class="box">密码管理</van-tab>
</van-tabs>

      </div>
    </div>
</template>
  
<style lang="scss">
  .right{
    background-color: #e5e5e5;
    height: 100%;
    width: 100%;
    margin-top: 50px;
    .biti{
    font-weight: 800;
    font-size: 30px;
    margin:30px 0px 20px 40px;
  }
  .container{
    display: flex;
    flex-direction: row;
    margin: 40px;
    width: 50%;
    .box{
      width: 500px;
    }
    .van-tab{
      background-color: #e5e5e5;
    }
    .van-tabs__wrap {
    width: 60%;
}
  }
  
  }
</style>