deming/pageC/components/merchant/image-top.vue

26 lines
410 B
Vue
Raw Normal View History

2020-07-06 09:10:34 +08:00
<template>
<view class="imageTop">
2020-08-06 17:52:25 +08:00
<image :src="url" mode="aspectFit"></image>
2020-07-06 09:10:34 +08:00
</view>
</template>
<style lang="scss" scoped>
.imageTop{
width: 100%;
height: 500rpx;
margin-bottom: 20rpx;
>image{
width: 100%;
height: 100%;
}
}
</style>
<script>
export default {
name:"imageTop",
data(){
return {
}
},
props:['url']
}
</script>