初始化
This commit is contained in:
26
components/c-image/c-image.vue
Normal file
26
components/c-image/c-image.vue
Normal file
@@ -0,0 +1,26 @@
|
||||
<template>
|
||||
<u-image :src="src" :radius="radius" :width="width" :height="height" :fade="false"></u-image>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
src: {
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
width: {
|
||||
type: [String, Number],
|
||||
default: 80
|
||||
},
|
||||
height: {
|
||||
type: [String, Number],
|
||||
default: 80
|
||||
},
|
||||
radius: {
|
||||
type: [String, Number],
|
||||
default: 16
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user