<template>
  <div style="display:inline;">
    <van-skeleton :row="5" :loading="skeLoad">
      <slot></slot>
    </van-skeleton>
  </div>
</template>

<script>
import Vue from "vue";
import { Skeleton } from "vant";
Vue.use(Skeleton);
export default {
  props: {
    skeLoad: {
      type: Boolean,
      default: false
    }
  },
  data() {
    return {};
  },
  components: {},
  watch: {},
  methods: {},
  created() {},
  mounted() {}
};
</script>

<style scoped lang="less">
/deep/ .van-skeleton__content {
// height: 100%;
  padding: 0.3rem 0;
  .van-skeleton__row {
    height: 0.7rem;
    margin: 1.2rem 0;
  }
}
</style>
