<!--
 ****--@date 2024-06-07 09:50:45
 ****--@author yizhiyang
 ****--@description base img
-->

<template>
  <view class="base-img">
    <image :src="src" :mode="mode" :style="{ width, height, borderRadius }"></image>
  </view>
</template>

<script>
export default {
  name: 'base-img',
  props: {
    src: {
      type: String,
      default: '',
    },
    width: {
      type: String,
      default: '',
    },
    height: {
      type: String,
      default: '',
    },
    borderRadius: {
      type: String,
      default: '',
    },
    mode: {
      type: String,
      default: '',
    },
  },
};
</script>
