<template>
  <div class="mobile-phone-box">
    <div class="inner">
      <div class="screen">
        <slot></slot>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'MobilePhone',
  data() {
    return {}
  }
}
</script>

<style lang="scss" scoped>
.mobile-phone-box {
  background: url('/pic/custom-center/mobile-picture@2x.png') no-repeat center;
  background-size: 100% 100%;
  display: inline-block;
  padding: 10px 10px 30px 10px;
  .inner {
    .screen {
      width: 375px;
      height: 667px;
      border: none;
      background-color: #fff;
      border-radius: 8px;
      overflow-x: hidden;
      overflow-y: auto;
      &::-webkit-scrollbar {
        width: 4px;
      }
      .header {
        position: relative;
      }
    }
  }
}
</style>
