<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
  export default {
    name: 'App',
    data() {
      return {
        doctorInfo: {}
      }
    },
    methods: {
      goPage(path) {
        this.$router.push(path)
      },
      getData() {
        // this.$api.getAccountInfo().then(res=>{
        //   if(!res.data.code){
        //     if(res.data.data.role=="1"){
        //       this.goPage("/docindex")
        //     }else{
        //       this.goPage("/patindex")
        //     }
        //     localStorage.setItem("authinfo",JSON.stringify(res.data.data))
        //   }
        // })
      }
    },
    created() {
      this.getData()
    }
  }

</script>

<style lang="scss">
  #app {
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
  }

  .container {
    width: 100%;
    border: 1px solid #fff;
    height: 100vh;
    background: #EFEFEF;
    overflow-x: hidden;

    .content {
      width: 100%;
      /* border: 1px solid #fff; */
      margin: auto;
      /* height: 85%; */
      margin-top: 3rem;
      margin-bottom: 1rem;
      padding-bottom: 2rem;

      .title {
        font-size: 1.2rem;
        height: 1rem;
        padding: 1rem;
        font-weight: bold;
        color: #fff;
      }

      position: relative;
      z-index:10;
      overflow: scroll-y;

      .loginForm {
        width: 84%;
        margin: auto;
        margin-top: 6rem;

        .mint-field {
          border: 1px solid #ccc;
          border-radius: 50px;
          margin-top: 1rem;
          height: 3.2rem;
        }

        .mint-cell {
          min-height: 2.12rem;
        }
      }
    }
  }

  .csbtn {
    width: 70%;
    height: 3.5rem;
    line-height: 3.5rem;
    border-radius: 5px;
    margin: auto;
    /* margin-top: 20rem; */
    background: #0570F2;
    font-weight: bold;
    color: white;
    font-size: 1.4rem;
  }

  .jbbtn {
    width: 70%;
    height: 3.2rem;
    line-height: 3.2rem;
    border-radius: 5px;
    margin: auto;
    margin-top: 2rem;
    background-image: linear-gradient(to right, #23E0FD, #0173F0);
    font-weight: bold;
    color: white;
    font-size: 1.4rem;
  }

  .bgimg {
    width: 100%;
    height: 10rem;
    position: absolute;
    background-image: url("./assets/images/commonbg.png");
    background-size: 100% 100%;
  }

  .pickerConfirm {
    width: 100%;
    height: 40px;
    line-height: 40px;
    color: #26a2ff;
  }

  .sexPicker {
    position: fixed;
    width: 100%;
    z-index: 10;
    bottom: 0;
    background: #fff;
  }

  .searchInput {
    border-radius: 1rem;
  }

  .inputDisable input:disabled {
    background-color: #fff !important;
    color: red;
    opacity: 1;
    -webkit-text-fill-color: #000;
  }

  input:disabled::-webkit-input-placeholder,
  input:disabled::-webkit-input-placeholder {
    /* font-size: 14px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500; */
    color: #9f9f9f;
    -webkit-text-fill-color: #9f9f9f;
  }

  .inputDisable input:disabled {
    background-color: #fff !important;
    color: red;
    opacity: 1;
    -webkit-text-fill-color: #000;
  }

  .rowfont {
    font-size: 1rem;
    text-align: left;
    padding-left: 10px;
    line-height: 2rem;
    height: 2rem;
  }

  .picker-item {
    font-size: 14px !important;
  }

  .mint-msgbox {
    font-size: 24px;
  }

  .mint-msgbox-title {
    font-size: 24px;
  }

  .mint-msgbox-confirm {
    font-size: 24px;
  }

  .v-modal {
    height: 100vh !important;
  }

</style>
