<template>
 <div class="home">
  <h2 @click="back"><</h2>
  <p>支付</p>
   <span>¥100.00</span>
   <span class="span">高级会员费</span>
   <div class="nav">
     <div class="nav1"><img src="../assets/8.png" alt=""><h4>微信支付</h4><div class="b1"></div></div>
     <div class="nav2"><img src="../assets/9.png" alt=""><h4>支付宝支付</h4><div class="b2"></div></div>
   </div>
   <div class="footer">支付</div>
 </div>
</template>
<script>

export default {
  name: 'home',
  components: {

  },
  methods:{
     back () {
         this.$router.go(-1);
     }
  }
}
</script>
<style lang="scss" scoped>
  .home{
    width:100%;
    height:100%;
    background:#11A7FC;
    padding-top:10%;
    padding-left:5%;
     h2{
      font-size:.2rem;
      color:#fff;
      margin-bottom:.8rem;
      line-height:.3rem;
      float:left;
      }
      p{
        font-size:.2rem;
        color:#fff;
        // line-height:.2rem;
        text-align:center;
        margin-top:.7rem;
        display:block;
      }
      span{
        font-size:.4rem;
         color:#fff;
        line-height:.4rem;
        // margin-left:20%;
        margin-top:.3rem;
        text-align:center;
        // display:inline-block;
        display:block;

      }
      .span{
        font-size:.2rem;
        color:#fff;
        // line-height:.2rem;
        text-align:center;
        margin-top:.2rem;
        display:block;
      }
      .nav{
        width:94%;
        height:2rem;
        background:#fff;
        border-radius:0.2rem;
        margin-top:0.2rem;
        .nav1{
          width:100%;
          height:1.25rem;
          //  background:pink;
          img{
            margin-left:.45rem;
            line-height:1.25rem;
            margin-top:.5rem;
            float:left;
            width:.2rem;
            height:.2rem;
          }
          h4{
            font-size:.16rem;
            line-height:1.2rem;
            margin-left:.1rem;
            color:#000;
             float:left;
          }
          .b1{
            width:.15rem;
            height:.15rem;
            border:1px solid #ccc;
            border-radius:50%;
             margin-top:0.54rem;
             margin-left:1.6rem;
             float:left;
          }
        }
        .nav2{
          width:100%;
          height:1.25rem;
          // background:pink;
          img{
            margin-left:.45rem;
            line-height:1.25rem;
            // margin-top:.5rem;
            float:left;
            width:.2rem;
            height:.2rem;
          }
          h4{
            font-size:.16rem;
            // line-height:1.2rem;
            margin-left:.1rem;
            color:#000;
             float:left;
          }
          .b2{
            width:.15rem;
            height:.15rem;
            border:1px solid #ccc;
            border-radius:50%;
             margin-top:0.04rem;
            margin-left:1.45rem;
             float:left;

          }
        }

      }
      .footer{
        width:80%;
        height:.4rem;
        line-height:.4rem;
        color:#11A7FC;
        text-align:center;
        background:#fff;
        font-size:.2rem;
        border-radius:.2rem;
        margin-top:.5rem;margin-left:8%;
      }
  }
</style>