<template>
<div class="panl">
  <span @click="dialogVisible=true">绑定</span>
  <el-dialog
    title="绑定微信"
    :visible.sync="dialogVisible"
    :before-close="handleClose">
    <div class="content">
      <div class="codeWx">微信二维码</div>
      <p>微信扫码绑定</p>
      <p>微信扫码登录</p>
    </div>
  </el-dialog>
</div>
  
</template>

<script>
export default {
  name: 'VxPanl',
  data() {
    return {
      dialogVisible: false
    };
  },
  computed:{
  },
  watch:{
  },
  methods: {
    handleClose() {
      this.dialogVisible = false
    },
    bindVx() {
      this.$refs.vxPanl.dialogVisible = true   
    },
  },
};
</script>

<style scoped>
  * {
    box-sizing: border-box;
  }
  /deep/ .el-dialog__title {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
  }
  .content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  /deep/.el-dialog {
    width: 360px;
    height: 418px;
    background: #FFFFFF;
  }
  .content .codeWx {
    width: 160px;
    height: 160px;
    border-radius: 0px 0px 0px 0px;
    border: 1px solid #707070;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    text-align: center;
    line-height: 160px;
    margin-bottom: 16px;
  }
  .content p:last-child {
    margin-top: 40px;
    display: block;
    position: relative;
    font-size: 14px;
    color: #333333;

  }
  .content p:last-child::after {
    display: block;
    content: '';
    width: 8px;
    height: 8px;
    background: #3874F6;
    position: absolute;
    left: -20px;
    bottom: 5px;
  }
  span {
    font-size: 14px;
    font-weight: 400;
    color: #3874F6;
    margin-left: 30px;
    cursor: pointer;
  }
</style>
