<template>
  <div :class="config.classText.join(' ')">
    <img :src="config.url || require('@/assets/images/default.jpg')" :style="config.style" />
  </div>
<!--  <img  src="@/assets/images/default.jpg" width="200" height="200" />-->
</template>

<script>
export default {
  name: "h5-image",
  props: {
    config: {
      type: Object,
      default: () => ({})
    }
  }
};
</script>
<style src="./css/base.css"></style>
<style lang="scss" scoped>
img{
  width: 100% !important;
}
.active{
  border-color: #02ff9b;
}
</style>
