<template>
  <div class="context">
    <div class="ContextbBox">
      <span class="personnumber">NO.20000</span>
      <span class="votelist">投票列表</span>
      <img :src="AudioPlay">
      <div class="detailinformation">
        <div class="nameinformation">
          <span class="information">璐璐</span>
          <span class="information">姓名</span>
        </div>
        <span class="line"></span>
        <div class="nameinformation">
          <span class="informationnum">221800</span>
          <span class="information">当前票数</span>
        </div>
        <span class="line"></span>
        <div class="nameinformation">
          <span class="information">120名</span>
          <span class="information">排名</span>
        </div>
      </div>
    </div>
    <button class="votebtn">投TA一票</button>
    <div class="showorhide">
      <span class="dashedline"></span>
      <span class="writeword">寄语：加油！非常有爱的一个家庭，希望能抽中大奖！ 希望大家多多支持，多多投票～希望能抽中大奖！</span>
    </div>
  </div>
</template>
<script>
import AudioPlay from "../../images/audio_play.png";
export default {
  name: "votingdetails",
  data() {
    return {
      AudioPlay
    };
  }
};
</script>
<style lang="scss" scoped>
.context {
  width: 100%;
  height: 100%;
  background-color: rgba(220,229,236,1);;
  display: flex;
  flex-direction: column;
  align-items: center;

  .ContextbBox {
    width: 93.6%;
    height: 4.05rem;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 0.02rem;
    margin-top: 0.7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;

    .personnumber {
      position: absolute;
      top: 0;
      background-color:rgba(255,255,255,1);
      border-radius: 0 0 0.12rem 0.12rem;
      padding: 0.01rem 0.25rem;
      font-size: 0.18rem;
      font-family: PingFangSC-Medium;
      font-weight: 500;
      color:rgba(70,86,101,1);
      line-height: 0.25rem;
    }

    .votelist {
      position: absolute;
      top: 0.43rem;
      right: 0;
      background-color: rgba(84, 84, 84, 0.8);
      border-radius: 0.23rem 0 0 0.23rem;
      padding: 0.05rem 0.05rem 0.05rem 0.16rem;
      font-size: 0.18rem;
      font-family: PingFangSC-Medium;
      font-weight: 500;
      color: rgba(255, 255, 255, 1);
      line-height: 0.25rem;
    }

    img {
      width: 93%;
      height: 3.16rem;
      margin: 0.1rem 0;
    }
    .detailinformation {
      width: 82%;
      display: flex;
      flex-direction: row;
      justify-content: space-between;

      .line {
        width: 0.01rem;
        border: 1px solid rgba(166,184,201,1);
        background-color: rgba(166,184,201,1);
      }
      .nameinformation {
        display: flex;
        flex-direction: column;
        align-items: center;

        .information {
          font-size: 0.16rem;
          font-family: JQLaoSongJT;
          color:rgba(112,125,138,1);
          line-height: 0.28rem;
          font-weight: 400;
        }
        .informationnum {
          font-size: 0.24rem;
          font-family: JQLaoSongJT;
          color:rgba(112,125,138,1);
          line-height: 0.28rem;
        }
      }
    }
  }

  .votebtn {
    width: 59%;
    height: 0.42rem;
    background: rgba(166,184,201,1);
    border-radius: 0.23rem;
    font-size: 0.2rem;
    font-family: PingFangSC-Medium;
    font-weight: 500;
    color: rgba(255, 255, 255, 1);
    line-height: 0.28rem;
    border: none;
    margin-top: 0.18rem;
  }
  .showorhide {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 0.18rem;

    .dashedline {
      width: 100%;
      border-bottom: 1px dashed rgba(166,184,201,1);
      text-decoration: none;
    }
    .writeword {
      width: 90%;
      padding-top: 0.18rem;
      word-wrap: break-word;
      word-break: normal;
      font-size: 0.14rem;
      font-family: PingFangSC-Regular;
      font-weight: 400;
      color: rgba(77,87,97,1);
      line-height: 0.2rem;
    }
  }
}
</style>


