DdataeaseShufix: 样式优化
6b3f1a84创建于 4月17日历史提交
<template>
  <div class="img-option-prefix">
    <img draggable="false" :src="imgUrlTrans(url)" />
  </div>
</template>

<script setup lang="ts">
import { imgUrlTrans } from '@/utils/imgUtils'

withDefaults(
  defineProps<{
    url: any
  }>(),
  {}
)
</script>

<style scoped lang="less">
.img-option-prefix {
  width: 20px;
  height: 20px;
  display: flex;
  flex-direction: column;
  align-content: center;
  img {
    border-radius: 6px;
    width: 100%;
    height: 100%;
  }
}
</style>