<template>
  <div class="share-page">
    <div class="share-block">
      <div class="bg-title" :style="{backgroundImage:`url('${shareBg}')`}">
      </div>
      <div class="bg-desc">
      </div>
      <div class="content" :style="{backgroundImage:`url('${shareConBg}')`}">
        <div class="main-content">
          <div class="head-block">
            <img src="http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTKY2qKktZffhlfqtXG1XcxFsGMm9Id63PnwhKH1p40ibDH2IGusbibnib4gg2RgUyLz21BsEzR7SyqDg/132"/>
          </div>
          <div class="content-title" :style="{backgroundImage:`url('${shareTitle}')`}">

          </div>
          <div>

          </div>
        </div>
        <div class="main-content-desc">

        </div>
      </div>
    </div>
  </div>
</template>

<script>
  import shareBg from '../../assets/newLesson/shareBg.png'
  import shareConBg from '../../assets/newLesson/shareConBg.png'
  import shareTitle from '../../assets/newLesson/shareTitle.png'
  export default {
    name: "share",
    data(){
      return {
        shareBg:shareBg,
        shareConBg:shareConBg,
        shareTitle:shareTitle
      }
    }
  }
</script>

<style scoped lang="less">
  @import "../../util/public";
  .share-page{
    position: absolute;
    background: #EEEEEE;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 10;
    .share-block{
      position: absolute;
      border-radius: 8*@toVw;
      top: 20*@toVw;
      left: 20*@toVw;
      right: 20*@toVw;
      bottom: 20*@toVw;
      .bg-title{
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 60*@toVw;
        background-size: 100% 100%;
        z-index: -1;
      }
      .bg-desc{
        position: absolute;
        top: 58*@toVw;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        z-index: -1;
        border-radius: 0 0 8*@toVw 8*@toVw;
      }
      .content{
        width: 291*@toVw;
        height: (422-53)*@toVw;
        padding-top: 53*@toVw;
        margin-top: 20*@toVw;
        background-size: 100% 100%;
      }
      .main-content{
        width: 261*@toVw;
        height: 263*@toVw;
        background: white;
        border-radius: 8*@toVw;
        position: relative;
        .head-block{
          position: absolute;
          height: 85*@toVw;
          width: 85*@toVw;
          text-align: center;
          border-radius: 200*@toVw;
          left: 50%;
          margin-left: -40*@toVw;
          background: white;
          top: -38*@toVw;
          img{
            border-radius: 200*@toVw;
            width: 64*@toVw;
            margin-top: 7*@toVw;
            height: 64*@toVw;
          }
        }
        .content-title{
          width: 225*@toVw;
          height: 54*@toVw;
          line-height: 50*@toVw;
          color: white;
          font-size: 20*@toVw;
          text-align: center;
          background-size: 100% 100%;
          position: absolute;
          top: 25*@toVw;
          left: 50%;
          margin-left: -112.5*@toVw;
        }
      }
      .main-content-desc{
        width: 261*@toVw;
        height: 82*@toVw;
        background: white;
        border-radius: 8*@toVw;
        margin-top: 10*@toVw;
      }
    }
  }
</style>
