<template>
  <div :class="config.classText.join(' ')">
    <img :src="config.url || require('@/assets/images/image_de.png')" :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>
div {
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

img{
  width: 100% !important;
  height: auto;
  display: block;
}
.active{
  border-color: #02ff9b;
}
</style>
