<template>
  <div class="prizePopMaskDiv" v-show="show">
    <div class="prizePopBox">
      <div style="">
        <div class="title">
          <div>拼团成员</div>
          <div>参与时间</div>
        </div>
        <div class="list">
          <div class="item" v-for="(item) in memberList">
            <div>{{ item.nickName }}</div>
            <div>{{ item.joinTime }}</div>
          </div>
        </div>
      </div>
      <div class="close-btn" @click="closeClick"></div>
    </div>
  </div>
</template>

<script>
import { pieceTogetherMemberListPopService } from '../../../util/hdzxtcomCreate.js';
import Vue from 'vue';
import { Notify, Toast } from 'vant';
import store from "../../../store/store";
import dateUtil from "../../../util/dateUtil";
Vue.use(Toast, Notify);
export default {
  props: [],
  components: {
  },
  data() {
    return {
    };
  },
  created() {
  },

  mounted() {
    document.querySelector('body').setAttribute('style', 'position:#fixed;top:0;height:100%;overflow:hidden');
    this.initData();
  },
  methods: {
    initData() {
      //

      console.log('memberList', this.memberList)
    },
    closeClick() {
      document.querySelector('body').removeAttribute('style');
      this.submit();

    },
  }
};
</script>

<style lang="scss" scoped="scoped">
.prizePopMaskDiv {
  width: 100%;
  height: 100%;
  background: rgba($color: #000000, $alpha: 0.7);
  position: fixed;
  top: 0;
  z-index: 201;
}

.title {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  color: #656464;
  font-size: 0.4rem;
  justify-content: space-between;
  margin-bottom: 0.2rem;
  padding: 0 1rem;
}

.list {
  width: 100%;
  height: 5rem;
  box-sizing: border-box;
  padding: 0 1rem;
  overflow-y: scroll;

  .item {
    color: #000;
    font-size: 0.3rem;
    margin-bottom: 0.2rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
}


.prizePopBox {
  position: absolute;
  top: 2.71rem;
  left: 50%;
  width: 6.91rem;
  height: 7.59rem;
  background: url("//img10.360buyimg.com/imgzone/jfs/t1/223763/10/28642/18000/64fa85ccF769d5eec/5defa8fcb059d1e9.png") no-repeat;
  background-size: 100% 100%;
  transform: translateX(-50%);
  padding-top: 1.62rem;
}

.close-btn {
  position: absolute;
  width: 0.45rem;
  height: 0.45rem;
  background: url("//img10.360buyimg.com/imgzone/jfs/t1/183690/31/37249/1097/64e2d8dcFb8273014/2bd869caeaf31168.png") no-repeat;
  background-size: 100% 100%;
  bottom: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
}
</style>


